x402 Trinity
io.github.devmster/x402-trinity
About x402 Trinity
x402 Trinity is an MCP server published by the GitHub account devmster. Give an agent a wallet. Pays for x402 resources within hard limits. Base + USDC, gasless.
It runs on your own machine: your AI client starts it from the npm package x402-trinity at version 0.2.4.
It asks for one secret: X402_PRIVATE_KEY. Give it a key with the least access that still works.
It also needs X402_MAX_PER_REQUEST and X402_TOTAL_BUDGET set before it starts.
Version 0.2.4 was published on 27 September 2026, and the source code is public, so you can read it before installing.
Written from the registry entry. 9 automated checks on the registry entry and the package code: 7 pass, 0 warn, 0 fail, 2 info. How we check.
What it asks for
| Variable | Required | Secret | Description |
|---|---|---|---|
X402_PRIVATE_KEY | Yes | Yes | 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 | Yes | No | 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 | Yes | No | Lifetime ceiling across all payments, in atomic units. Required for the same reason as the per-request cap. |
X402_BUDGET_FILE | No | No | Path to a file that makes the lifetime budget survive restarts. Without it the total resets every time the server starts. |
X402_ALLOW_HOSTS | No | No | Comma-separated hosts that may be paid. Anything else is refused however convincing the challenge looks. |
X402_NETWORKS | No | No | Networks to accept. Defaults to base. |
Checks
| Check | Result | Detail |
|---|---|---|
| Source repository linked | Pass | https://github.com/devmster/x402-trinity |
| Version pinned | Pass | Every package has an explicit version |
| Secrets requested | Info | Asks for 1 secret: X402_PRIVATE_KEY |
| Known package registry | Pass | All packages come from npm, PyPI, OCI, NuGet or MCPB |
| Namespace ownership | Info | Name verified via GitHub account devmster |
| Registry text aimed at the AI | Pass | Description and settings contain no hidden characters or instructions to the AI |
| Install scripts | Pass | x402-trinity@0.2.4 runs nothing at install |
| Code red flags | Pass | Read 20 files in x402-trinity@0.2.4: no obfuscation, encoded execution, credential reads or data-collection endpoints found |
| Text aimed at the AI | Pass | No hidden characters or instructions to the AI in 20 files, including comments and the README |
Popularity & health: 60 / 100
Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.
0 forks, 0 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.
What people say
No Hacker News threads link to its source code.
Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.
Facts
| Registry name | io.github.devmster/x402-trinity |
|---|---|
| Publisher | GitHub account devmster |
| How the name is verified | Name verified via GitHub account devmster. The registry ties the name prefix to that account or domain; it does not check the code. |
| Type | Local: runs on your machine from a package |
| Packages | npm x402-trinity 0.2.4 (stdio) |
| Version | 0.2.4 |
| Published | |
| Last updated | |
| Source repository | https://github.com/devmster/x402-trinity |
| Website | https://github.com/devmster/x402-trinity |
| Category | Finance & payments (assigned by keyword rule, not by hand) |
Related servers in Finance & payments
- Veyra8/8Give AI agents a wallet with a spending limit. Non-custodial USDC…
- GenesisPay8/8Let an AI agent find and pay for x402 APIs and products in USDC on…
- presign-guard wallet7/9Agent wallet with limits: pays x402/MPP on Base, Solana, Tempo,…
- x402 Ethereum RPC2/2Ethereum mainnet JSON-RPC paid per call in USDC on Base. No…
- stipend.sh7/7Non-custodial USDC wallet on Base with spending limits enforced in…
- z-zero-mcp6/7Payments for AI agents: gasless USDC on Base + JIT single-use…