MCPAdapter
AI overview
Sign in and the AI will write an overview from our coverage.
Headlines · 1
- Connecting a LangGraph Agent to Two FastMCP Servers
In the author’s implementation, one LangGraph Agent was connected through LangChain’s MCPAdapter to two independent FastMCP services. The yun120 service exposed 15 tools for local MySQL queries, statistics and charts, while demo1 provided flip_coin and make_decision. In multi-server stdio mode, MCPAdapter prefixed each tool with its server name, making tool names hard-coded in the system prompt unavailable. The author removed the default_ prefix from the yun120 tools, retained demo1 prefixes to avoid collisions and reported that the agent successfully called demo1_flip_coin. The planned production setup using multiple persistently hosted HTTP servers was not completed.
掘金 · 人工智能 · 🔥 0
Experience and discussion from the community
Share my MCPAdapter experienceAsk about MCPAdapter
Nobody has shared their experience with MCPAdapter yet.