Skip to main content
Glama
rpc402-mcp

rpc402-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_DEMONo`1` = demo mode: no keyfile, no payment; calls send `X-PAYMENT: demo`. Only works against a local RPC402 instance running with `DEMO_MODE=1`.
RPC402_KEYFILENoPayer keyfile path for paid mode. Formats: `0x…` EVM private-key text file, Solana CLI keypair JSON, or base58 secret-key text file. The key never leaves your machine; it only signs the x402 payment authorization locally.
SOLANA_RPC_URLNoCustom Solana RPC used to build the payment transaction.
RPC402_BASE_URLNoAPI base URL. Default `https://rpc.zero-orbit.online`.https://rpc.zero-orbit.online
RPC402_PAY_NETWORKNoSettlement network preference: `base` (default), `solana`, or `polygon`. Must match the keyfile type (EVM key → base/polygon, Solana key → solana).base

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
token_balanceA

Balance of one token for one wallet, composed in a single RPC402 call ($0.002 USDC via x402): ERC-20 balanceOf+decimals+symbol (EVM) or SPL token-account sum + mint decimals (Solana). Returns balance (raw integer string), decimals, symbol (null on Solana), formatted.

wallet_balancesA

Whole wallet snapshot in ONE RPC402 call ($0.002 USDC via x402): native balance plus up to 20 token balances. Per-token failures degrade to marked entries (partial: true) instead of failing the call.

chain_statusB

Chain status bundle in one RPC402 call ($0.002 USDC via x402). EVM: block number, chain id, gas price (wei + gwei), head block timestamp/age. Solana: slot, block height, epoch, latest blockhash, health.

tx_lookupA

Transaction lookup composed in one RPC402 call ($0.002 USDC via x402): transaction + receipt — found, status (confirmed/pending/not_found), success, confirmations, value, gas used, effective gas price (EVM); slot, block time, fee, success (Solana). A nonexistent hash returns found:false, which is the answer, not an error.

event_logsA

Event logs for one contract in one RPC402 call ($0.002 USDC via x402). EVM: eth_getLogs (range cap 2,000 blocks, result cap 1,000; defaults fromBlock=toBlock-99, toBlock=head). Solana: latest transaction signatures for the account (getSignaturesForAddress) — Solana has no block-range log query; the response carries a note saying so.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 5 tools

Disambiguation5/5

Each tool targets a clearly distinct on-chain read concern: chain status, single-token balance, whole-wallet balances, transaction lookup, and event logs. The overlap between token_balance and wallet_balances is resolved by explicit scope differences in the descriptions.

Naming Consistency4/5

All names use consistent snake_case and are concise resource-oriented identifiers. There are minor pattern variations (singular token_balance vs plural wallet_balances; noun phrases like tx_lookup/event_logs) but nothing confusing.

Tool Count5/5

Five tools is well-scoped for a focused read-only RPC402 server, and each tool corresponds to a meaningful composite RPC operation. No obvious filler or missing tool-count pressure.

Completeness4/5

The surface covers the core read workflows: chain status, token balances, wallet snapshot, transaction lookup, and event logs. Some adjacent RPC capabilities such as block lookup, nonce/account metadata, or fee estimation are absent, but major workflows are covered.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues