PluginBench
MCP Server
Active

x402 Trinity MCP Server

io.github.devmster/x402-trinity

What is the x402 Trinity MCP server?

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

How to install x402 Trinity

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • X402_PRIVATE_KEY
    required
    secret

    Private key of the wallet that pays. Use a dedicated wallet holding only what you would accept losing. The server refuses to start without it.

  • X402_MAX_PER_REQUEST
    required

    Hard ceiling for a single payment, in atomic units (USDC has 6 decimals, so 50000 is $0.05). Required: a model decides when payments happen, so the cap cannot come from the model.

  • X402_TOTAL_BUDGET
    required

    Lifetime ceiling across all payments, in atomic units. Required for the same reason as the per-request cap.

  • X402_BUDGET_FILE

    Path to a file that makes the lifetime budget survive restarts. Without it the total resets every time the server starts.

  • X402_ALLOW_HOSTS

    Comma-separated hosts that may be paid. Anything else is refused however convincing the challenge looks.

  • X402_NETWORKS

    Networks to accept. Defaults to base.

~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "x402-trinity": {
      "command": "npx",
      "args": [
        "-y",
        "x402-trinity"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<YOUR_X402_PRIVATE_KEY>",
        "X402_MAX_PER_REQUEST": "<YOUR_X402_MAX_PER_REQUEST>",
        "X402_TOTAL_BUDGET": "<YOUR_X402_TOTAL_BUDGET>",
        "X402_BUDGET_FILE": "<YOUR_X402_BUDGET_FILE>",
        "X402_ALLOW_HOSTS": "<YOUR_X402_ALLOW_HOSTS>",
        "X402_NETWORKS": "<YOUR_X402_NETWORKS>"
      }
    }
  }
}

Related MCP servers

ENEngraphy logo

Engraphy

Active

Self-hosted MCP memory server: a typed knowledge graph on Postgres 16 and pgvector.

1
Python
View repository →

Production-grade PostgreSQL MCP server — 254 tools for query, tuning & ops, read-only by default.

4
Python
MIT
View repository →
OWOwnPG logo

OwnPG

Active

PostgreSQL DBA tools over MCP, scoped to one database and one schema.

0
Apache-2.0
View repository →

AI-classified tech/investor news feed with editorial verdicts, entities, and theses.

View repository →

iOS dopamine detox app with social media blocking and screen time tools.

0
TypeScript
View repository →
TRTranscript logo

Get transcripts from YouTube, TikTok, X, Instagram and more - even when captions are off.

0
Shell
MIT
View repository →