Glitter Agent Gate (x402)
v0.1.1Pay-per-call agent tools (web to Markdown, XRPL data, file conversion) via x402 in XRP or RLUSD.
Values you need
| Variable | What it is | |
|---|---|---|
XRPL_SEED | required secret | Seed of a dedicated low-balance agent wallet that pays per call. Never use a main wallet. |
X402_ALLOW_MAINNET | optional | Must be 'true' to pay on XRPL mainnet (real funds). Default: false |
GATEWAY_URL | optional | Gateway base URL Default: https://agents.glitterchainscout.trade |
X402_NETWORK | optional | Optional override. Default: the network the gateway advertises (production = xrpl:0 mainnet). |
MAX_XRP_PER_CALL | optional | Per-call spend cap in XRP Default: 0.1 |
SESSION_BUDGET_XRP | optional | Total XRP the server may spend per session Default: 1 |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add agent-gate -e 'XRPL_SEED=<XRPL_SEED>' -- npx -y glitter-agent-gate-mcp@0.1.1Add to
claude_desktop_config.json{
"mcpServers": {
"agent-gate": {
"args": [
"-y",
"glitter-agent-gate-mcp@0.1.1"
],
"command": "npx",
"env": {
"XRPL_SEED": "<XRPL_SEED>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"agent-gate": {
"args": [
"-y",
"glitter-agent-gate-mcp@0.1.1"
],
"command": "npx",
"env": {
"XRPL_SEED": "<XRPL_SEED>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "XRPL_SEED",
"id": "xrpl-seed",
"password": true,
"type": "promptString"
}
],
"servers": {
"agent-gate": {
"args": [
"-y",
"glitter-agent-gate-mcp@0.1.1"
],
"command": "npx",
"env": {
"XRPL_SEED": "${input:xrpl-seed}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.agent-gate]
command = "npx"
args = ["-y", "glitter-agent-gate-mcp@0.1.1"]
env = { "XRPL_SEED" = "<XRPL_SEED>" }For AI agents
- Ask the user for: XRPL_SEED. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: list_services, call_paid_service, web_to_markdown, xrpl_account_info, crypto_prices, convert_file, json_transform.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json