8000 GitHub - cgoinglove/mcp-client-chatbot: πŸš€ Open source MCP Client: A Multi-provider AI Chatbot Solution
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

πŸš€ Open source MCP Client: A Multi-provider AI Chatbot Solution

License

Notifications You must be signed in to change notification settings

cgoinglove/mcp-client-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

MCP Client Chatbot

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.

🌟 Open Source Project MCP Client Chatbot is a 100% community-driven open source project.

Table of Contents


Demo

Here are some quick examples of how you can use MCP Client Chatbot:


🧩 Browser Automation with Playwright MCP

playwright-demo

Example: Control a web browser using Microsoft's playwright-mcp tool.

Sample prompt:

Please go to GitHub and visit the cgoinglove profile.
Open the mcp-client-chatbot project.
Then, click on the README.md file.
After that, close the browser.
Finally, tell me how to install the package.

⚑️ Quick Tool Mentions (@)

mention

Quickly call any registered MCP tool during chat by typing @toolname.
No need to memorize β€” just type @ and pick from the list!

You can also control how tools are used with the new Tool Choice Mode:

  • Auto: Tools are automatically called by the model when needed.
  • Manual: The model will ask for your permission before calling any tool.
  • None: Disables all tool usage.

Toggle modes anytime with the shortcut ⌘P.


πŸ”Œ Adding MCP Servers Easily

mcp-server-install

Add new MCP servers easily through the UI, and start using new tools without restarting the app.


πŸ› οΈ Standalone Tool Testing

tool-test

MCP tools independently from chat sessions for easier development and debugging.

πŸ“Š Built-in Chart Tools

May-04-2025 01-55-04

Visualize chatbot responses as pie, bar, or line charts using the built-in tool β€” perfect for quick data insight during conversations.


✨ 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 + Tool Control: Trigger tools with @, and control when they're used via Auto / Manual / None modes.
  • βš™οΈ 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.
  • πŸ“Š Built-in Chart Tools: Generate pie, bar, and line charts directly in chat with natural prompts.

πŸš€ 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

Open http://localhost:3000 in your browser to get started.


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 POSTGRES_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.

πŸ’‘ Tips & Guides

Here are some practical tips and guides for using MCP Client Chatbot:


πŸ—ΊοΈ Roadmap: Next Features

MCP Client Chatbot is evolving with these upcoming features:

πŸš€ Deployment & Hosting

  • Self Hosting:
    • Easy deployment with Docker Compose
    • Vercel deployment support (MCP Server: SSE only)

πŸ—£οΈ Audio & Real-Time Chat

  • Open Audio Real-Time Chat:
    • Real-time voice chat with MCP Server integration

πŸ“Ž File & Image

  • File Attach & Image Generation:
    • File upload and image generation
    • Multimodal conversation support

πŸ”„ MCP Workflow

  • MCP Flow:
    • Workflow automation with MCP Server integration

πŸ› οΈ Built-in Tools & UX

  • Default Tools for Chatbot:
    • Collaborative document editing (like OpenAI Canvas: user & assistant co-editing)
    • RAG (Retrieval-Augmented Generation)
    • Useful built-in tools for chatbot UX (usable without MCP)

πŸ’» LLM Code Write (with Daytona)

  • LLM-powered code writing and editing using Daytona integration
    • Seamless LLM-powered code writing, editing, and execution in a cloud development environment via Daytona integration. Instantly generate, modify, and run code with AI assistanceβ€”no local setup required.

πŸ’‘ If you have suggestions or need specific features, please create an issue!


πŸ™Œ 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 πŸš€

0