run.pay for LangChain
io.github.palabrex/runpay
Stripe-native marketplace where AI agents discover and pay per call for API services.
client:LangChain
transport:streamable-http
tools:2
Install run.pay in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"runpay": {
"transport": "streamable_http",
"url": "https://runpay-backend-visibility-production.up.railway.app/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs