Cover image
Try Now
2025-04-14

🚀由MCP提供动力的多流行AI聊天机器人客户端

3 years

Works with Finder

41

Github Watches

9

Github Forks

41

Github Stars

MCP Client Chatbot: Local-First AI Assistant App

English | 한국어

Local First MCP Supported

MCP Client Chatbot is a versatile chat interface that supports various AI model providers like OpenAI, Anthropic, Google, and Ollama. It is designed for instant execution in 100% local environments without complex configuration, enabling users to fully control computing resources on their personal computer or server.

Built with Vercel AI SDK and Next.js, this app adopts modern patterns for building AI chat interfaces. Leverage the power of Model Context Protocol (MCP) to seamlessly integrate external tools into your chat experience.

Our goal: Build an AI chatbot app that is optimized for personal use and easy for anyone to run.

Table of Contents


Demo

playwright-demo

Tool Integration Example: Demonstrates browser control using Microsoft's playwright-mcp.

Prompt Example: "Go to Reddit, open r/mcp, check the latest post and tell me what it's about — then close Reddit."

This project comes pre-configured with microsoft/playwright-mcp as a default MCP server. Try running the prompt above to see it in action!


mention

Quick Tool Access: Use the @ symbol in the message input to quickly select and call available MCP tools.


tool-test

Standalone Tool Testing: Test MCP tools independently of the chat flow for easier development and debugging.


prompt-input

Model & Tool Selection UI: Easily switch LLM providers and view tool status directly within the prompt input panel.


✨ Key Features

  • 💻 100% Local Execution: Run directly on your PC or server without complex deployment, fully utilizing and controlling your computing resources.
  • 🤖 Multiple AI Model Support: Flexibly switch between providers like OpenAI, Anthropic, Google AI, and Ollama.
  • 🛠️ Powerful MCP Integration: Seamlessly connect external tools (browser automation, database operations, etc.) into chat via Model Context Protocol.
  • 🚀 Standalone Tool Tester: Test and debug MCP tools separately from the main chat interface.
  • 💬 Intuitive Mentions: Trigger available tools with @ in the input field.
  • ⚙️ Easy Server Setup: Configure MCP connections via UI or .mcp-config.json file.
  • 📄 Markdown UI: Communicate in a clean, readable markdown-based interface.
  • 💾 Zero-Setup Local DB: Uses SQLite by default for local storage (PostgreSQL also supported).
  • 🧩 Custom MCP Server Support: Modify the built-in MCP server logic or create your own.

🚀 Getting Started

This project uses pnpm as the recommended package manager.

# 1. Install dependencies
pnpm i

# 2. Initialize project (creates .env, sets up DB)
pnpm initial

# 3. Start dev server
pnpm dev

Visit http://localhost:3000 after starting the server.


Environment Variables

The pnpm initial command generates a .env file. Add your API keys there:

GOOGLE_GENERATIVE_AI_API_KEY=****
OPENAI_API_KEY=****
# ANTHROPIC_API_KEY=****

SQLite is the default DB (db.sqlite). To use PostgreSQL, set USE_FILE_SYSTEM_DB=false and define DATABASE_URL in .env.


MCP Server Setup

You can connect MCP tools via:

  1. UI Setup: Go to http://localhost:3000/mcp and configure through the interface.
  2. Direct File Edit: Modify .mcp-config.json in project root.
  3. Custom Logic: Edit ./custom-mcp-server/index.ts to implement your own logic.

mcp-config


💡 Use Cases


🗺️ Roadmap: Upcoming Features

We're making MCP Client Chatbot even more powerful with these planned features:

  • 🎨 Canvas Mode: Real-time editing interface for LLM + user collaboration (e.g. code, blogs).
  • 🧩 LLM UI Generation: Let LLMs render charts, tables, forms dynamically.
  • 📜 Rule Engine: Persistent system prompt/rules across the session.
  • 🖼️ Image & File Uploads: Multimodal interaction via uploads and image generation.
  • 🐙 GitHub Mounting: Mount local GitHub repos to ask questions and work on code.
  • 📚 RAG Agent: Retrieval-Augmented Generation using your own documents.
  • 🧠 Planning Agent: Smarter agent that plans and executes complex tasks.
  • 🧑‍💻 Agent Builder: Tool to create custom AI agents for specific goals.

👉 See full roadmap in ROADMAP.md


🙌 Contributing

We welcome all contributions! Bug reports, feature ideas, code improvements — everything helps us build the best local AI assistant.

