Skip to content
LangChain

diffpilot for LangChain

io.github.bkalafat/diffpilot

MCP server for PR code review, commit messages, changelogs, and secret detection.

client:LangChain transport:stdio runtime:nuget

Install diffpilot in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "diffpilot": {
            "transport": "stdio",
            "command": "dnx",
            "args": ["DiffPilot", "--yes"],
        }
})

tools = await client.get_tools()

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

diffpilot in other clients