
Flowbite Mcp
io.github.themesberg由 GitHub 帳號 themesberg 發布v1.1.3更新於 Oct 24, 2026
MCP server to convert Figma designs to Flowbite UI components in Tailwind CSS
概覽
Flowbite 官方 MCP 伺服器,讓助理存取 Flowbite 的 Tailwind CSS 元件文件、產生品牌主題,並把 Figma 設計轉成程式碼。
- 可以做什麼
- 查詢 Flowbite 的 UI 元件、表單、排版與外掛文件資源
- 依任意品牌十六進位色碼產生自訂主題檔
- 把 Figma 節點連結轉換為 Flowbite 元件程式碼
- 以 stdio 在本機執行,或以 HTTP 模式搭配 Docker 與健康檢查部署
- 適用情境
- 適合在使用 Flowbite 建置 Tailwind CSS 介面時,讓助理取得正確的元件程式碼與文件、產生品牌主題,或把 Figma 設計稿轉成程式碼。
- 執行需求
- 透過 npx 或 Node.js 在本機執行(npm 套件 flowbite-mcp),通常在 Claude Desktop、Cursor、Windsurf 等用戶端設定。Figma 轉程式碼工具需要 Figma 個人存取權杖,透過環境變數 FIGMA_ACCESS_TOKEN 提供。HTTP 模式可選用 MCP_TRANSPORT_MODE、MCP_PORT、MCP_HOST 與 MCP_CORS_ORIGINS。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Flowbite Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
[Flowbite - Tailwind CSS components]
Official MCP server for Flowbite to leverage AI for UI creation and theme generation
[Discord] [Total Downloads] [Latest Release] [License]
An MCP server that enables AI assistants to access the Flowbite library of Tailwind CSS components—including UI elements, forms, typography, and plugins—while offering an intelligent theme generator for creating custom branded designs within AI-driven development environments.
MCP Features
Tools:
- 🎨 [NEW] Figma to code - Copy the Figma node url and generate code (video demo)
- 🎯 Theme file generator - Create custom branded themes from any branded hex color
Resources:
- 📦 60+ UI components - Complete access to the Flowbite UI components
Server:
- 🌐 Dual transport support - Standard I/O (stdio) for CLI or HTTP Streamable for server deployments
- ⚡ Production ready - Docker support with health checks and monitoring
Quickstart
Using NPX
The simplest way to use Flowbite MCP Server:
Environment variables
Currently you only need the Figma personal access token if you want to enable the Figma to code generation tool.
You set this variable in your MCP client configuration file.
Integration examples
Use the following configuration examples to install the Flowbite MCP server in popular clients such as Cursor, Claude, Windsurf, and others.
Claude desktop
Update the claude_desktop_config.json file and add the following configuration:
Cursor editor
Update the mcp.json file and add the following configuration:
Windsurf editor
Update the mcp_config.json file and add the following configuration:
Glama.ai
[圖片]Local Transport Modes
Standard I/O (stdio)
The default mode for local development and CLI integrations:
Learn how to get the Figma personal access token to enable the Figma to code generation tool.
HTTP server
HTTP-based transport for production and multi-client scenarios:
This will make the MCP server available at 'http://localhost:3000/mcp'.
Local development
Production deployment (HTTP Mode)
For production servers with multiple clients:
Hosting variables
Configure the server behavior with these environment variables:
Docker Configuration
The project includes a production-ready Docker setup with multi-stage builds for optimal performance.
Quickstart with Docker
MCP inspector
Use the MCP Inspector for interactive debugging:
Logging
Check server logs for detailed information:
File structure
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
License
This project is licensed under the MIT License License - see the LICENSE file for details.
Credits
- Flowbite - For the amazing Tailwind CSS component library
- Anthropic - For the Model Context Protocol specification
- Tailwind CSS - For the utility-first CSS framework
Resources
- 🎨 Flowbite Documentation
- 📦 Flowbite Components
- 🌐 Model Context Protocol
- 🚀 Tailwind CSS v4 Docs
- 💬 GitHub Issues
Roadmap
- Complete component resource access
- AI-powered theme generator
- Dual transport support (stdio + HTTP)
- Flowbite Pro blocks integration (with license authentication)
- Figma to code conversion tool
- Enhanced theme customization options
- Component search and filtering
- Real-time component preview generation
來源:README.md,提交 576676e
工具
0版本歷史
1- v1.1.3最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分