Logo MCP UI by Flowbite

MCP UI by Flowbite

Tổ chức
themesberg

MCP UI components to build MCP apps for Claude, ChatGPT, Gemini based on Flowbite and Skybridge

Nhà phát hànhthemesberg
Kho mãmcp-ui-components
Ngôn ngữTypeScript
Bản fork
4
Sao
15
Công cụ có sẵn
0
Phương thức truyền tảistreamable-http
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    MCP UI by Flowbite cung cấp các chức năng MCP cho các ứng dụng khách AI và tác nhân AI tương thích.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Mẫu cấu hình có thể sao chép ngay

    Dùng các đoạn cấu hình mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Mức độ quan tâm của cộng đồng đến kho mã

    15 sao và 4 bản fork từ kho mã được liên kết.

MCP UI by Flowbite

Build apps for ChatGPT, Gemini, Claude and any MCP clients (Cursor, Windsurf)

This is an open-source library of UI components, widgets and examples that you can use to build MCP apps that can work as ChatGPT apps, Gemini apps, Claude apps, and any other MCP client like Cursor or Windsurf. The examples include basic text components, radio, checkbox selection prompts, charts, e-commerce examples, qr code generation, tables, and more.

The components are based on the Flowbite UI framework and the SkyBridge framework for building MCP apps.

https://github.com/user-attachments/assets/ae139fb3-a2ec-436b-b4a6-9b25064918cd

MCP UI components

This is the full list of open-source components and widgets available:

  • Basic text
  • Radio group
  • Checkbox group
  • Line chart
  • E-commerce products
  • QR code
  • Table data

Getting Started

To start developing locally, you need to have Node and Ngrok installed.

Prerequisites

  • Node.js 24+
  • HTTP tunnel such as ngrok

Local Development

Getting started locally is as easy as running the install command with your favourite package manager.

1. Install the local packages:

bash
npm install

You can also use bun, pnpm or yarn.

2. Start a local server by running the following command:

bash
npm run dev

This command starts an Express server on port 3000. This server packages:

  • an MCP endpoint on /mcp (the app backend)
  • a React application on Vite HMR dev server (the UI elements to be displayed in the host)
  • a set of widget examples built with Flowbite UI components

3. Create a connector with Ngrok

Using Ngrok you need to create an accessible connector:

bash
ngrok http 3000

This will create a NGROK_FORWARDING_URL like this:

https://3785c5ddc4b6.ngrok-free.app/mcp

Note: make sure you add the /mcp folder to the URL when registering an app.

4. Connect to AI clients like ChatGPT, Gemini, and Claude

Check out the following guides to learn how to integrate with each AI client:

  1. Navigate to Settings > Connectors
  2. Scroll down and click on Advanced Settings
  3. Enable Developer mode
  4. Go back to the Settings > Connectors page, and click on Create in the Browser Connectors section
  5. Add a custom connector with the MCP Server URL: [NGROK_FORWARDING_URL]/mcp
  6. Click on Create to add the MCP server as a Connector
  7. To use your newly created connector in the chat, click + then More and select it.
  1. Navigate to Settings > Connectors
  2. Locate the Connectors section
  3. Click Add custom connector at the bottom of the section
  4. Add your connector's remote MCP server URL: [NGROK_FORWARDING_URL]/mcp
  5. Finish configuring your connector and click Add
  6. To enable connectors, use the Search and tools button on the lower left of the chat.

Option 1 — Configure via the Gemini CLI

Run the following command in your terminal:

bash
gemini mcp add --transport http <server-name> "[NGROK_FORWARDING_URL]/mcp"

Use /mcp in the Gemini CLI terminal to view your recently added MCP server status and discovered tools.

Option 2 — Configure via settings.json directly

MCP servers used by Gemini CLI are configured in settings.json. More details here.

  1. Open ~/.gemini/settings.json (user) or .gemini/settings.json (project).
  2. Add your server under mcpServers:
json
{
  "mcpServers": {
    "<server-name>": {
      "httpUrl": "[NGROK_FORWARDING_URL]/mcp"
    }
  }
}
  1. Restart the Gemini CLI (or start a new session), then run /mcp to confirm it's connected.

Cursor stores MCP servers configuration through a mcp.json file. More details here.

  1. Open (or create) your mcp.json file.
  2. Add this MCP server right under mcpServers:
json
{
  "mcpServers": {
    "<server-name>": {
      "type": "http",
      "url": "[NGROK_FORWARDING_URL]/mcp"
    }
  }
}
  1. Once saved, Cursor Agent automatically uses this MCP server tools when relevant.

VS Code stores MCP servers configuration in a mcp.json file. More details here.

  1. Open (or create) your .vscode/mcp.json file.
  2. Add this MCP server under servers:
json
{
  "servers": {
    "<server-name>": {
      "type": "http",
      "url": "[NGROK_FORWARDING_URL]/mcp"
    }
  }
}
  1. Once you have added the MCP server, you can use its tools in the Chat view (⌃⌘I).

MCP servers added to Claude Code are stored in ~/.claude.json. More details here.

To install this MCP server, run the following command in your terminal:

bash
claude mcp add --transport http <server-name> "[NGROK_FORWARDING_URL]/mcp"

In the Claude Code terminal UI, use /mcp to view actively connected MCP servers. You should see your recently connected MCP server and can use it right away.

  1. Open the side panel and expand Intelligence > Connectors
  2. Click + Add Connector on the right side of the page
  3. In the MCP Connectors directory, click the Custom MCP Connector tab
  4. Enter a Connector Name and the following Connector Server URL: [NGROK_FORWARDING_URL]/mcp
  5. Finish configuring your connector and click Create
  6. To use the connector, click the Tools button below the chat input and enable it in the Connectors section.

