mcp-server

v1.4.1
@rougechain/mcp-server Checked 1 day ago Published 25 days ago

MCP 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

ParameterTypeDescription
height *numberBlock height to retrieve

get_latest_blocks

Get the most recent blocks from the chain

ParameterTypeDescription
limitnumberNumber of blocks to return (max 100)

get_balance

Check XRGE or token balance for a wallet address or public key

ParameterTypeDescription
address *stringWallet address (rouge1...) or public key hex
tokenstringToken symbol (omit for XRGE native balance)

get_transaction

Look up a specific transaction by hash

ParameterTypeDescription
hash *stringTransaction hash

list_tokens

List all custom tokens on RougeChain with their metadata

get_token

Get detailed metadata for a specific token by symbol

ParameterTypeDescription
symbol *stringToken symbol (e.g. ROUGE)

get_token_holders

Get the top holders of a specific token

ParameterTypeDescription
symbol *stringToken symbol

list_pools

List all liquidity pools on RougeChain DEX

get_swap_quote

Get a swap quote from the AMM (price, slippage, route)

ParameterTypeDescription
amount *numberAmount of source token to swap
from *stringSource token symbol
to *stringDestination token symbol

list_nft_collections

List all NFT collections on RougeChain

get_nft_collection

Get details and tokens for an NFT collection

ParameterTypeDescription
symbol *stringCollection 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

ParameterTypeDescription
address *stringContract address (hex)

get_contract_state

Read contract storage. Omit key to dump all state; provide key for single-value lookup.

ParameterTypeDescription
address *stringContract address
keystringStorage 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.

ParameterTypeDescription
address *stringContract address
beforeintegerOnly events from blocks below this height (older page)
limitintegerMax events to return (1-1000)
txstringOnly 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.

ParameterTypeDescription
address *stringContract address (hex)
method *stringMethod name
argsJSON arguments for the method (default {})
attachobjectPay 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;…
callerstringPublic 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.

ParameterTypeDescription
hash *stringTransaction 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

ParameterTypeDescription
name *stringName to resolve (e.g. 'alice', without the @domain)

reverse_lookup_name

Look up the registered mail name for a wallet ID or public key

ParameterTypeDescription
walletId *stringWallet 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

ParameterTypeDescription
limitnumberMax posts to return
offsetnumberOffset for pagination

get_post

Get a single social post by ID with engagement stats

ParameterTypeDescription
postId *stringPost ID (UUID)
viewerstringViewer public key to check liked/reposted state

get_user_posts

Get posts by a specific user

ParameterTypeDescription
pubkey *stringUser's public key
limitnumberMax posts to return

get_post_replies

Get threaded replies to a post

ParameterTypeDescription
postId *stringParent post ID
limitnumberMax replies to return

get_track_stats

Get social stats for a music track (plays, likes, comments)

ParameterTypeDescription
trackId *stringTrack/NFT token ID
viewerstringViewer public key to check liked state

get_artist_stats

Get social stats for an artist (followers, following count)

ParameterTypeDescription
pubkey *stringArtist's public key
viewerstringViewer 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.