Discover and explore top open-source AI tools and projects—updated daily.
3choffCLI chatbot for Model Context Protocol (MCP) integration
Top 100.0% on SourcePulse
This project offers a command-line interface (CLI) chatbot that demonstrates the integration of the Model Context Protocol (MCP). It targets developers seeking to build LLM-powered applications with extensible tool capabilities, providing LLM provider flexibility by adhering to OpenAI API standards and enabling dynamic tool integration.
How It Works
The chatbot integrates the Model Context Protocol (MCP) for dynamic tool management. It loads configurations, initializes MCP servers (e.g., SQLite, Puppeteer), and discovers available tools. These tools are then formatted and included in the system prompt sent to an LLM compatible with OpenAI API standards. User input is processed, and the LLM decides whether to execute a tool or provide a direct response. Tool execution results are fed back to the LLM for interpretation, ensuring a coherent final response presented to the user.
Quick Start & Requirements
pip install -r requirements.txt after cloning the repository.python-dotenv, requests, mcp, uvicorn..env file in the root directory with LLM_API_KEY=your_api_key_here. Configure MCP servers in servers_config.json.python main.py to start the client. Type quit or exit to end the session.https://github.com/3choff/mcp-chatbot.git.Highlighted Details
servers_config.json), mirroring the structure of the Claude Desktop App for straightforward integration.Configuration, Server, Tool, LLMClient, and ChatSession to manage components and orchestrate the interaction flow.Maintenance & Community
Contributions and feedback are welcomed via GitHub issues and pull requests. No specific community channels (e.g., Discord, Slack) or roadmap details are provided in the README.
Licensing & Compatibility
This project is licensed under the MIT License, which is permissive for commercial use and closed-source linking.
Limitations & Caveats
The README presents the project as a demonstration example and does not explicitly detail limitations, alpha status, or known bugs.
1 year ago
Inactive
PrefectHQ
transitive-bullshit