LocalPaid service

x402 Trinity MCP server

devmster/x402-trinity

Give an agent a wallet. Pays for x402 resources within hard limits. Base + USDC, gasless.

3 GitHub stars815 npm downloads / month

Install x402 Trinity in Claude Code

Claude Code
claude mcp add x402-trinity -e X402_PRIVATE_KEY=... -e X402_MAX_PER_REQUEST=... -e X402_TOTAL_BUDGET=... -- npx -y x402-trinity
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "x402-trinity": {
      "command": "npx",
      "args": [
        "-y",
        "x402-trinity"
      ],
      "env": {
        "X402_PRIVATE_KEY": "...",
        "X402_MAX_PER_REQUEST": "...",
        "X402_TOTAL_BUDGET": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the x402 Trinity MCP server do?

Give an agent a wallet. Pays for x402 resources within hard limits. Base + USDC, gasless.

Is the x402 Trinity MCP server free?

Probably not entirely. The listing mentions pay-per-call, credits or a subscription. Check the provider for current pricing.

Does x402 Trinity run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add x402 Trinity to Claude Code?

Run: claude mcp add x402-trinity -e X402_PRIVATE_KEY=... -e X402_MAX_PER_REQUEST=... -e X402_TOTAL_BUDGET=... -- npx -y x402-trinity

More finance, fintech & payments MCP servers

View all