Skip to content
masterclass Buddy

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.

Subscribe
  • MCPAdapter.list_tools
  • FastMCP client
  • ClientGroup
  • create_agent
  • ToolMessage
  • HumanInTheLoopMiddleware
  • MCPToolArtifact

Source: MCPAdapter | langchain | LangChain Reference. Checked 2026-11-03.