x402 Doctor for LangChain
io.github.fizzl13/x402-doctor
Is this x402/MPP API safe to pay? $0.001 preflight, fixes, a $0.25 test purchase. Free quick check.
client:LangChain
transport:streamable-http
tools:15
Install x402 Doctor in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"x402-doctor": {
"transport": "streamable_http",
"url": "https://x402-doctor.fizzl.eu/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs