{"repo":"Haohao-end/mcp-agent","free":true,"listed":false,"github":"https://github.com/Haohao-end/mcp-agent","clone":"git clone https://github.com/Haohao-end/mcp-agent.git","description":"A modular Python framework implementing the Model Context Protocol (MCP). It features a standardized client-server architecture over StdIO, integrating LLMs with external tools, real-time weather data fetching, and an advanced RAG (Retrieval-Augmented Generation) system.","language":"Python","stars":75,"topics":["llm","python","graph-rag","mcp","mcp-server"],"license":null,"category":"mcp-servers","readme_excerpt":"MCP Agent Orchestrator The MCP Agent Orchestrator is a professional-grade Python implementation of the Model Context Protocol (MCP) . It provides a structured environment for Large Language Models (LLMs) to interact with external tools and knowledge bases through a standardized communication layer. The project utilizes FastMCP for server-side tool definitions and an asynchronous client-side bridge to OpenAI-compatible interfaces. System Architecture The project follows a decoupled client-server architecture: 1. MCP Client : Acts as the orchestrator. It manages the lifecycle of the MCP server, performs tool discovery, handles LLM completions, and executes tool calls returned by the model. 2. MCP Servers : Independent services (Weather, RAG) that expose specific functions to the client via the Model Context Protocol. 3. Transport Layer : Uses Standard Input/Output (StdIO) for high-performance, local inter-process communication. Core Components 1. Intelligent Client Bridge The client implementation ( rag agent.py , client.py ) facilitates: Asynchronous lifecycle management using AsyncExitStack . Automatic tool schema conversion for OpenAI-compatible function calling. Persistent conversation state and multi-turn reasoning loops. 2. Weather Service Server The weather server ( server.py ) demonstrates real-time API integration: Integration with external REST APIs (WeatherAPI). Data normalization and formatting for LLM consumption. Asynchronous request handling using httpx . 3. RAG ","default_branch":null,"files":null,"tree":[],"storefront":"/r/Haohao-end","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Haohao-end/mcp-agent/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."}