mcp-agent
by Haohao-end·★ 85·Score 47
A modular Python MCP framework integrating LLMs with tools, weather data, and advanced RAG capabilities.
Overview
The MCP Agent Orchestrator is a professional-grade Python implementation of the Model Context Protocol that provides a structured environment for LLMs to interact with external tools and knowledge bases. It features a decoupled client-server architecture using StdIO for communication, with specialized components including an intelligent client bridge, weather service server with real-time API integration, and a RAG knowledge server with vector database capabilities. The implementation strictly adheres to MCP specifications and supports multiple LLM providers including OpenAI and Qwen.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this Python-based MCP framework when building modular AI applications that require both real-time data retrieval and document-based knowledge augmentation.
When NOT to choose this
Not suitable for production systems requiring long-term persistence or those needing comprehensive authentication and authorization controls.
Tools this server exposes
3 tools extracted from the READMEget_weatherFetch real-time weather data from external REST APIs
query_knowledge_baseSearch ingested documents using vector embeddings
ingest_documentAdd PDF or TXT documents to the knowledge base
Note: Inferred from system architecture and descriptions rather than explicit tool documentation
Comparable tools
Installation
Installation
- **Prerequisites**
- Python 3.10+ - Virtual environment (recommended)
- **Environment Setup**
Create a .env file in the root directory with: ``env API_KEY=your_llm_api_key BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1 MODEL=qwen-plus EMBED_MODEL=sentence-transformers/all-MiniLM-L6-v2 ``
- **Dependencies**
``bash pip install mcp langchain langchain-community langchain-openai chromadb httpx python-dotenv openai ``
Claude Desktop Integration
Add to claude_desktop_config.json:
{
"mcpServers": {
"mcp-agent": {
"command": "python",
"args": ["/path/to/mcp-agent/client.py"]
}
}
}FAQ
- What MCP servers does this project provide?
- The project provides two main MCP servers: a weather service server for real-time weather data and a RAG knowledge server for document intelligence and knowledge retrieval.
- Can this framework be used with other LLM providers besides OpenAI?
- Yes, the framework supports OpenAI-compatible interfaces, including providers like Qwen and DashScope through configurable API endpoints and models.
Compare mcp-agent with
Last updated · Auto-generated from public README + GitHub signals.