Let’s build it together 🚀

相关推荐

  • av
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

  • 1Panel-dev
  • 🔥1Panel提供了直观的Web接口和MCP服务器,用于在Linux服务器上管理网站,文件,容器,数据库和LLMS。

  • rulego
  • ⛓️Rulego是一种轻巧,高性能,嵌入式,下一代组件编排规则引擎框架。

  • WangRongsheng
  • 🧑‍🚀 llm 资料总结(数据处理、模型训练、模型部署、 o1 模型、mcp 、小语言模型、视觉语言模型)|摘要世界上最好的LLM资源。

  • hkr04
  • 轻巧的C ++ MCP(模型上下文协议)SDK

  • sigoden
  • 使用普通的bash/javascript/python函数轻松创建LLM工具和代理。

  • RockChinQ
  • 😎简单易用、🧩丰富生态 -大模型原生即时通信机器人平台| 适配QQ / 微信(企业微信、个人微信) /飞书 /钉钉 / discord / telegram / slack等平台| 支持chatgpt,deepseek,dify,claude,基于LLM的即时消息机器人平台,支持Discord,Telegram,微信,Lark,Dingtalk,QQ,Slack

  • dmayboroda
  • 带有可配置容器的本地对话抹布

  • modelscope
  • 开始以更轻松的方式开始构建具有LLM授权的多代理应用程序。

  • paulwing
  • 使用MCP服务创建的测试存储库

    Reviews

    2.8 (8)
    Avatar
    user_DReZuCPW
    2025-04-23

    As a devoted user of the mcp-client-chatbot, I am extremely satisfied with its performance and features. Developed by cgoinglove, this chatbot seamlessly integrates into my workflow, providing efficient and accurate responses in multiple languages. The intuitive URL setup and welcoming interface make it user-friendly from the start. Highly recommended for anyone seeking a reliable chatbot solution!

    Avatar
    user_u1SHj3EY
    2025-04-23

    As a loyal user of the mcp-client-chatbot by cgoinglove, I must say this product excels in enhancing client interactions efficiently. Its intuitive interface and reliable performance have transformed the way I communicate with clients. Highly recommend for anyone looking to streamline their client interface!

    Avatar
    user_b3OCHLqE
    2025-04-23

    I've been using the mcp-client-chatbot by cgoinglove and it's an incredibly efficient tool. The ease of deployment and intuitive interface make it perfect for quick integrations. The responsiveness and accuracy of the chatbot have drastically improved my user engagement. Highly recommend it for those seeking a reliable and user-friendly chatbot solution!

    Avatar
    user_rqiPsx7g
    2025-04-23

    As a devoted user of the mcp-client-chatbot, I must say it has transformed my communication experience. Created by cgoinglove, this chatbot is incredibly intuitive and versatile. Its seamless integration and user-friendly interface make conversations effortless and enjoyable. Highly recommended for anyone looking to enhance their interaction capabilities!

    Avatar
    user_xMV1Wurt
    2025-04-23

    As a dedicated user of the mcp-client-chatbot, I must say it truly enhances my online communication experience. The seamless interaction and user-friendly interface by cgoinglove make it an outstanding tool for anyone looking to improve their chat functionalities. Whether for personal use or business purposes, this chatbot covers all bases efficiently. Highly recommended!

    Avatar
    user_mFvP211o
    2025-04-23

    As a loyal user of mcp-client-chatbot by cgoinglove, I am thoroughly impressed by its exceptional performance and seamless user experience. This intuitive chatbot enhances communication efficiency and provides prompt, accurate responses. It has become an indispensable tool for managing client interactions effectively. Highly recommended to anyone looking to optimize their client communication processes!

    Avatar
    user_f9MInsMn
    2025-04-23

    As a loyal user of mcp-client-chatbot, I am continually impressed with its seamless performance and user-friendly interface. Developed by cgoinglove, this tool effortlessly integrates into my daily workflow, making communication efficient and effective. The welcoming message is inviting, and navigating the start URL is straightforward. Highly recommended for anyone seeking a reliable chatbot solution.

    Avatar
    user_SM4WhD7f
    2025-04-23

    The mcp-client-chatbot by cgoinglove is a fantastic tool for streamlining communication. Its intuitive design and user-friendly interface make it easy to integrate and use. Whether you need assistance with customer service or internal team collaboration, this chatbot has you covered. Highly recommended for anyone looking to enhance their chat capabilities!