LangChain folds MCP into the core package as first-party `langchain.mcp`, built directly on FastMCP
The 1.4.0a2 alpha (2026-08-28) ships `langchain.mcp`, an `MCPAdapter` that turns any MCP server into tools you hand straight to `create_agent`, installed via `pip install "langchain[mcp]==1.4.0a2"`. Connection handling is FastMCP's rather than reimplemented, so a URL, a local stdio script path, an in-process FastMCP server, a multi-server config, or a hand-built `fastmcp.Client` are all valid targets through one entry point; auth, caching and timeouts are configured on the client you pass in. Tools returned by `get_tools()` retain the adapter's client and stay callable after the `async with` block exits, so the context scopes discovery and not tool lifetime. This supersedes the separate `langchain-mcp-adapters` package that was previously the official bridge.
Source
↳ Follow the thread