Search / io.github.devmster/x402-trinity
x402 Trinity
L0· runs locallyGive an agent a wallet. Pays for x402 resources within hard limits. Base + USDC, gasless.
v0.2.4 · active · repository · website · descriptor JSON · versions
Search / io.github.devmster/x402-trinity
L0· runs locallyGive an agent a wallet. Pays for x402 resources within hard limits. Base + USDC, gasless.
v0.2.4 · active · repository · website · descriptor JSON · versions
{
"mcpServers": {
"x402-trinity": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"X402_PRIVATE_KEY": "${X402_PRIVATE_KEY}",
"X402_MAX_PER_REQUEST": "${X402_MAX_PER_REQUEST}",
"X402_TOTAL_BUDGET": "${X402_TOTAL_BUDGET}"
}
}
}
}claude mcp add x402-trinity -e "X402_PRIVATE_KEY=${X402_PRIVATE_KEY}" -e "X402_MAX_PER_REQUEST=${X402_MAX_PER_REQUEST}" -e "X402_TOTAL_BUDGET=${X402_TOTAL_BUDGET}" -- npx -y [email protected][mcp_servers.x402-trinity]
command = "npx"
args = ["-y", "[email protected]"]
env = { "X402_PRIVATE_KEY" = "${X402_PRIVATE_KEY}", "X402_MAX_PER_REQUEST" = "${X402_MAX_PER_REQUEST}", "X402_TOTAL_BUDGET" = "${X402_TOTAL_BUDGET}" }
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"x402-trinity": {
"type": "local",
"command": [
"npx",
"-y",
"[email protected]"
],
"enabled": true,
"environment": {
"X402_PRIVATE_KEY": "{env:X402_PRIVATE_KEY}",
"X402_MAX_PER_REQUEST": "{env:X402_MAX_PER_REQUEST}",
"X402_TOTAL_BUDGET": "{env:X402_TOTAL_BUDGET}"
}
}
}
}{
"mcpServers": {
"x402-trinity": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"X402_PRIVATE_KEY": "${X402_PRIVATE_KEY}",
"X402_MAX_PER_REQUEST": "${X402_MAX_PER_REQUEST}",
"X402_TOTAL_BUDGET": "${X402_TOTAL_BUDGET}"
}
}
},
"deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=x402-trinity&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIng0MDItdHJpbml0eUAwLjIuNCJdLCJlbnYiOnsiWDQwMl9QUklWQVRFX0tFWSI6IiR7WDQwMl9QUklWQVRFX0tFWX0iLCJYNDAyX01BWF9QRVJfUkVRVUVTVCI6IiR7WDQwMl9NQVhfUEVSX1JFUVVFU1R9IiwiWDQwMl9UT1RBTF9CVURHRVQiOiIke1g0MDJfVE9UQUxfQlVER0VUfSJ9fQ%3D%3D"
}{
"servers": {
"x402-trinity": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"X402_PRIVATE_KEY": "${X402_PRIVATE_KEY}",
"X402_MAX_PER_REQUEST": "${X402_MAX_PER_REQUEST}",
"X402_TOTAL_BUDGET": "${X402_TOTAL_BUDGET}"
}
}
}
}{
"mcpServers": {
"x402-trinity": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"X402_PRIVATE_KEY": "${X402_PRIVATE_KEY}",
"X402_MAX_PER_REQUEST": "${X402_MAX_PER_REQUEST}",
"X402_TOTAL_BUDGET": "${X402_TOTAL_BUDGET}"
}
}
}
}extensions:
"x402-trinity":
enabled: true
name: "x402-trinity"
type: stdio
cmd: "npx"
args:
- "-y"
- "[email protected]"
envs:
"X402_PRIVATE_KEY": "${X402_PRIVATE_KEY}"
"X402_MAX_PER_REQUEST": "${X402_MAX_PER_REQUEST}"
"X402_TOTAL_BUDGET": "${X402_TOTAL_BUDGET}"
timeout: 300
Placeholders to fill from your own secret store: ${X402_PRIVATE_KEY}. The registry never accepts secret values.
This is a local package: the command runs on your machine.
Not scored: fewer than three checks apply, usually because no remote answered a credential-free probe or the server is a local package.
protocol.modern, protocol.stateless, protocol.transport, protocol.list_ttlno remote answered a protocol handshake (not probed yet, unreachable, or local-only)auth.prm, auth.as_metadata, auth.cimdno remote uses OAuthauth.secret_in_urlno templated URLtools.descriptions, tools.description_length, tools.schemas, tools.annotations, tools.directory_hints, tools.token_cost, tools.api_dumptool list unknown (behind auth, not probed, or empty)stability.changes, stability.rug_pulltool list unknowndeps.known_vulnsno known advisory in 1 resolved packagesdeps.mcp_sdk_versionthe official MCP SDK is not in the dependency graphdeps.resolvable[email protected] resolved: 1 packagesNo tool definition changes recorded. A server's first observation is its baseline; later probes record what changes.
Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.
+repository +namespace-matches-repo +website ~liveness-unmeasured +updated-23d-ago
Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.
[email protected] npm0 dependencies, resolved · advisories checked 2026-10-19
No known advisory affects this dependency graph.
Dependency graphs from deps.dev; advisories from OSV.dev, including the GitHub Advisory Database and the PyPI Advisory Database; all CC BY 4.0. The graph is what a clean install of this version resolves today; nothing was installed or run. How it is checked.
| package | registry | version | runtime | secrets |
|---|---|---|---|---|
x402-trinity | npm | 0.2.4 | – | X402_PRIVATE_KEY |
No tools observed. Local packages are never executed by the registry.
Schemas: list_tools.
{
"name": "io.github.devmster/x402-trinity",
"title": "x402 Trinity",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"version": "0.2.4",
"packages": [
{
"version": "0.2.4",
"transport": {
"type": "stdio"
},
"identifier": "x402-trinity",
"registryType": "npm",
"environmentVariables": [
{
"name": "X402_PRIVATE_KEY",
"format": "string",
"isSecret": true,
"isRequired": true,
"description": "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."
},
{
"name": "X402_MAX_PER_REQUEST",
"format": "string",
"isRequired": true,
"description": "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.",
"placeholder": "50000"
},
{
"name": "X402_TOTAL_BUDGET",
"format": "string",
"isRequired": true,
"description": "Lifetime ceiling across all payments, in atomic units. Required for the same reason as the per-request cap.",
"placeholder": "1000000"
},
{
"name": "X402_BUDGET_FILE",
"format": "filepath",
"description": "Path to a file that makes the lifetime budget survive restarts. Without it the total resets every time the server starts.",
"placeholder": "./.x402-budget.json"
},
{
"name": "X402_ALLOW_HOSTS",
"format": "string",
"description": "Comma-separated hosts that may be paid. Anything else is refused however convincing the challenge looks.",
"placeholder": "api.example.com"
},
{
"name": "X402_NETWORKS",
"format": "string",
"description": "Networks to accept. Defaults to base.",
"placeholder": "base"
}
]
}
],
"repository": {
"url": "https://github.com/devmster/x402-trinity",
"source": "github"
},
"websiteUrl": "https://github.com/devmster/x402-trinity",
"description": "Give an agent a wallet. Pays for x402 resources within hard limits. Base + USDC, gasless."
}