Step 8/13
~5 min

Connect Your First Agent

Hook up an AI coding agent to Mission Control.

How Agents Connect

Agents communicate with Mission Control through the OpenClaw Gateway. Each agent polls for tasks and reports back status updates via SSE (Server-Sent Events).

Claude Code

Add the Mission Control MCP server to your Claude Code config:

claude mcp add mission-control http://localhost:4000/mcp

Or add it manually to your ~/.claude/claude_desktop_config.json:

{
  "mcpServers": {
    "mission-control": {
      "url": "http://localhost:4000/mcp",
      "headers": {
        "Authorization": "Bearer your-bearer-token"
      }
    }
  }
}

Codex CLI

export MISSION_CONTROL_URL=http://localhost:4000
export MISSION_CONTROL_TOKEN=your-bearer-token
codex --mission-control

Gemini CLI

gemini config set mission-control.url http://localhost:4000
gemini config set mission-control.token your-bearer-token

Verify the Connection

After configuring your agent, check the Mission Control dashboard. Your agent should appear in the Agents panel within a few seconds of starting it.