What changed

LangChain 1.4.0a2 introduces langchain.mcp, a first-party adapter that turns MCP servers into tools for create_agent. It supports single or multiple servers, tool namespacing, protocol negotiation, structured outputs and errors, while delegating authentication, caching, timeouts, and transports to FastMCP and mapping elicitation to LangGraph interrupts.

Why it matters

A standard adapter reduces custom protocol glue, but also concentrates tool identity, authentication, local-process, timeout, caching, and human-approval behavior in one integration boundary.

What to do

Install the pinned alpha in a disposable project, connect one non-sensitive server, namespace tools, deny unapproved actions, test old and new protocol negotiation, structured errors, timeouts, human elicitation, local-process permissions and rollback before broader use.

Caveat

This is an alpha API and may change. A first-party adapter does not make MCP servers trustworthy; local stdio can launch processes, while authentication, caching, tool names and approval design remain operator responsibilities.