MCP configuration for Codex is stored in ~/.codex/config.toml and is shared between the CLI and the IDE extension.

Option 1 — Configure via the Codex CLI

Run the following command in your terminal:

bash
codex mcp add <server-name> --url "[NGROK_FORWARDING_URL]/mcp"

Option 2 — Modify the Codex config file directly

  1. Open ~/.codex/config.toml.
  2. Add the following snippet to your config.toml file:
toml
[mcp_servers."<server-name>"]
url = "[NGROK_FORWARDING_URL]/mcp"

In the Codex terminal UI, use /mcp to view actively connected MCP servers. You should see your recently connected MCP server and can use it right away.

Theming

Flowbite theming allows you to update the appearance of the UI components by updating the index.css styles.

Here are a couple of predefined styles (default, minimal, enterprise, playful, and mono) from Flowbite:

css
/* choose one of the following */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
@import "flowbite/src/themes/default";

/* MINIMAL THEME
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import "flowbite/src/themes/minimal";
*/

/* ENTERPRISE THEME
@import url('https://fonts.googleapis.com/css2?family=Shantell+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import "flowbite/src/themes/enterprise";
*/

/* PLAYFUL THEME
@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Code:ital,wght@0,300..800;1,300..800&display=swap');
@import "flowbite/src/themes/playful";
*/

/* MONO THEME
@import "flowbite/src/themes/mono";
*/

Resources

Cài đặt

TypingMind
Yêu cầu:

Node.js 18+

{
  "mcpServers": {
    "themesberg-mcp-ui-starter": {
      "command": "",
      "args": []
    }
  }
}

Dùng MCP MCP UI by Flowbite với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối MCP UI by Flowbite, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. Trong TypingMind, MCP này kết nối qua URL của máy chủ MCP từ xa.

Thêm URL máy chủ MCP

Dùng cách này khi MCP UI by Flowbite đã chạy trên máy chủ từ xa hoặc nhóm của bạn muốn có một trình kết nối dùng chung cho nhiều người dùng.

1

Mở mục Trình kết nối MCP

Trong TypingMind, vào Plugin, mở mục Trình kết nối MCP, rồi chọn Thêm URL.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Vào mục Plugin.
  3. Mở mục Trình kết nối MCP.
  4. Nhấp vào Thêm URL.
Biểu mẫu Thêm URL máy chủ MCP tùy chỉnh của TypingMind
2

Dán URL máy chủ

Nhập URL máy chủ của bạn vào trường URL máy chủ. Thêm tên kết nối, mô tả, biểu tượng, header HTTP tùy chỉnh hoặc cài đặt ứng dụng khách OAuth nếu máy chủ yêu cầu.

  1. Dán URL máy chủ của bạn vào trường URL máy chủ.
  2. Nhập tên kết nối cho MCP UI by Flowbite.
  3. Thêm mô tả và biểu tượng nếu bạn muốn dễ nhận biết kết nối hơn.
  4. Thêm header HTTP tùy chỉnh hoặc thông tin ứng dụng khách OAuth nếu máy chủ yêu cầu xác thực.
3

Tạo kết nối

Nhấp vào Tạo kết nối, sau đó quay lại danh sách Plugin và xác nhận kết nối MCP mới đang hoạt động.

  1. Nhấp vào Tạo kết nối.
  2. Quay lại danh sách trình kết nối MCP.
  3. Xác nhận kết nối MCP UI by Flowbite hiển thị trạng thái đang hoạt động.
  4. Làm mới danh sách plugin nếu kết nối chưa xuất hiện ngay.
4

Đổi mô hình mà không cần kết nối lại

Bắt đầu cuộc trò chuyện với mô hình bạn thích, bật các công cụ của MCP UI by Flowbite trong mục Plugin và chuyển sang mô hình khác khi cần. Kết nối MCP vẫn sẵn dùng trong không gian làm việc TypingMind.

  1. Bắt đầu cuộc trò chuyện mới trong TypingMind.
  2. Chọn mô hình AI bạn muốn dùng.
  3. Bật các công cụ của MCP UI by Flowbite trong mục Plugin.
  4. Yêu cầu mô hình dùng công cụ khi cần.
  5. Chuyển sang mô hình AI khác và tiếp tục dùng kết nối MCP hiện có.
Cuộc trò chuyện trên TypingMind dùng các công cụ MCP đã bật với mô hình AI đã chọn
Bạn có thể dùng MCP UI by Flowbite giúp tôi làm việc này không?
MCP UI by Flowbite
Được. Tôi đọc rồi.
Đây là kết quả tôi tìm được bằng MCP UI by Flowbite.

Câu hỏi thường gặp

Máy chủ MCP MCP UI by Flowbite dùng để làm gì?

MCP UI by Flowbite là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP MCP UI by Flowbite với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng MCP UI by Flowbite với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP MCP UI by Flowbite với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối MCP UI by Flowbite, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP MCP UI by Flowbite với TypingMind?

Bạn có thể kết nối MCP UI by Flowbite trong TypingMind bằng cách thêm URL của máy chủ MCP từ xa này. Cách này hữu ích khi bạn muốn dùng kết nối MCP từ xa ngay trong không gian làm việc TypingMind.

MCP MCP UI by Flowbite cung cấp những công cụ nào trong TypingMind?

MCP UI by Flowbite cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP MCP UI by Flowbite không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu MCP UI by Flowbite yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