x402 Trinity MCP Server
A drop-in fetch replacement that lets an AI agent pay for things by itself - with hard spending limits, no hosted wallet service, and no changes to the agent's own code. It runs locally over stdio via the published package.
People who work with cloudflare workers, constant time and cryptography and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.
VERIFIED ACTIVE
LAST COMMIT 2026-09-17 · ★ 3 · #27 OF 318 MAINTAINED FINANCE · VERIFIED 2026-09-18
NOASSERTION · TypeScript servers · how we verify → /methodology
01 · Install x402 Trinity
before you install - you'll need
Set X402_PRIVATE_KEY, X402_MAX_PER_REQUEST, X402_TOTAL_BUDGET, X402_BUDGET_FILE, X402_ALLOW_HOSTS, X402_NETWORKS before connecting.
Claude Code
claude mcp add devmster-x402-trinity -- npx -y x402-trinity Claude Desktop / Cursor / VS Code - add to config
{
"mcpServers": {
"devmster-x402-trinity": {
"command": "npx",
"args": [
"-y",
"x402-trinity"
]
}
}
} Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.
Using another client? Same JSON, different key
Claude Desktop · mcpServers
Cursor · mcpServers
VS Code · servers
Windsurf · mcpServers
Zed · context_servers
Cline · mcpServers
Roo Code · mcpServers
Continue · mcpServers
LibreChat · mcpServers
Gemini CLI · mcpServers
Codex CLI · mcp_servers
Full setup guides: every client.
02 · Evidence
Security posture
What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.
runs as local process (stdio) - runs on your machine with your user's permissions
repo age created 2026-08-25 - young repo, little track record yet
license no standard license detected - usage rights unclear; check the repo before commercial use
npm package x402-trinity - unscoped; check the name against the project README before installing
registry namespace io.github.devmster is GitHub-verified and matches the repo owner
03 · What x402 Trinity can do
Prose above is summarized from the project's README and registry record - no invented capabilities.
Latest releases
v0.1.1 · 2026-08-25
bash · npm install x402-trinity · pip install x402-trinity · Wording change to the startup notice. No behaviour change - the buyer, seller, MCP server and Python client all work exactly as in 0.1.0.
v0.1.0 · 2026-08-25
A drop-in fetch replacement that lets an AI agent pay for things by itself - hard spending limits, no hosted wallet, no changes to the agent's own code. · bash · npm install x402-trinity · Base mainnet + USDC. Other…
04 · Who maintains x402 Trinity
x402 Trinity is maintained by devmster. It's the only MCP server we track from this author; the repo dates to Aug 2026.
05 · Facts
- repository
- github.com/devmster/x402-trinity
- category
- finance - ranked #27 of 318 actively-maintained finance servers as of 2026-09-18.
- release cadence
- 2 releases in the last 90 days (latest 2026-08-25)
- registry
- io.github.devmster/x402-trinity (active, first published 2026-08-26 · 8 versions)
- packages
- npm:x402-trinity
06 · x402 Trinity FAQ
What is x402 Trinity?
A drop-in fetch replacement that lets an AI agent pay for things by itself - with hard spending limits, no hosted wallet service, and no changes to the agent's own code. It runs locally over stdio via the published package.
Is x402 Trinity still maintained?
Yes - as of 2026-09-18, its last commit was 2026-09-17 and it shipped 2 releases in the last 90 days. We re-verify nightly.
How do I install x402 Trinity?
Run `npx -y x402-trinity`. The README documents 6 environment variables (X402_PRIVATE_KEY, X402_MAX_PER_REQUEST, X402_TOTAL_BUDGET…) to set first. Set X402_PRIVATE_KEY, X402_MAX_PER_REQUEST, X402_TOTAL_BUDGET, X402_BUDGET_FILE, X402_ALLOW_HOSTS, X402_NETWORKS before connecting. You can also paste the ready-made client config above.
Does x402 Trinity run locally?
Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.
07 · Alternatives to x402 Trinity
Alternatives to x402 Trinity
Maintained finance servers if x402 Trinity isn't the fit.
- CCXT Official CCXT MCP server - Market data and trading across 100+ exchanges and prediction markets ★ 44,030 · 2026-09-18
- Tradingview MCP Real-time market data, screeners, technical analysis & backtesting for stocks, crypto and forex. ★ 4,567 · 2026-09-01
- Edgar Tools Open-source SEC EDGAR toolkit - 11 tools, 7 prompts, every filing type. No API key required. ★ 2,726 · 2026-09-17
- TickDB Market Data Real-time & historical market data: forex, stocks, crypto, indices, metals, K-line, quotes ★ 801 · 2026-06-20
- xbbg MCP Local Bloomberg tools for xbbg users. ★ 715 · 2026-09-16
- Emilia Protocol Exact-action approval for consequential agent actions: request, track, and verify signed receipts. ★ 650 · 2026-09-17
Pairs well with
Servers that cover what x402 Trinity doesn't - only shown when the pairing reason fits the companion.
More finance MCP servers · DERO MCP Server · Onyx MCP · Kura · Banco MCP
More TypeScript MCP servers · SendGrid MCP Server · Clawops · Oorep MCP · Dgmo MCP · see all