LangChain and LangGraph provide a powerful framework for composing AI agents with chains, tools, and memory. The MCP adapter lets you connect to the Apideck MCP Server and use all 360+ tools as LangChain tools.
Connect LangChain to the Apideck MCP Server with a few lines of code.
from langchain_mcp_adapters.client import MultiServerMCPClient
async with MultiServerMCPClient({
"apideck": {
"url": "https://mcp.apideck.dev/mcp",
"transport": "streamable_http",
"headers": {
"x-apideck-api-key": "YOUR_API_KEY",
"x-apideck-app-id": "YOUR_APP_ID",
"x-apideck-consumer-id": "YOUR_CONSUMER_ID",
},
}
}) as client:
tools = client.get_tools()Every resource below is accessible as a set of MCP tools (list, get, create, update, delete) through LangChain.