Saltar al contenido principal

MCP Server

Endpoint: https://your-tenant.airspace.example/mcp

Authentication: OAuth 2.1 (claude.ai / Claude Desktop custom connectors — sign in with your staff account) or a tenant API key sent as Authorization: Bearer <key> / X-API-Key header (see API Keys)

Overview

Airspace exposes a system-wide Model Context Protocol server so AI agents — Claude, Claude Code, or any MCP-compatible client — can inspect and manage your airline conversationally. The maintenance module is available today: file and disposition defects, browse part health, and create MEL definitions with their penalties and trigger scenarios. More modules will join the same connector over time.

Every action is attributed in the technical logbook and audit records — to the staff member who signed in (OAuth) or to the API key's creator. Operational consequences are identical to the backoffice: deferring a defect activates the MEL and its SimBrief penalties, NO-GO grounds the aircraft, and staff Discord announcements fire as usual.

Connecting

claude.ai and Claude Desktop

Custom connectors don't support manual bearer tokens — they use OAuth, and no API key is needed:

  1. In Claude, add a custom connector with the URL https://your-tenant.airspace.example/mcp.
  2. Claude discovers the tenant's OAuth server and registers itself automatically.
  3. A browser window opens on your tenant — sign in with your staff account and approve the agent.

Everything the agent does is attributed to the account that approved it. Revoke access anytime by denying the connector or logging the session out.

Claude Code and other MCP clients

Either run the same OAuth flow, or skip the browser with a tenant API key:

claude mcp add airspace --transport http \
https://your-tenant.airspace.example/mcp \
--header "Authorization: Bearer ask_your_key_here"

Authorization

Every tool action is authorized with the same permissions the backoffice screens require: the acting staff member — the account that approved the OAuth connector, or the API key's creator — must hold the matching ability (view or edit) for the module. A missing permission returns a clear error instead of performing the action.

Tools

Fleet

ToolDescription
list-fleetThe fleet structure: fleets, subfleets, and aircraft counts. Subfleet ids scope parts, schedules, and aircraft.
upsert-fleetCreate or update a fleet (the family level, e.g. "Boeing 737") by name.
upsert-sub-fleetCreate or update a subfleet (the variant level, e.g. "737-800") by name within a fleet.
list-aircraftThe aircraft roster: registration, subfleet, location, base, hours/cycles, grounded state.
upsert-aircraftCreate or update an aircraft by registration. Grounding is not managed here — it flows through the defect tools.

Schedules & Network

ToolDescription
upsert-airportCreate or update an airport by ICAO. Airports must exist before schedules or aircraft locations reference them.
airport-briefingThe operational briefing: runways with per-fleet performance configs, services, threats, stands, alternates, and notes.
list-schedulesThe route network: flight numbers, airport pairs, distance, activity window, fleet allowlists.
create-scheduleCreate a schedule. Airports by ICAO; the great-circle distance is computed automatically when omitted.
update-scheduleUpdate flight numbers, airports, window, allowlists — or deactivate instead of deleting.

Dispatch

ToolDescription
list-load-profilesWeight-and-balance envelopes (OEW, MZFW, MTOW, MLW, max fuel) and OFP layouts.
upsert-load-profileCreate or update a load profile by name.
list-payload-profilesThe statistical distributions that generate realistic passenger, baggage, and cargo loads.
upsert-payload-profileCreate or update a payload profile by name (mean/stddev pairs, weights in kg).

Documentation

ToolDescription
list-docsThe table of contents of this documentation, grouped by section.
read-docRead one documentation page as markdown.
search-docsSearch the documentation and get ranked pages with excerpts.

Maintenance

ToolDescription
aircraft-maintenance-statusFull picture of one aircraft: condition, open defects with MEL disposition and deadlines, part lifecycle health, scheduled-check forecast.
list-defectsThe triage board — filter by status (open, deferred, nogo, rectified) or aircraft.
file-defectFile a squawk against a part. Lands open for staff triage, or disposes immediately with dispose: true.
defer-defectDefer an open defect under its best-matching MEL definition; escalates to grounding on a NO-GO match.
ground-defectMark a defect NO-GO: bookings cancelled, dispatch blocked, staff notified.
rectify-defectResolve a defect: lifts the MEL, fits a fresh part (lifecycle resets), returns the aircraft to service when nothing else holds it.
list-maintenance-partsThe part catalog with installed/required counts, mean life, subfleet fitment, and open defect counts.
upsert-maintenance-partCreate or update a part by code; queues the async fleet-wide instance resync.
list-mel-definitionsMEL definitions with repair categories, NO-GO flags, dispatch penalties, and trigger scenarios.
create-mel-definitionCreate a MEL definition complete with penalties and part-failure trigger scenarios.

Rate Limits

The MCP endpoint shares the private API's limit of 120 requests per minute per client.

nota

More modules (bookings, flights, charter, career) will join the same connector over time — tell us which ones you want first.