代理工具
LangChain 1.4 Brings MCP into the Core Package with Support for Stateless Protocols, Tool List Caching, and Mid-Execution Elicitation
The new `langchain.mcp` uses FastMCP to unify connections, authentication, and protocol negotiation, replacing the standalone adapter package. Servers can request additional information or approval during tool execution, while LangChain maps the pause point to a resumable LangGraph interrupt.