Connect to Claude
LangChain.js MCP Adapters icon

LangChain.js MCP Adapters

Integrates Model Context Protocol (MCP) tools with LangChain.js applications, supporting both stdio and SSE transports for agent tool orchestration.

About

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.

Key Features

  • Support for custom headers in SSE connections for authentication
  • Compatible with LangChain.js and LangGraph.js
  • 68 GitHub stars
  • Connect to multiple MCP servers simultaneously
  • Connect to MCP servers via stdio (local) or SSE (remote)
  • Flexible configuration options

Use Cases

  • Extending LangChain agents with external tools and resources
  • Connecting LangChain applications to remote services via SSE
  • Managing multiple MCP server connections for complex agent workflows