Skip to content
LangChain

X402 Git for LangChain

com.x402git/git-x402

Buy private git repos and agent skills with USDC over x402. Read the manifest free, then pay.

client:LangChain transport:streamable-http tools:6

Install X402 Git in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "git-x402": {
            "transport": "streamable_http",
            "url": "https://x402git.com/api/mcp",
        }
})

tools = await client.get_tools()

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

What LangChain can do once it is connected

X402 Git in other clients