Skip to content
LangChain

mcp for LangChain

io.github.tempmd/mcp

Publish artifacts to one stable public temp.md link that updates in place. No account needed.

client:LangChain transport:streamable-http runtime:npm tools:8

Install mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "mcp": {
            "transport": "streamable_http",
            "url": "https://api.temp.md/mcp",
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

What LangChain can do once it is connected

mcp in other clients