Skip to content
LangChain

pilot mcp for LangChain

io.github.pilot-protocol/pilot-mcp

Your agent's overlay network. 435 specialist agents + P2P A2A messaging on a 190k-node network.

client:LangChain transport:stdio runtime:npm

Install pilot mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "pilot-mcp": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "pilotprotocol-mcp"],
        }
})

tools = await client.get_tools()

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

pilot mcp in other clients