Agentic PX4 flight debugging via MCP
Give Claude, Cursor, or OpenAI Codex direct MCP tools to investigate your PX4 logs. Your agent slices telemetry, plots signals, and synthesizes root causes—backed by real code diagnostics with zero server LLM cost.
1. Fastest setup: one command
Run npx -y @flightassistant/mcp setup in your terminal. It opens your browser to sign in, saves your fi_... key locally, and automatically configures Claude Desktop, Claude Code, Cursor, Windsurf, VS Code, and OpenAI Codex.
2. Or configure manually
Prefer to configure by hand? Sign in, open API Keys & MCP in your dashboard, create a fi_ key, and paste one of the configs below.
npx -y @flightassistant/mcp setupOpens your browser to sign in, saves your key to ~/.flightassistant/config.json, and auto-configures Claude Desktop, Claude Code, Cursor, and Codex.
3. Ask your agent about a flight
Try prompts like:
- “Analyze ~/logs/flight_42.ulg and tell me whether it crashed and what the root cause was.”
- “List my last five flights and compare their vibration and EKF innovation levels.”
- “Plot the EKF innovations and battery voltage around the failsafe in my latest flight.”
4. Inspect saved reports & telemetry in the web dashboard
Every flight analyzed over MCP is saved to your account. Sign in to view Flight Reports to browse ranked findings, interactive telemetry plots, and parameter tables in your browser.
Tools worth knowing by name
You rarely need to name a tool: your agent sees the full set when it connects and picks what it needs. These are the ones people mention in prompts.
analyze_local_loglocal server- Analyze a .ulg on your disk or SD card and return the full report in one call.
get_flight_report- The verdict and ranked findings for a flight already on your account.
plot- Render a PNG plot of a built-in view or any logged fields.
Good to know
- Logs must be PX4 ULog (.ulg) files up to 512 MB.
- Remote endpoint:
https://mcp.flightassistant.app/mcp(Streamable HTTP with OAuth 2.1 PKCE or Bearer API key). - Claude Code users can also load the bundled plugin (MCP + PX4 triage skills) with
claude --plugin-dir .. - Revoke a key any time in Settings and it stops working immediately.