{"repo":"keli-wen/mcp_chatbot","free":true,"listed":false,"github":"https://github.com/keli-wen/mcp_chatbot","clone":"git clone https://github.com/keli-wen/mcp_chatbot.git","description":"A chatbot implementation compatible with MCP (terminal / streamlit supported)","language":"Python","stars":252,"topics":["chatbot","mcp","mcp-host","python","streamlit","mcp-server"],"license":"MIT","category":"mcp-servers","readme_excerpt":"MCPChatbot Example This project demonstrates how to integrate the Model Context Protocol (MCP) with customized LLM (e.g. Qwen), creating a powerful chatbot that can interact with various tools through MCP servers. The implementation showcases the flexibility of MCP by enabling LLMs to use external tools seamlessly. [!TIP] For Chinese version, please refer to README ZH.md. Overview Chatbot Streamlit Example Workflow Tracer Example - 🚩 Update (2025-04-11): - Added chatbot streamlit example. - 🚩 Update (2025-04-10): - More complex LLM response parsing, supporting multiple MCP tool calls and multiple chat iterations. - Added single prompt examples with both regular and streaming modes. - Added interactive terminal chatbot examples. This project includes: - Simple/Complex CLI chatbot interface - Integration with some builtin MCP Server like (Markdown processing tools) - Support for customized LLM (e.g. Qwen) and Ollama - Example scripts for single prompt processing in both regular and streaming modes - Interactive terminal chatbot with regular and streaming response modes Requirements - Python 3.10+ - Dependencies (automatically installed via requirements): - python-dotenv - mcp[cli] - openai - colorama Installation 1. Clone the repository: 2. Set up a virtual environment (recommended): 3. Install dependencies: 4. Configure your environment: - Copy the .env.example file to .env : - Edit the .env file to add your Qwen API key (just for demo, you can use any LLM API key, remember ","default_branch":null,"files":null,"tree":[],"storefront":"/r/keli-wen","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/keli-wen/mcp_chatbot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}