MCP · TESTNET · v0.2.0
SMX MCP server
An MCP server for SMX event markets and the Space Markets Index on testnet (Base Sepolia, chain id 84532). 19 tools, all free, no key or account needed. It runs on your machine; there is no hosted endpoint at this address yet.
Install
npx -y smx-mcp
Claude Code: claude mcp add smx -- npx -y smx-mcp. Streamable HTTP on your machine: npx -y smx-mcp --http 8787, then point your client at http://localhost:8787/mcp.
Your wallet signs
The server never signs, sends or holds keys. smx_build_order, smx_build_cancel, smx_build_claim and perps_build_order return unsigned Base Sepolia transactions (to, data, value, chainId) that your agent signs and sends from its own wallet. Testnet only; test tokens have no value.
Tools (19, all free)
SMI data (2)
smi_get_latest: Latest Space Markets Index print: headline and sub-index summariessmi_get_methodology: SMI methodology, change log and counting rules
Market reads (7)
smx_list_markets: SMX testnet markets from the on-chain registry: status, bid/ask, YES midpoint, minimum ordersmx_get_market: One market with its order book by price level and contract addressessmx_get_book: Resting order book for one market, read from chainsmx_get_clears: Recent batch clears (trades) for one marketsmx_get_candles: OHLC candles of clear prices for one marketsmx_get_stats: 24h stats for one market: last clear, change, volumesmx_get_account_orders: Orders for a trader across markets, by wallet or SMX Account
Trading helpers and unsigned builders (5)
smx_trading_guide: Steps, addresses and order rules for trading from your own walletsmx_check_cancel_safety: Unclaimed-fill check before you cancel (claim before cancel)smx_build_order: Unsigned transactions to place a limit order from your own walletsmx_build_cancel: Unsigned transactions to cancel an order (claims any fills first)smx_build_claim: Unsigned claim transactions for every unclaimed fill in a market
Perps, testnet MockUSDC (5)
perps_list_markets: Testnet perps markets with leverage limits, rules and statusperps_quote: Indicative fill price, margin and liquidation price; no executionperps_build_order: Unsigned perps transactions (MockUSDC faucet, open, close)perps_positions: Open perps positions for a walletperps_account: Wallet readiness: gas, MockUSDC balance, allowances
Telemetry
Off by default. Requests to smx.space carry only a version header. Set SMX_MCP_TELEMETRY=1 to opt in to an anonymous install id and tool name header, used only to count usage.
Listings
npm: smx-mcp · MCP Registry: io.github.Space-Markets-HQ/smx-mcp · Source: github.com/Space-Markets-HQ/smx-mcp · Machine-readable: /.well-known/mcp.json · Quickstart · Terms
