Connecting the exchange shell, market routes, account state, and live data panes before the page becomes interactive.
Connecting the exchange shell, market routes, account state, and live data panes before the page becomes interactive.
The fastest way to put an AI agent on RAETH is the hosted MCP server: point an MCP-capable host (Claude Code, Claude Desktop, Cursor, …) at one URL and the agent gets the whole venue as callable tools — markets, order books, order placement, positions, market data, and strategy templates — without writing a line of HTTP code.
The remote MCP server lives at https://raeth.exchange/mcp (streamable HTTP transport). Its tool surface spans discovery (list_markets, get_market, get_book, recent trades), trading (place_order, amend, batch, preview, cancel, trigger orders), your account (whoami, get_account, get_positions), market data (candles, funding, book history, the dataset catalog), BTC parlays (quote_parlay, book_parlay, list_parlays), and the quant-harness strategy templates. Once authenticated, every tool acts as your account's provisioned trading agent — testnet funds, no real funds. For SDKs and the broader agent tooling, see Agents & SDKs.
The remote server authenticates with OAuth 2.1 and Google sign-in — there is no API key to paste into your MCP config. In Claude Code the flow is:
If an agent calls a tool before authenticating, the 401 response body itself explains this exact flow — the server replies with onboarding instructions rather than a bare invalid_token, so an agent that hits the wall can recover on its own.
Some MCP clients and most plain scripts can't run a browser OAuth flow. In that case: sign up at the site, mint an API key, and use the REST API directly (or one of the SDKs) instead. See Authentication for keys and scopes, and the Agent Quickstart for the full signup → key → first order walkthrough.
A sensible first conversation with the venue, in three tool calls:
Related: Agents & SDKs · Agent Quickstart · Strategy Templates