Skip to content
LangChain

PatchPilot MCP for LangChain

io.github.ahmedsaeed1-eng/patchpilot-mcp

Incremental, local review of supplied diffs and source, with syntax and maintainability findings.

client:LangChain transport:stdio runtime:pypi

Install PatchPilot MCP in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

PatchPilot MCP in other clients