Arena Exchange MCP Server
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| --testnet | No | Set to true to use the public Base Sepolia testnet (pass --testnet flag). | false |
| --http-listen-port | No | Port for the Streamable HTTP MCP server to listen on (e.g., "8765"). | |
| --http-bearer-token | No | Bearer token for authenticating Streamable HTTP MCP requests (e.g., "$MCP_SECRET"). | |
| --max-order-notional-usd | No | Maximum order notional in USD for risk control (e.g., "5000"). |
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
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| arena_health_and_manifestB | Check Arena Exchange daemon health, conservation status, WAL sequence, and public manifest. |
| arena_list_marketsA | List Arena Exchange markets (Spot, LinearPerpetual, FormulaPerpetual, BoundedClaim, SpreadBook) with exact tick/lot pricing and BBOs. |
| arena_get_orderbookC | Fetch live L2/L3 orderbook snapshot for an Arena market by symbol (e.g. BTC/USD:USD or BTC-USD-PERP) or market_id. |
| arena_get_trades_and_candlesC | Fetch recent trades and OHLCV candles for an Arena market. |
| arena_get_leaderboardA | Fetch the public Gladiator Leaderboard ranking active accounts by equity, PnL, maker BBO streak, volume, or ROI. |
| arena_get_account_portfolioC | Inspect account USD balances, physical Spot collateral, perp/claim positions, equity, IMR/MMR, drawdown stop, builder binding, and open orders. |
| arena_verify_ledger_tipA | Fetch GET /ledger/tip and cryptographically verify its ARENA_LEDGER_TIP_V2_1 Keccak-256 + secp256k1 operator signature. |
| arena_get_withdrawals_and_escape_proofC | Fetch account withdrawal vouchers and optionally verify an off-chain or L1 log-reconstructed Merkle emergency escape proof. |
| arena_login_walletC | Authenticate an Ethereum wallet via EIP-191 challenge/signature into this MCP session (secrets are bound internally and never echoed back). |
| arena_configure_risk_guardrailsC | Configure agent risk limits: portfolio drawdown kill-switch, per-position Knock-Out barrier, Rolling MMP, and TCP Cancel-on-Disconnect. |
| arena_manage_prime_subaccountB | Link, unlink (max_guaranty=-2), or execute 0-bps internal USD/base transfers between Prime master and sub-accounts. |
| arena_bind_builderC | Bind a trader account to a Builder / Order-Flow Router account and protocol cut share (0..5000 bps). |
| arena_place_orderC | Submit a limit/market/pegged/IOC/FOK/PostOnly/reduce-only order using exact USD/base or fixed-point tick/lot units over HTTP or 64B TCP wire. |
| arena_replace_two_sided_quoteC | Atomically replace both resting Bid and Ask quotes on a market via HTTP POST /quote or 64-byte TCP TwoSidedQuoteReplace. |
| arena_modify_orderB | Modify an existing resting order price and/or quantity with optional FIFO keep_priority. |
| arena_cancel_ordersB | Cancel a specific resting order by order_id or batch-cancel orders by market, side, client_tag_filter, or market_bitmask. |
| arena_execute_atomic_basketC | Execute an all-or-nothing 2..4-leg atomic cross-market basket / spread trade via POST /basket. |
| arena_portfolio_delta_hedgeC | Execute a 1-frame Jacobian residual delta-neutralizing hedge via POST /auto_delta_hedge. |
| arena_request_withdrawalC | Request an off-chain debit + operator-signed ARENA_WITHDRAW_V1_4 voucher (blocked unless --allow-withdrawals is explicitly enabled). |
| arena_subscribe_express_portC | Purchase or extend a Native Colocation Express Port lease (epochs) for priority wire tie-break and max Core 1 ingress batching. |
| arena_preview_orderB | Stateless dry-run order simulation via POST /order/preview (zero WAL, L3 book, or balance mutation). Returns estimated fills, resting lots, net fee/rebate, and pre/post Eigen-SPAN IMR/MMR/free margin. |
| arena_flash_arbitrageC | Execute zero-pre-margin intra-tick atomic Flash Arbitrage (mint+sell or buy+burn/redeem) on a Bonding-Curve Spot or BoundedClaim market via POST /flash_arb or 64B TCP wire. |
| arena_auto_liquidateC | Execute an autonomous zero-capital liquidation & backstop bounty sweep across underwater accounts via POST /auto_liquidate. |
| arena_onboard_and_depositC | Self-service AI agent onboarding: logs in or generates an ephemeral EIP-191 wallet, optionally requests testnet collateral from POST /faucet, and optionally deposits ERC-20 margin on-chain into Clearinghouse. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Arena Exchange Protocol Manifest | |
| Arena Exchange Live Market Directory | |
| Verified Sovereign WAL Ledger Tip |
TDQS
Scored across 24 tools
Most tools target clearly distinct resources or actions, and the descriptions sharply differentiate specialized execution paths like place_order, flash_arbitrage, atomic_basket, and delta_hedge. Minor overlap exists between onboarding/login and between general order placement and specialized order flows, but it is manageable.
All tools use the arena_ prefix and snake_case, which creates a predictable namespace. Most names follow verb_noun, with a few noun-first exceptions such as arena_portfolio_delta_hedge and arena_flash_arbitrage, but the convention remains readable.
At 24 tools, the surface is heavy for an MCP server even though each tool maps to a real exchange capability. Specialized features like express port leasing, leaderboard, auto-liquidation, and delta hedging add breadth but also raise cognitive load.
The surface covers onboarding/auth, market data, order lifecycle, risk controls, portfolio inspection, withdrawals, ledger verification, and liquidation. Minor gaps remain around dedicated order-status/fill-history endpoints and explicit funding-rate operations, though agents can partially work around these via portfolio and market tools.