AI Tooling Integration Library
3.5k 2026-04-26
langchain-ai/langchain-mcp-adapters
A lightweight Python library that enables seamless integration of Anthropic Model Context Protocol (MCP) tools with LangChain and LangGraph.
Core Features
Convert MCP tools into LangChain-compatible tools for use with LangGraph agents.
Client implementation to connect to and load tools from multiple MCP servers.
Supports various MCP transport mechanisms, including stdio and HTTP.
Facilitates building advanced AI agents with external capabilities.
Quick Start
pip install langchain-mcp-adaptersDetailed Introduction
LangChain MCP Adapters is a crucial library for developers building sophisticated AI applications with LangChain and LangGraph. It acts as a bridge, allowing AI agents to leverage external tools defined by the Anthropic Model Context Protocol (MCP). By converting MCP tools into a LangChain-compatible format, the library significantly enhances the interoperability and extensibility of AI agents, enabling them to perform complex tasks by interacting with diverse external services and data sources.