Skip to content
LangChain

AgentPay — Pay-per-call AI Microservices for LangChain

io.github.ronaldanton/agentpay

22 AI microservices with x402 micropayments: summarize, translate, code-review. USDC on Base.

client:LangChain transport:streamable-http tools:28

Install AgentPay — Pay-per-call AI Microservices in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "agentpay": {
            "transport": "streamable_http",
            "url": "https://agentpay.help/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

All 28 tools →

AgentPay — Pay-per-call AI Microservices in other clients