Agentic Web · Public MCP & Fleet API Reference
Model Context Protocol (MCP) + Pre-Flight Dispatch API

Connect Claude, ChatGPT & fleet agents to deterministic dispatch gates.

Query real-time airworthiness, verify 6-gate pre-flight clearance, inspect pilot duty currency, and stream `.BIN` / `.ULG` logs using your workspace `uav_live_` Bearer key. MCP tools are strictly read-only—no AI agent can clear a grounded defect or override a safety gate.

Zero Mutation Surface on MCP

MCP exposes 4 read-only compliance tools and server/discover. Only Chief Pilots or Maintenance Techs can clear Grounded tickets inside the authenticated app.

SHA-256 & Tenant RLS Isolation

Every Bearer uav_live_ key is SHA-256 hashed at rest and scoped strictly to a single organization workspace via Supabase Row Level Security.

Unauthenticated server/discover

Agents can call JSON-RPC 2.0 server/discover on POST /api/v1/mcp without credentials to inspect protocol versions, tools, and auth requirements.

Client Configuration

Copy-ready MCP setup for Claude, ChatGPT & IDE agents

{
  "mcpServers": {
    "uavcomply": {
      "url": "https://www.uavcomply.com/api/v1/mcp",
      "transport": "http",
      "headers": {
        "Authorization": "Bearer uav_live_YOUR_WORKSPACE_KEY"
      }
    }
  }
}
Endpoints & Read-Only MCP Tools

Production API & MCP Contracts

POST/api/v1/mcp

Read-Only MCP Server (JSON-RPC 2.0)

Auth: Public for server/discover · Bearer uav_live_ for initialize, tools/list, tools/call

Connect Claude, ChatGPT, Cursor, or autonomous fleet agents to inspect airframe airworthiness, run 6-gate pre-flight dispatch checks, check pilot currency, and fetch insurance scorecards—with zero write or safety-override mutations exposed.

curl -sS -X POST https://www.uavcomply.com/api/v1/mcp \
  -H "Authorization: Bearer uav_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_fleet_readiness","arguments":{}}}'
POST/api/v1/dispatch/check

Pre-Flight Dispatch Gate (HTTP 409 on NO_GO)

Auth: Authorization: Bearer uav_live_...

Evaluates 6 deterministic safety gates (airframe grounding lock, firmware baseline drift, pilot duty & currency, corridor ED-318 geo-zones, weather/Kp freshness, and open defects). Pass strictHttpCode: true to enforce HTTP 409 on NO_GO inside automated GCS scripts.

curl -sS -X POST https://www.uavcomply.com/api/v1/dispatch/check \
  -H "Authorization: Bearer uav_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"aircraftId":"YOUR_AIRCRAFT_ID","strictHttpCode":true}'
GET/api/v1/fleet/readiness

Fleet Readiness Snapshot

Auth: Authorization: Bearer uav_live_...

Returns tenant-isolated airframe status (WITHIN_SCREENING_BOUNDS / GROUNDED / REVIEW_REQUIRED), firmware lock status, hull insurance expiry, and flight counts.

curl -sS https://www.uavcomply.com/api/v1/fleet/readiness \
  -H "Authorization: Bearer uav_live_YOUR_KEY"
POST/api/v1/telemetry/ingest

Telemetry Ingest (.BIN / .ULG & 2 GB+ Streaming)

Auth: Authorization: Bearer uav_live_...

Ingests ArduPilot .BIN and PX4 .ULG logs from Ground Control Stations, companion computers, or Desktop Auto-Sync. Supports multipart <= 4 MB, signed upload tickets (4–100 MB), and streaming SHA-256 + parsed JSON (> 100 MB to 2 GB+).

curl -sS -X POST https://www.uavcomply.com/api/v1/telemetry/ingest \
  -H "Authorization: Bearer uav_live_YOUR_KEY" \
  -F "aircraftId=YOUR_AIRCRAFT_ID" \
  -F "file=@flight_0001.BIN"