Coal — Payments for AI agents for LangChain
io.github.emmanuel39hanks/coal
Payment rails for AI agents. Pay merchants in USDC on Base. Dual-protocol: x402 + OKX APP.
client:LangChain
transport:streamable-http
tools:13
Install Coal — Payments for AI agents in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"coal": {
"transport": "streamable_http",
"url": "https://mcp.usecoal.xyz/api/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs