x402 Trinity
io.github.devmster/x402-trinity
MCP server Not tested
Give an agent a wallet. Pays for x402 resources within hard limits. Base + USDC, gasless.
Technical sheet
- Author
- devmster (registry namespace)
- Repository
- github.com/devmster/x402-trinity
- Site
- github.com/devmster/x402-trinity
- Version
- 0.2.4
- Transport
- stdio
- Authentication
- Key or token (declared in the registry)
- Packages
- x402-trinity 0.2.4 npm stdio
- Tools
- —
- Categories
- Finance and payments, AI, agents and memory
- Last updated
- 27 Sept 2026
- Published
- 27 Sept 2026
Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded. Latest test not successful: the badge only says “listed”.
[](https://latlas.dev/en/mcp/io.github.devmster/x402-trinity)<a href="https://latlas.dev/en/mcp/io.github.devmster/x402-trinity"><img src="https://latlas.dev/badge/fiche/io.github.devmster/x402-trinity.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
No remote address published: this server runs locally, so we do not test it.
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport not listed | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Local launch of package x402-trinity (npm). Formats taken from each client’s documentation.
claude mcp add-json x402-trinity '{"command":"npx","args":["-y","[email protected]"]}'{
"mcpServers": {
"x402-trinity": {
"command": "npx",
"args": ["-y","[email protected]"]
}
}
}{
"mcpServers": {
"x402-trinity": {
"type": "stdio",
"command": "npx",
"args": ["-y","[email protected]"]
}
}
}{
"mcpServers": {
"x402-trinity": {
"type": "stdio",
"command": "npx",
"args": ["-y","[email protected]"],
"tools": ["*"]
}
}
}{
"mcpServers": {
"x402-trinity": {
"command": "npx",
"args": ["-y","[email protected]"]
}
}
}{
"mcpServers": {
"x402-trinity": {
"command": "npx",
"args": ["-y","[email protected]"]
}
}
}[mcp_servers.x402-trinity]
command = "npx"
args = ["-y","[email protected]"]Declared environment variables
| Name | Required | Description |
|---|---|---|
| X402_PRIVATE_KEY | yes (secret) | 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 | 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 | Lifetime ceiling across all payments, in atomic units. Required for the same reason as the per-request cap. |
| X402_BUDGET_FILE | 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 | Comma-separated hosts that may be paid. Anything else is refused however convincing the challenge looks. |
| X402_NETWORKS | no | Networks to accept. Defaults to base. |
Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
[x402 Trinity — L’Atlas](https://latlas.dev/en/mcp/io.github.devmster/x402-trinity)Source : Registre officiel MCP · retrieved 29 Nov 2026. L’Atlas adds no data beyond this source and its own tests.