X402 Trinity MCP Server

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

Local serverstdio

What is the X402 Trinity MCP Server?

X402 Trinity is an MCP integration. Give an agent a wallet. Pays for x402 resources within hard limits. Base + USDC, gasless.

Packages and local setup

The published npm package is x402-trinity, version 0.2.4. Its declared MCP transport is stdio.

The package declares X402_PRIVATE_KEY (required): 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..

Before connecting

Check the maintainer’s instructions for account access, authentication and the supported client configuration. Once connected, inspect the tools your client receives and try a small task that matches the server’s stated purpose. The registry description does not include a verified, complete tool list.

Project and source

View the publisher’s registry entry · Project repository · Project website. This profile uses version 0.2.4 from the registry. Registration identifies the publisher namespace; it does not establish that this is a first-party integration for every service it connects.

Browse related other integrations MCP servers for tools that cover the same kind of work.

Configuration

VariableDescriptionRequired
X402_PRIVATE_KEYPrivate key of the wallet that pays. Use a dedicated wallet holding only what you would accept losing. The server refuses to start without it.Yes
X402_MAX_PER_REQUESTHard 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.Yes
X402_TOTAL_BUDGETLifetime ceiling across all payments, in atomic units. Required for the same reason as the per-request cap.Yes
X402_BUDGET_FILEPath to a file that makes the lifetime budget survive restarts. Without it the total resets every time the server starts.Optional
X402_ALLOW_HOSTSComma-separated hosts that may be paid. Anything else is refused however convincing the challenge looks.Optional
X402_NETWORKSNetworks to accept. Defaults to base.Optional