Skip to content
masterclass Buddy

LangChain · Class

MultiServerMCPClient

MultiServerMCPClient connects to multiple MCP servers. It loads their tools, prompts, and resources for use with LangChain.

Last updated

Since
v0.0

Syntax

MultiServerMCPClient(self, connections: dict[str, Connection] | None = None, *, callbacks: Callbacks | None = None, tool_interceptors: list[ToolCallInterceptor] | None = None, tool_name_prefix: bool = False, handle_tool_errors: bool = True)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • Callbacks
  • ToolCallInterceptor
  • Connection
  • create_session
  • load_mcp_tools
  • load_mcp_prompt
  • load_mcp_resources
  • load_mcp_server_info

Source: MultiServerMCPClient | langchain_mcp_adapters | LangChain Reference. Checked 2026-11-03.