NestDaddy

X402 Trust Mcp

io.github.JonasFuchss/x402-trust-mcp ยท v1.16.0

Discover x402 endpoints and check their trust score before your agent pays them.

Connect Runs on your machine

Terminal
claude mcp add x402-trust-mcp -e X402_PRIVATE_KEY=<X402_PRIVATE_KEY> -e X402_MAX_USD=<X402_MAX_USD> -e X402_MAX_TOTAL_USD=<X402_MAX_TOTAL_USD> -e X402_MAX_CALLS=<X402_MAX_CALLS> -e X402_TRUST_API_BASE=<X402_TRUST_API_BASE> -e X402_TIMEOUT_MS=<X402_TIMEOUT_MS> -- npx -y [email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "x402-trust-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>",
        "X402_MAX_USD": "<X402_MAX_USD>",
        "X402_MAX_TOTAL_USD": "<X402_MAX_TOTAL_USD>",
        "X402_MAX_CALLS": "<X402_MAX_CALLS>",
        "X402_TRUST_API_BASE": "<X402_TRUST_API_BASE>",
        "X402_TIMEOUT_MS": "<X402_TIMEOUT_MS>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "x402-trust-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>",
        "X402_MAX_USD": "<X402_MAX_USD>",
        "X402_MAX_TOTAL_USD": "<X402_MAX_TOTAL_USD>",
        "X402_MAX_CALLS": "<X402_MAX_CALLS>",
        "X402_TRUST_API_BASE": "<X402_TRUST_API_BASE>",
        "X402_TIMEOUT_MS": "<X402_TIMEOUT_MS>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "x402-trust-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>",
        "X402_MAX_USD": "<X402_MAX_USD>",
        "X402_MAX_TOTAL_USD": "<X402_MAX_TOTAL_USD>",
        "X402_MAX_CALLS": "<X402_MAX_CALLS>",
        "X402_TRUST_API_BASE": "<X402_TRUST_API_BASE>",
        "X402_TIMEOUT_MS": "<X402_TIMEOUT_MS>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
X402_PRIVATE_KEY
Optional, secret
Optional Base wallet private key (with or without the 0x prefix). When set, the paid tools auto-pay over x402 up to X402_MAX_USD; otherwise they return a price quote. The free tools need no key.
X402_MAX_USD
Optional
Per-call auto-pay ceiling in USD. 0 disables auto-pay.
X402_MAX_TOTAL_USD
Optional
Cumulative auto-pay cap per process in USD. 0 = unlimited.
X402_MAX_CALLS
Optional
Max paid calls per process. 0 = unlimited.
X402_TRUST_API_BASE
Optional
API base URL.
X402_TIMEOUT_MS
Optional
Request timeout in milliseconds.

Details

Package[email protected] (NPM, stdio)
First published15 Oct 2026
Last updated15 Oct 2026
Registry nameio.github.JonasFuchss/x402-trust-mcp

More ai and media servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.