mcp-server
v1.4.1MCP server for RougeChain — AI agents read AND transact on a post-quantum blockchain
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_chain_stats
Get RougeChain network statistics: block height, peer count, validator count, total supply
get_block
Get a block by height from the RougeChain blockchain
| Parameter | Type | Description |
|---|---|---|
height * | number | Block height to retrieve |
get_latest_blocks
Get the most recent blocks from the chain
| Parameter | Type | Description |
|---|---|---|
limit | number | Number of blocks to return (max 100) |
get_balance
Check XRGE or token balance for a wallet address or public key
| Parameter | Type | Description |
|---|---|---|
address * | string | Wallet address (rouge1...) or public key hex |
token | string | Token symbol (omit for XRGE native balance) |
get_transaction
Look up a specific transaction by hash
| Parameter | Type | Description |
|---|---|---|
hash * | string | Transaction hash |
list_tokens
List all custom tokens on RougeChain with their metadata
get_token
Get detailed metadata for a specific token by symbol
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Token symbol (e.g. ROUGE) |
get_token_holders
Get the top holders of a specific token
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Token symbol |
list_pools
List all liquidity pools on RougeChain DEX
get_swap_quote
Get a swap quote from the AMM (price, slippage, route)
| Parameter | Type | Description |
|---|---|---|
amount * | number | Amount of source token to swap |
from * | string | Source token symbol |
to * | string | Destination token symbol |
list_nft_collections
List all NFT collections on RougeChain
get_nft_collection
Get details and tokens for an NFT collection
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Collection symbol |
list_validators
List all validators on the RougeChain network with their stake and status
list_contracts
List all deployed WASM smart contracts on RougeChain
get_contract
Get metadata for a deployed smart contract
| Parameter | Type | Description |
|---|---|---|
address * | string | Contract address (hex) |
get_contract_state
Read contract storage. Omit key to dump all state; provide key for single-value lookup.
| Parameter | Type | Description |
|---|---|---|
address * | string | Contract address |
key | string | Storage key (hex or string). Omit to dump all state. |
get_contract_events
Get stored events emitted by a smart contract, newest first. Page with `before` (block height); pass `tx` to get only the events of one transaction.
| Parameter | Type | Description |
|---|---|---|
address * | string | Contract address |
before | integer | Only events from blocks below this height (older page) |
limit | integer | Max events to return (1-1000) |
tx | string | Only events emitted by this transaction hash |
query_contract
Call a contract method read-only: a free dry run against live state. Nothing is signed, charged or committed. Returns { success, returnData, gasUsed, events, error }. Use this for view methods and to preview a state-changing call before execute_contract. Pass attach to preview a paid (payable) call as the caller.
| Parameter | Type | Description |
|---|---|---|
address * | string | Contract address (hex) |
method * | string | Method name |
args | JSON arguments for the method (default {}) | |
attach | object | Pay the contract with this call (payable calls). XRGE: {symbol:'XRGE', amount_xrge:'0.5'}. Token: {symbol:'GOLD', amount: 25} (raw units). The payment moves to the contract ONLY if the call succeeds;… |
caller | string | Public key the contract sees as the caller (defaults to the configured wallet, if any) |
get_tx_receipt
Get the receipt of an included transaction: status is "Success" or {"Failed": "<error>"} (a contract call that reverted in its block is included, charged, and reported Failed). Returns 404-style { success: false } while the tx is still pending.
| Parameter | Type | Description |
|---|---|---|
hash * | string | Transaction hash / txId |
list_proposals
List governance proposals on RougeChain
get_fee_info
Get current EIP-1559 dynamic fee information (base fee, priority fee, burned fees)
resolve_name
Resolve a mail name (e.g. 'alice') to the wallet's public keys and encryption key. Names are registered as alice@rouge.quant or alice@qwalla.mail
| Parameter | Type | Description |
|---|---|---|
name * | string | Name to resolve (e.g. 'alice', without the @domain) |
reverse_lookup_name
Look up the registered mail name for a wallet ID or public key
| Parameter | Type | Description |
|---|---|---|
walletId * | string | Wallet ID or public key hex |
list_messenger_wallets
List all registered messenger wallets with their display names and encryption keys
get_global_timeline
Get the global social timeline — all posts, newest first
| Parameter | Type | Description |
|---|---|---|
limit | number | Max posts to return |
offset | number | Offset for pagination |
get_post
Get a single social post by ID with engagement stats
| Parameter | Type | Description |
|---|---|---|
postId * | string | Post ID (UUID) |
viewer | string | Viewer public key to check liked/reposted state |
get_user_posts
Get posts by a specific user
| Parameter | Type | Description |
|---|---|---|
pubkey * | string | User's public key |
limit | number | Max posts to return |
get_post_replies
Get threaded replies to a post
| Parameter | Type | Description |
|---|---|---|
postId * | string | Parent post ID |
limit | number | Max replies to return |
get_track_stats
Get social stats for a music track (plays, likes, comments)
| Parameter | Type | Description |
|---|---|---|
trackId * | string | Track/NFT token ID |
viewer | string | Viewer public key to check liked state |
get_artist_stats
Get social stats for an artist (followers, following count)
| Parameter | Type | Description |
|---|---|---|
pubkey * | string | Artist's public key |
viewer | string | Viewer public key to check follow state |
generate_wallet
Generate a brand-new post-quantum (ML-DSA-65) wallet: 24-word BIP-39 mnemonic, public key, and rouge1… address. The keys are NOT saved anywhere — copy the mnemonic somewhere safe, then set ROUGECHAIN_MNEMONIC to enable transacting.
wallet_info
Report the signing wallet this server is configured with (public key, address, live balance) and whether write/transaction tools are enabled.