Usage
Testing with in-memory server
For testing, pass a fastMCP server object directly (no HTTP needed):MCPToolAdapter.load_tools() fetches the tool list from the MCP server and wraps each as a LangChain BaseTool.Connect to MCP-compatible tool servers and use their tools inside any agent. MCPClient and MCPToolAdapter for seamless integration.
MCPToolAdapter.load_tools() fetches the tool list from the MCP server and wraps each as a LangChain BaseTool.