LangChain MCP Adapters — MCP protocol
Adapter for connecting MCP servers as tools in LangChain
Basic Information
| Program name | LangChain MCP Adapters |
|---|---|
| Short description | Adapter for connecting MCP servers as tools in LangChain |
| Developer / Maintainer | LangChain |
| Official website | https://www.langchain.com/ |
| Official documentation | https://github.com/langchain-ai/langchain-mcp-adapters |
| Installation / Distribution | pip install langchain-mcp-adapters |
| Runtime environment | Python 3.10 or later |
| License | MIT License |
| Stable version | PyPI 0.3.2 (confirmed 2026-10) — confirmed 2026-10-18 |
| GitHub repository | https://github.com/langchain-ai/langchain-mcp-adapters |
| Category | MCP protocol (Tags: MCP, LangChain, agent, adapter, tool) |
What is this program?
LangChain MCP Adapters is an adapter that converts tools from MCP servers into a tool format that LangChain agents can use.
Organizations that have already built agents with LangChain use it when they need to quickly connect tools from the MCP ecosystem.
What problems does it solve?
- ('In a LangChain environment', 'When you need to add MCP tools to an existing LangChain agent', 'Convert with an adapter')
- ('In MCP tool usage', 'When you need to connect thousands of MCP server tools to LangChain', 'Standard connection')
Key Features
Tool conversion
Convert MCP tools into LangChain tools
- Use case: Extend LangChain agents
- Result: Standard tool format
- Limitation: Type conversion requires caution
Multi-server
Connect multiple MCP servers simultaneously
- Use case: Multiple tool sources
- Result: Integrated management
- Limitation: Requires authentication setup
Installation and Usage
pip
Install with pip.
pip install langchain-mcp-adapters
Real-world usage example
Connecting tools
Connect MCP servers as LangChain tools.
from langchain_mcp_adapters.tools import load_mcp_tools
Advantages and Limitations
Advantages
- Official LangChain
- Connects to the MCP ecosystem
- MIT License
Considerations before use
- LangChain learning curve
- Version compatibility needs to be checked
Comparison with similar programs
| Program | Features | Suitable for |
|---|---|---|
| mcp-use | MCP-centric framework | MCP-first |
| Direct implementation | MCP without LangChain | Lightweight setup |
Official resources and further learning
- Official website — https://www.langchain.com/
- Official documentation / knowledge base — https://github.com/langchain-ai/langchain-mcp-adapters
- Installation / Distribution — pip install langchain-mcp-adapters
- Release notes — https://github.com/langchain-ai/langchain-mcp-adapters/releases
- Source / development resources — https://github.com/langchain-ai/langchain-mcp-adapters
Version and supported environment information was verified on the official website as of 2026-10-18. Installation commands may vary depending on your distribution and version, so please also check the official installation documentation.
Actual execution screen
Synthetic example — not an actual execution result. The screen is a synthetic example and not an actual execution result.
!LangChain MCP Adapters usage example
Actual production server
Source (HTML): https://games.aidebatehub.com/programs/mcp/protocol/langchain-mcp.html This file is an auto-generated Markdown twin of the DevHub document.
AI Knowledge Hub
Visitor Comments