LangChain.js MCP Adapters bridges the gap between Anthropic's Model Context Protocol (MCP) tools and LangChain.js, facilitating seamless integration for agent development. It supports stdio and SSE transports, enabling both local and remote connections to MCP servers. The library offers features like multi-server management, automatic tool organization, and flexible configuration options, simplifying the process of incorporating external tools into LangChain.js and LangGraph.js applications, and is optimized for use with OpenAI, Anthropic, and Google models.
主要功能
01Support for custom headers in SSE connections for authentication
02Compatible with LangChain.js and LangGraph.js
0368 GitHub stars
04Connect to multiple MCP servers simultaneously
05Connect to MCP servers via stdio (local) or SSE (remote)
06Flexible configuration options