API docs
Tools

Use Ochio from Claude

Ochio's MCP server lets Claude read the site and request missions in plain words, through the same API and the same safety gate as everyone else.

How it works

The Model Context Protocol lets an AI assistant call tools. Ochio's MCP server, ochio-mcp, gives Claude eight tools, and each one is a call to this API with the server's own key. That key decides what Claude can do.

Every mission Claude requests waits for a person to approve it, and there's no approve tool (a sandbox can switch that off; see the settings below). If the safety gate refuses a mission, Claude is told which check failed and explains it, without trying to work around it.

Set it up in Claude Desktop

  1. Make a key for Claude with read and missions:request. Add missions:approve only if Claude should be able to call a drone home.
  2. In Claude Desktop, open Settings → Developer → Edit Config and add the server, with the path to your Ochio folder, the full path to uv (which uv prints it) and the key.
  3. Restart Claude Desktop while Ochio is running, and ask: "What's the status of the site?"
SettingMeans
OCHIO_URLOchio's address. Default http://127.0.0.1:8700.
OCHIO_API_KEYThe key the tools use. Not needed against the sandbox in test mode.
OCHIO_MCP_APPROVALask (the default) makes every mission wait for a person. auto lets Claude's missions launch without one, if the key also has missions:launch: use it on a sandbox only.
claude_desktop_config.json
{
  "mcpServers": {
    "ochio": {
      "command": "/opt/homebrew/bin/uv",
      "args": ["run", "--directory", "/path/to/ochio-core", "ochio-mcp"],
      "env": {
        "OCHIO_URL": "http://127.0.0.1:8700",
        "OCHIO_API_KEY": "ochio_..."
      }
    }
  }
}
Requests from Claude carry the header Ochio-Client: claude-mcp, so they show in trigger.client.

Tools

ToolWhat it doesAPI call
site_statusVehicles and batteries, open alerts, active missions and silent sensors.GET /v1/status
list_alertsAlerts by status (active by default), newest first.GET /v1/alerts
list_vehiclesEach vehicle's status, battery, position and mission.GET /v1/vehicles
list_zonesZones and sensors, so a request can name them.GET /v1/zones, GET /v1/sensors
start_missionInspect a point, sensor, zone or alert, or patrol a zone. Waits for approval.POST /v1/missions
get_missionA mission's status, progress, history and result.GET /v1/missions/{id}
cancel_missionCalls a drone home. Needs missions:approve.POST /v1/missions/{id}/cancel
get_reportA mission's incident report, by report or mission id.GET /v1/reports/{id}

Things to ask

  • "What's the status of the site?"
  • "Are any sensors silent?"
  • "Send a drone to check the generator yard." The mission waits for approval in Mission Control.
  • "Send a drone to the fuel farm." Claude reports that the safety gate refused it: the fuel farm is a no-fly zone.
  • "What did the last mission find?"