LangGraph solution template for MCP
The architecture employs a multi-agent pattern orchestrated by LangGraph. A router graph determines which agent to use based on the user message. The generic MCP wrapper uses the Strategy pattern with MCPSessionFunction
as the abstract base class. This abstracts the communication with the MCP servers, promoting modularity and extensibility.
Python
236