LangChain · Class
MCPAdapter
MCPAdapter connects an MCP server to LangChain. It discovers the server's tools and adapts them for use with create_agent.
Last updated
- Since
- v1.4
Syntax
MCPAdapter(target: MCPAdapterTarget)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
MCPAdapter.list_toolsFastMCP clientClientGroupcreate_agentToolMessageHumanInTheLoopMiddlewareMCPToolArtifact