MCP Server (AI Agent Integration)

RougeChain is the first blockchain with native MCP (Model Context Protocol) integration. AI agents like Claude, ChatGPT, and custom agents can interact with the blockchain using standardized MCP tools.

What is MCP?

The Model Context Protocol is an open standard for AI agents to interact with external services. RougeChain's MCP server exposes 29 blockchain tools that any MCP-compatible agent can use.

Setup

cd mcp-server
npm install
npm run build

Claude Desktop

Add to ~/.config/claude/claude_desktop_config.json:

{
  "mcpServers": {
    "rougechain": {
      "command": "node",
      "args": ["/path/to/mcp-server/dist/index.js"],
      "env": {
        "ROUGECHAIN_URL": "https://rougechain.io"
      }
    }
  }
}

Available Tools (29)

CategoryTools
Chainget_chain_stats, get_block, get_latest_blocks
Walletget_balance, get_transaction
Tokenslist_tokens, get_token, get_token_holders
DeFilist_pools, get_swap_quote
NFTslist_nft_collections, get_nft_collection
Validatorslist_validators
Contractslist_contracts, get_contract, get_contract_state, get_contract_events, deploy_contract, call_contract
Socialget_global_timeline, get_post, get_user_posts, get_post_replies, get_track_stats, get_artist_stats
Mail & Messagingresolve_name, reverse_lookup_name, list_messenger_wallets
Otherlist_proposals, get_fee_info

Architecture

AI Agent (Claude / GPT / Custom)
    ↕ stdio (MCP protocol)
RougeChain MCP Server
    ↕ HTTPS
RougeChain Node API
    ↕ PQC-signed transactions
RougeChain L1 (ML-DSA + ML-KEM)

All operations maintain post-quantum security guarantees.

Resources

The MCP server also exposes a rougechain://info resource with static context about RougeChain's technology stack, features, and API endpoints.