x402 Endpoint Check (Tanod) for LangChain
dev.tanod/x402-check
Check an x402 endpoint before you pay it, then test a payment and follow it to settlement.
client:LangChain
transport:streamable-http
tools:3
Install x402 Endpoint Check (Tanod) in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"x402-check": {
"transport": "streamable_http",
"url": "https://tanod.dev/mcp/x402-check",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs