Alpha Notice: These docs cover the v1-alpha release. Content is incomplete and subject to change.For the latest stable version, see the current LangGraph Python or LangGraph JavaScript docs.
langchain-mcp-adapters
library.

langchain-mcp-adapters
library to use MCP tools in LangGraph:
Use MCP tools
Thelangchain-mcp-adapters
package enables agents to use tools defined across one or more MCP servers.
Custom MCP servers
To create your own MCP servers, you can use themcp
library. This library provides a simple way to define tools and run them as servers.
Install the MCP library:
Example Math Server (stdio transport)
Example Weather Server (Streamable HTTP transport)