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

VariableRequiredSecretDescription
X402_PRIVATE_KEYYesYesPrivate 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_REQUESTYesNoHard 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_BUDGETYesNoLifetime ceiling across all payments, in atomic units. Required for the same reason as the per-request cap.
X402_BUDGET_FILENoNoPath to a file that makes the lifetime budget survive restarts. Without it the total resets every time the server starts.
X402_ALLOW_HOSTSNoNoComma-separated hosts that may be paid. Anything else is refused however convincing the challenge looks.
X402_NETWORKSNoNoNetworks to accept. Defaults to base.

Checks

CheckResultDetail
Source repository linkedPasshttps://github.com/devmster/x402-trinity
Version pinnedPassEvery package has an explicit version
Secrets requestedInfoAsks for 1 secret: X402_PRIVATE_KEY
Known package registryPassAll packages come from npm, PyPI, OCI, NuGet or MCPB
Namespace ownershipInfoName verified via GitHub account devmster
Registry text aimed at the AIPassDescription and settings contain no hidden characters or instructions to the AI
Install scriptsPassx402-trinity@0.2.4 runs nothing at install
Code red flagsPassRead 20 files in x402-trinity@0.2.4: no obfuscation, encoded execution, credential reads or data-collection endpoints found
Text aimed at the AIPassNo 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.

Popularity12 / 40

3 GitHub stars, 280 downloads last week, no Hacker News posts found. Best two of the three, each on a log scale.

Activity20 / 25

Last push 2026-09-27, last release 2026-08-25, 29 commits in 90 days.

Issue health8 / 15

2 closed of 2 issues, too few to judge. No data, so half marks.

Our checks20 / 20

0 warnings, each costing a fifth.

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 nameio.github.devmster/x402-trinity
PublisherGitHub account devmster
How the name is verifiedName verified via GitHub account devmster. The registry ties the name prefix to that account or domain; it does not check the code.
TypeLocal: runs on your machine from a package
Packagesnpm x402-trinity 0.2.4 (stdio)
Version0.2.4
Published
Last updated
Source repositoryhttps://github.com/devmster/x402-trinity
Websitehttps://github.com/devmster/x402-trinity
CategoryFinance & payments (assigned by keyword rule, not by hand)

Related servers in Finance & payments