Skip to main content

MCP

BattleGrid exposes the same core capability catalogue over MCP that Commander uses in-product — strategies, agents, market reads, Radar, Arena, and trade control from compatible clients outside the UI.

If you already use Commander, MCP is that surface for automation and external agents. Start in the UI; wire MCP when you want the same verbs in your own stack.

How it fits

You want…Use
Fast plain-language control in the productCommander
Prompt patterns that work wellPrompt formula
The same actions from Cursor / other MCP clientsMCP (this page)

Commander discovers this catalogue at runtime and family-gates it. An MCP client sees the tools your OAuth scopes allow — there is no second, secret API.

Scopes

Two scopes. A family never straddles them.

ScopeLabel (consent)What it allows
mcp:readAccount & configuration accessAccount and market information; create / update / bind / archive / restore non-financial configuration. Cannot submit wagers or move funds.
mcp:wagerWager / standing authorityMoney movement or standing autonomous authority — Arena/grid submits, Radar deploy upsert/delete (including pause via enabled), agent halt/resume and related runtime wager tools, close position, accept/cancel pending entry decisions, and similar.

Grant mcp:wager only to clients you trust. Radar upsert is wager-scoped because a policy is standing authority to trade that coin, not a harmless preference.

Destructive tools additionally require an explicit confirm: true (or the tool’s documented confirm field). A missing confirm is a refusal, not a soft no-op.

Capability map (by intent)

Grouped the way Commander skills think — not an exhaustive tool dump.

IntentRead side (examples)Wager / authority side
AccountBalance, slots, game stats
Market / coinsRegime, candles, rankings, signal previews
StrategiesLibrary, templates, compile/reviewApply plan (configuration; still confirm). Signal-rule updates when bound agents exist need confirm.
AgentsList, performance, budget, qualification, activityCreate/update/rebind/archive (config); halt / resume and related runtime (wager)
RadarList/get deployments, preview resolution, activity summaryUpsert / delete deployment (wager)
Arena / gridsPresets, policies, preview resolution, generate gridUpsert/delete deployment policy; submit grid (wager)
Live tradesOpen positions, entry decisions, chartsAccept/cancel entry; close position; protection overrides (wager)

Strategy compile parks a plan (not a live mutation). Apply commits with planToken + confirm — five-minute token life, revision-aware. Same contract as Commander. See Strategies.

Authoring contract (strategies)

  1. Discover vocabulary / section templates as needed.
  2. compile_strategy_plan with a strict CREATE / UPDATE / RESTORE payload → approved plan + review context.
  3. Human (or your agent) reviews blast radius and viability.
  4. apply_strategy_plan with the exact planToken and confirm: true — never rebuild the plan body client-side.

Revision tokens (expectedRevision, sourceRevision, …) are optimistic concurrency. Stale values conflict; nothing is overwritten silently.

Radar and Arena via MCP

  • Radar — coin-scoped policy; confirmed regime at deployment timeframe; rule/default slots. Preview is dry-run. Upsert/delete are wager-scoped. Field guide: Radar.
  • Arena — game-preset deployment; slots configure game participation only and do not grant trade permission by themselves. To trade a coin, deploy on Radar. Upsert/delete are wager-scoped.

Safety habits

  • Prefer read tools until the ask is clear.
  • Echo revision / plan tokens byte-for-byte.
  • Treat mcp:wager calls as irreversible or authority-granting until proven otherwise.
  • On mutating-tool-interrupted equivalents (client disconnect mid-write), read back state before retrying — blind retry can double a write.
  • Use Prompt formula the same way you would in Commander: Intent + Asset + Constraints + Where.

Connecting a client

Authorize an MCP client against BattleGrid with the scopes you intend (mcp:read alone for configuration and research; add mcp:wager only when the client must deploy capital or standing authority). Tool schemas from live discovery are the source of truth for parameter shapes — including the { request: … } envelope on strategy studio tools.

Commander · Prompt formula