arena-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| --testnet | No | Enable testnet mode connecting to the public Base Sepolia testnet (https://testnet.feraterra.app). | false |
| --http-listen-port | No | HTTP listen port for Streamable HTTP mode (example shown: 8765). | |
| --http-bearer-token | No | HTTP bearer token for Streamable HTTP mode authentication (example uses $MCP_SECRET). | |
| --max-order-notional-usd | No | Maximum order notional in USD (example shown: 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 a clearly distinct resource+action (markets, orderbook, portfolio, ledger tip, leaderboard, withdrawals, risk guardrails, prime subaccounts), so an agent can usually pick correctly. The only real overlaps are arena_login_wallet vs. arena_onboard_and_deposit (both authenticate), and the cluster of order-entry paths (place_order, replace_two_sided_quote, execute_atomic_basket, flash_arbitrage), which are distinguishable but require the agent to read the descriptions carefully.
All 24 tools share the arena_ prefix and snake_case verb_noun convention, which makes the set feel systematic. Minor deviations exist where the verb is buried or absent (arena_health_and_manifest) or where the name is an unwieldy compound (arena_get_withdrawals_and_escape_proof, arena_get_trades_and_candles), but nothing is inconsistent in style.
24 tools is on the heavy side, but the domain (an exchange protocol with trading, risk, ledger proofs, onboarding, and liquidity features) genuinely supports that breadth and each tool maps to a distinct endpoint or workflow. It would benefit from grouping some read-only diagnostics, but nothing feels like filler.
Coverage is broad: market data, orderbook/trades, portfolio, full order lifecycle (preview, place, modify, cancel/batch-cancel), risk configuration, deposits/withdrawals with escape proofs, ledger verification, liquidations, and arbitrage. Remaining gaps are minor—no dedicated order-history/fill-query tool and no standalone open-order listing (open orders are only surfaced inside arena_get_account_portfolio).