Skip to content
LangChain

handle-mcp for LangChain

io.github.njohansen/handle-mcp

Your AI agent fills the cheapest cart at nemlig.com, BilkaToGo and REMA 1000. You pay.

client:LangChain transport:stdio runtime:pypi

Install handle-mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "handle-mcp": {
            "transport": "stdio",
            "command": "uvx",
            "args": ["handle-mcp"],
        }
})

tools = await client.get_tools()

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

handle-mcp in other clients