You won't want to miss this -- @sydneyrunkle with a detailed breakdown of LangChain's MCP revamp and...

LangChain(@LangChainAI) · 人工智能

You won't want to miss this -- @sydneyrunkle with a detailed breakdown of LangChain's MCP revamp and support for the new, stateless spec! Sydney Runkle @sydneyrunkle ICYMI -- yesterday we released support for the new MCP protocol in @LangChain !! what do you need to know? 1. MCP support is now in the main langchain package! get started with `uv pip install 'langchain[mcp]'` 2. it's now built on top of FastMCP v4; FastMCP has ergonomic support for all things MCP (clients, servers, and apps). FastMCP handles things like protocol negotiation, tool name conflicts, connection lifecycle, transport specs, auth, and caching! 3. langchain now supports elicitation (MCP's human in the loop concept) via interrupts! 4. langchain now supports list_tools caching (so you don't have to re-fetch on every agent run; this was a common pain point for TTFT!) 5. the new protocol is stateless, which means the agent <-> server interactions are more efficient, and much more scale-able. 🔗 View Quoted Tweet 💬 0 🔄 2 ❤️ 4 👀 2484 📊 1 ⚡ Powered by xgo.ing

查看原文