Give an agent a wallet. Pays for x402 resources within hard limits. Base + USDC, gasless.
npx @getmcp/cli add io.github.devmster/x402-trinityRequires Node.js 18+. Community-contributed server. Review source before installing.
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.
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.
X402_TOTAL_BUDGETLifetime ceiling across all payments, in atomic units. Required for the same reason as the per-request cap.
Config file: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"io.github.devmster/x402-trinity": {
"command": "npx",
"args": [
"-y",
"x402-trinity"
],
"env": {
"X402_PRIVATE_KEY": "",
"X402_MAX_PER_REQUEST": "",
"X402_TOTAL_BUDGET": "",
"X402_BUDGET_FILE": "",
"X402_ALLOW_HOSTS": "",
"X402_NETWORKS": ""
}
}
}
}Rust MCP server and CLI for Apprise notification fan-out across dozens of delivery backends.
Rust MCP server and CLI for Arcane Docker and container management.
Rust MCP server and CLI for Gotify push notifications and message management.
Rust MCP gateway with Code Mode, authentication, setup, logs, CLI, HTTP API, and operator web UI.