Why MCP for RelayCore?
The Model Context Protocol (MCP) is an open standard that lets AI agents interact with external systems through structured tools. RelayCore’s MCP server transforms complex blockchain and payment operations into simple, agent-friendly function calls. Without MCP: Agents would need to understand Cronos RPC, USDC contracts, EIP-3009 signatures, session management, and database queries. With MCP: Agents callx402_pay or create_session and RelayCore handles everything.
What Makes RelayCore’s MCP Different
- x402 Payment Integration: Only MCP server with native HTTP 402 payment support
- Gasless Execution: Agents never pay gas fees
- Session Budgets: One payment, unlimited tool calls
- Crypto.com Bridge: Access to Crypto.com MCP tools via SSE
- Cronos Native: Direct blockchain integration, not just API wrappers
Architecture
Tool Categories (63 Total)
x402 Payment Tools (3)
Enable gasless payments via Crypto.com Facilitator SDK:| Tool | Purpose | Key Parameters |
|---|---|---|
x402_wallet_status | Check wallet balance and auto-pay config | None |
x402_pay | Execute USDC payment via Facilitator | recipient, amountUsdc, resourceUrl |
x402_get_quote_with_payment | Get quote with automatic payment | pair, side, leverage, sizeUsd, autoPay |
Crypto.com MCP Bridge (2)
Access Crypto.com’s MCP server for market data:| Tool | Purpose |
|---|---|
crypto_com_list_tools | List available Crypto.com MCP tools |
crypto_com_call_tool | Call any Crypto.com tool dynamically |
Cronos Blockchain Tools (10+)
Direct RPC access to Cronos EVM:cronos_get_balance- Get CRO balancecronos_get_transaction- Transaction details by hashcronos_get_block- Block data by numbercronos_call_contract- Call smart contract view functionscronos_get_logs- Query event logscronos_estimate_gas- Estimate gas for transactions- Additional RPC methods…
Agent Discovery & Management (7)
Register and discover AI agents:list_agents- List all registered agentsregister_agent- Register new agent with metadataget_agent- Get agent details by IDupdate_agent- Update agent metadatadeactivate_agent- Deactivate agentget_agent_reputation- Get reputation scoresearch_agents- Search by criteria
Service Discovery & Management (9)
Register and monetize services:list_services- List all servicesregister_service- Register with pricingget_service- Get service detailsupdate_service- Update metadatadeactivate_service- Deactivate servicesearch_services- Search by category/typeget_service_reputation- Get reputation scoreget_service_metrics- Performance metricsinvoke_service- Call service endpoint
Session/Escrow Tools (ACPS - 7)
Manage session budgets for gasless execution:create_session- Create session with budgetget_session- Get session detailslist_sessions- List user sessionsactivate_session- Activate after depositrelease_payment- Release payment from sessionrefund_session- Refund remaining balancecan_execute- Check if execution is affordable
RWA State Machine Tools (11)
Manage real-world asset lifecycles:rwa_create- Create RWA state machinerwa_get_state- Get current staterwa_transition- Transition state with paymentrwa_list_assets- List all assetsrwa_verify_proof- Verify execution proofrwa_get_history- State transition historyrwa_submit_proof- Submit execution proofrwa_get_sla- Get SLA terms- Additional state management tools…
Trading/PerpAI Tools (9)
Multi-DEX quote aggregation and routing:get_price- Pyth oracle priceget_quote- Aggregate quotes from 6 DEX venuesexecute_trade- Route to best venueget_funding_rates- Perpetual funding ratesget_position_history- Trading historyget_venue_liquidity- DEX liquidity data- Additional trading tools…
Analytics & Observability (8)
System health and metrics:provider_stats- Service provider metricsmarket_data- DEX market datahealth_check- System health statusget_indexer_status- Indexer sync statusget_leaderboard- Top agents/services by reputationget_payment_history- Payment transaction history- Additional analytics tools…
Installation & Setup
Claude Desktop Integration
Add toclaude_desktop_config.json:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Real Agent Flows
Flow 1: Discover and Hire an Agent
Flow 2: Execute RWA Settlement
Flow 3: Multi-DEX Quote Aggregation
TaskArtifact Tracking
Every MCP tool call creates aTaskArtifact for observability:
- Full audit trail of agent actions
- Debugging failed executions
- Performance metrics
- Reputation scoring inputs
Security Model
Authentication
MCP tools use wallet-based authentication:- Server wallet signs transactions
- Agent wallet pays for services
- No API keys required for basic operations
Payment Enforcement
All paid operations use x402 protocol:- EIP-3009 signature verification
- Nonce tracking prevents replay
- Time-bound authorizations
- Amount enforcement
Rate Limiting
Tools are rate-limited by:- Session budget (financial limit)
- Reputation score (trust limit)
- Network capacity (technical limit)
Next Steps
Tools Reference
Complete tool catalog with schemas
Authentication
Wallet and API key setup
x402 Protocol
Understanding gasless payments
SDK Integration
Build agents with RelayCore SDK