langchainjs-mcp-adapters
This MCP server provides adapters for integrating Model Context Protocol tools with LangChain.js applications.
The LangChain.js MCP Adapters library offers a lightweight wrapper that enables seamless integration of Model Context Protocol (MCP) services with LangChain.js applications. This integration supports both standard input/output (stdio) and server-sent events (SSE) transports, allowing developers to easily incorporate MCP functionalities into their projects. By utilizing these adapters, developers can leverage the capabilities of MCP services to enhance their applications with advanced features such as context management and improved interaction with language models. The library simplifies the process of connecting to MCP services, making it accessible for developers looking to build innovative solutions using LangChain.js.
Compatible with
Install
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"langchainjs-mcp-adapters": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-langchainjs-mcp-adapters"
]
}
}
}Config File Location
Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/claude/claude_desktop_config.json
Some servers require additional setup - check the GitHub README for specific instructions.
Permissions