Skip to content
LangChain

Domain & DNS Trust API (x402) for LangChain

io.github.reception-ctrl/x402-domain-trust

Verify domain trust, DNS posture, and HTTP redirect chains with x402 USDC micropayments.

client:LangChain transport:stdio runtime:npm

Install Domain & DNS Trust API (x402) in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "x402-domain-trust": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "x402-domain-trust-mcp"],
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

Domain & DNS Trust API (x402) in other clients