Diagnose Airflow failures from UI links with bounded logs and optional recovery actions.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Independent community project; not affiliated with or endorsed by the Apache Software Foundation.
Published through PyPI, GHCR, and the official MCP Registry. Reproducible scan reports, dependency audits, SBOMs, and provenance are attached to each immutable release.
Connect Claude, Cursor, VS Code, or another MCP client to your Apache Airflow deployments and help agents diagnose failed DAGs.
Paste an Airflow UI link from a PagerDuty/Datadog alert and ask "why did this fail?" β the agent resolves the URL, finds the failed tasks, pulls log errors filtered and bounded before the MCP response, and can re-trigger or clear runs. Write tools carry destructive-operation annotations that MCP clients can use to request confirmation.
try_number semantics correctly (sensors included)AIRFLOW_MCP_READ_ONLY=true) that never registers write tools; write tools annotated as destructive; configured credentials are redacted from instance responses and operation logsrequest_id that matches the structured server logsAirflow 2.11? Use
--with 'apache-airflow-client==2.10.0'instead; 2.10.0 is the final generated v1 client and targets Airflow 2's stable API. See Airflow compatibility before using a different release.
The fastest path is a single instance configured entirely with environment variables β no config file needed.
Add to claude_desktop_config.json (Settings β Developer β Edit Config):
Add to ~/.cursor/mcp.json:
Add to .vscode/mcp.json:
Run the server yourself and point the client at the endpoint:
Health check: GET /health β 200 OK.
"Why did the latest run of
etl_pipelinefail?""https://airflow.example.com/dags/etl_pipeline/grid β what happened here, and is it safe to clear?"
"Show the failed task's error context and tell me the smallest recovery action."
The server talks to Airflow through the generated apache-airflow-client.
For Airflow 3, match the client release to your Airflow release: generated
models can change within a major version, and a newer client is not guaranteed
to deserialize an older server's responses correctly. Airflow 2.11 uses the
final v1 client release, 2.10.0, against Airflow 2's stable API.
| Your Airflow | REST API | Install | Live E2E status |
|---|---|---|---|
| 3.3 | v2 | uv tool install apache-airflow-mcp-server --with 'apache-airflow-client==3.3.0' | β 3.3.0 |
| 2.11 | v1 | uv tool install apache-airflow-mcp-server --with 'apache-airflow-client==2.10.0' | β Airflow 2.11 + final v1 client 2.10.0 |
| 3.0β3.2 | v2 | Pin the client to the deployed Airflow 3 version | π§ͺ Not in the current live matrix |
| 2.5β2.10 | v1 | Use the final v1 client, apache-airflow-client==2.10.0 | π§ͺ Not in the current live matrix |
When api_version isn't set, the server assumes the API matching the installed
client (v1 for a 2.x client, v2 for 3.x). Set
AIRFLOW_MCP_API_VERSION (or api_version: in the registry) explicitly to
catch a major-version mismatch early.
One server process can currently load only one generated client major. All instances in a registry must therefore use the same API family; run separate MCP server processes for Airflow 2 and Airflow 3. Mixed-version support requires a future client-adapter change and is not advertised as working today.
Airflow 3 notes:
POST /auth/token and refreshed periodically (AIRFLOW_MCP_TOKEN_REFRESH_SECONDS, default 3600 β keep it below your deployment's JWT expiry, and note there is no automatic re-auth on 401 yet).execution_date ordering maps to logical_date, datasets map to assets, and UI links use the Airflow 3 route scheme. Tool names and the core workflow stay stable; documented fields and options can differ by API family.include_subdags/include_parentdag, and the include_*/reset_dag_runs options of airflow_clear_dag_run) are rejected with INVALID_INPUT rather than silently narrowing a destructive operation.Both client families are exercised on relevant pull requests and main pushes. Bug reports from real Airflow deployments are very welcome!
| Variable | Required | Description |
|---|---|---|
AIRFLOW_MCP_HOST | β | Airflow base URL, e.g. https://airflow.example.com |
AIRFLOW_MCP_USERNAME / AIRFLOW_MCP_PASSWORD | β * | Basic auth credentials |
AIRFLOW_MCP_TOKEN | β * | Bearer/JWT token (used instead of basic auth) |
AIRFLOW_MCP_API_VERSION | v1 (Airflow 2) or v2 (Airflow 3); defaults to whichever matches the installed apache-airflow-client | |
AIRFLOW_MCP_VERIFY_SSL | Verify TLS certificates (default true) |
* provide either username+password or a token.
Point AIRFLOW_MCP_INSTANCES_FILE at a YAML registry (it takes precedence over the single-instance env vars). Values may reference environment variables with ${VAR}:
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/incident-response-mcp-for-apache-airflow)<a href="https://allmcps.com/mcp/incident-response-mcp-for-apache-airflow"><img src="https://allmcps.com/api/badge/incident-response-mcp-for-apache-airflow?style=directory" alt="Incident Response MCP for Apache Airflow on AllMCPs" /></a>