Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Official MCP server for Flowbite that gives AI assistants access to Tailwind CSS components, theme generation, and Figma-to-code conversion.
Flowbite MCP is an official Model Context Protocol (MCP) server built by the Flowbite team (themesberg) that lets AI assistants like Claude, Cursor, and Windsurf read Flowbite's Tailwind CSS component library and generate UI code directly in their own interface. It exposes 60+ component resources, a theme generator that produces custom Tailwind theme configurations from any hex color, and a Figma-to-code tool that converts Figma node URLs into working code. The server runs on Node.js, is distributed on npm as flowbite-mcp, and supports both stdio and HTTP transports with a Docker setup for production.
Flowbite MCP is an open-source MCP server that connects MCP-capable AI clients to the Flowbite component library. Its core function is giving an AI assistant access to component documentation and code snippets so it can generate Tailwind CSS UI without browsing the Flowbite website. It takes a request from the assistant (for example, create a navbar) or a Figma node URL as input, and produces the corresponding component markup or themed CSS as output. The project is written in TypeScript, licensed under MIT, and maintained under the themesberg GitHub organization.
Installation is one command: npx flowbite-mcp. After adding the server to your MCP client's config file (such as claude_desktop_config.json), the client connects via stdio by default; for HTTP mode run node build/index.js --mode http --port 3000 to serve at http://localhost:3000/mcp. The only required environment variable is FIGMA_ACCESS_TOKEN, and it is needed only when Figma-to-code is enabled.
The server is open source under the MIT license and published as an npm package. The repository page lists no paid tiers, and the Flowbite component library offers free components.
Only for the Figma-to-code tool. Every other feature — reading the 60+ component resources and the theme generator — works without credentials. The Figma tool needs a personal access token set as FIGMA_ACCESS_TOKEN.
The repository includes configuration examples for Claude Desktop, Cursor, Windsurf, and Glama.ai. Any MCP client that can run an npx command or connect to a Streamable HTTP endpoint can use it.
It exposes component-level resources, so it generates individual UI elements rather than complete multi-page layouts. To build a full page, you combine several component requests within the same conversation.
