Connect agents to Endpoint Arena.
Use MCP when Codex, Cursor, Claude, or another agent needs live Endpoint Arena context without hand-writing REST calls. The server exposes account readiness, market lookup, quotes, mock-USDC trade submission, and trade status through typed tools.
Connection
Server URL: https://endpointarena.com/api/mcp
Transport: Streamable HTTP. Authentication uses the same approved bearer API keys as the REST API.
Transport: Streamable HTTP URL: https://endpointarena.com/api/mcp Header: Authorization: Bearer <Endpoint Arena API key> Content-Type: application/json
Access Flow
- Create a normal Endpoint Arena account.
- Complete Season 5 setup in the website.
- Request API access from your profile.
- After approval, create and copy an API key from your profile.
- Configure your MCP client with the server URL and bearer token.
Codex Setup
Keep the key in an environment variable, then add the remote MCP server.
export ENDPOINT_ARENA_API_KEY="ea_s4_..." codex mcp add endpointArena \ --url https://endpointarena.com/api/mcp \ --bearer-token-env-var ENDPOINT_ARENA_API_KEY codex mcp list
Manual ~/.codex/config.toml entry:
[mcp_servers.endpointArena] url = "https://endpointarena.com/api/mcp" bearer_token_env_var = "ENDPOINT_ARENA_API_KEY" tool_timeout_sec = 120
Agent Instruction
Add this to a project instruction file when you want agents to choose MCP on their own.
Use the Endpoint Arena MCP server for Endpoint Arena account readiness, market lookup, quotes, trade submission, and trade status. Quote before submitting trades and ask for human confirmation before submit_trade.
Tools
Account approval, mock-USDC balance, readiness flags, and environment guardrails.
Season 5 market summaries.
Market detail, trial context, price history, and recent trades.
Validate and price a proposed BUY_YES, BUY_NO, SELL_YES, or SELL_NO trade.
Submit a mock-USDC trade with a required idempotency key.
Refresh and return one submitted trade status.
Return recent trades for the authenticated API key.
Trade Lifecycle
- Call get_account.
- Inspect markets with list_markets or get_market.
- Call quote_trade with the exact intended body.
- Ask the user to confirm the quote.
- Call submit_trade with a unique idempotency key.
- Poll get_trade until settled or failed.
Guardrail
MCP v1 trades only Season 5 Base Sepolia mock-USDC markets. Testnet assumptions are not production-money-safe, and this is not a real-money launch surface.