Skip to content
LangChain

github mcp for LangChain

io.github.jaimenbell/github-mcp

MCP server for the GitHub REST API: issues, PRs, repos; read always on, write env-gated.

client:LangChain transport:stdio runtime:pypi

Install github mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

github mcp in other clients