原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Incident Response MCP for Apache Airflow

作者:madamak版本 1.0.2i★ –i在你的电脑上运行
注册名称io.github.madamak/apache-airflow-mcp-server

安装

概览

作者提供的说明(英文原文)

Diagnose Airflow failures from UI links with bounded logs and optional recovery actions.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他
  • 你需要填写:AIRFLOW_MCP_HOST, AIRFLOW_MCP_TOKEN, AIRFLOW_MCP_PASSWORD

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: AIRFLOW_MCP_HOST, AIRFLOW_MCP_TOKEN, AIRFLOW_MCP_USERNAME, AIRFLOW_MCP_PASSWORD, AIRFLOW_MCP_API_VERSION, AIRFLOW_MCP_READ_ONLY

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "apache-airflow": {
      "command": "uvx",
      "args": [
        "apache-airflow-mcp-server"
      ],
      "env": {
        "AIRFLOW_MCP_HOST": "your-value",
        "AIRFLOW_MCP_TOKEN": "your-value",
        "AIRFLOW_MCP_USERNAME": "your-value",
        "AIRFLOW_MCP_PASSWORD": "your-value",
        "AIRFLOW_MCP_API_VERSION": "your-value",
        "AIRFLOW_MCP_READ_ONLY": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add apache-airflow --env AIRFLOW_MCP_HOST=your-value --env AIRFLOW_MCP_TOKEN=your-value --env AIRFLOW_MCP_USERNAME=your-value --env AIRFLOW_MCP_PASSWORD=your-value --env AIRFLOW_MCP_API_VERSION=your-value --env AIRFLOW_MCP_READ_ONLY=your-value -- uvx apache-airflow-mcp-server

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "apache-airflow": {
      "command": "uvx",
      "args": [
        "apache-airflow-mcp-server"
      ],
      "env": {
        "AIRFLOW_MCP_HOST": "your-value",
        "AIRFLOW_MCP_TOKEN": "your-value",
        "AIRFLOW_MCP_USERNAME": "your-value",
        "AIRFLOW_MCP_PASSWORD": "your-value",
        "AIRFLOW_MCP_API_VERSION": "your-value",
        "AIRFLOW_MCP_READ_ONLY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "apache-airflow": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "apache-airflow-mcp-server"
      ],
      "env": {
        "AIRFLOW_MCP_HOST": "your-value",
        "AIRFLOW_MCP_TOKEN": "your-value",
        "AIRFLOW_MCP_USERNAME": "your-value",
        "AIRFLOW_MCP_PASSWORD": "your-value",
        "AIRFLOW_MCP_API_VERSION": "your-value",
        "AIRFLOW_MCP_READ_ONLY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • AIRFLOW_MCP_HOST 必填 env
    Base URL of the Airflow instance.
  • AIRFLOW_MCP_TOKEN 机密 env
    Bearer token. Provide this or both username and password; it takes precedence when set.
  • AIRFLOW_MCP_USERNAME env
    Basic-auth username. Required with password when token is omitted.
  • AIRFLOW_MCP_PASSWORD 机密 env
    Basic-auth password. Required with username when token is omitted.
  • AIRFLOW_MCP_API_VERSION env
    The directory install uses the Airflow 3 client. See the README for Airflow 2 setup.
  • AIRFLOW_MCP_READ_ONLY env
    Expose only read tools unless write access is deliberately selected.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 madamak 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 32691 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 32691 个服务器的 18% 更新
  • 基础检查结果等于或优于此分类中其他 32691 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Incident Response MCP for Apache Airflow 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:AIRFLOW_MCP_HOST, AIRFLOW_MCP_TOKEN, AIRFLOW_MCP_PASSWORD

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.0.2)于4个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, Dialyne

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211前天更新
安装

Dialyne

作者:dialyne

Real phone calls in France for AI agents: dial +33 numbers, menus, hold, AI disclosure.

在云端运行今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Apache Airflow MCP Server

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.

Highlights

  • 🔍 Incident-response first — resolve Airflow UI URLs straight to the failing task, filter logs by error level with context lines, follow try_number semantics correctly (sensors included)
  • 🏢 Multi-instance — one server for same-API-family dev/staging/prod targets, with per-instance credentials and an SSRF guard that rejects unknown hosts
  • 🔒 Safety controls — opt-in read-only mode (AIRFLOW_MCP_READ_ONLY=true) that never registers write tools; write tools annotated as destructive; configured credentials are redacted from instance responses and operation logs
  • 📉 Token-efficient — log tailing, level filtering, byte caps, and truncation metadata designed for LLM context windows
  • 🧭 Airflow 2 and 3 — API v1/v2 adapters with live E2E against Airflow 2.11 and 3.3, including JWT auth
  • 📎 Traceable — every response carries a request_id that matches the structured server logs

Quickstart

1. Install
uv tool install apache-airflow-mcp-server \

--with 'apache-airflow-client==3.3.0' # replace 3.3.0 with your Airflow version

Airflow 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.

2. Connect your MCP client

The fastest path is a single instance configured entirely with environment variables — no config file needed.

Claude Code

claude mcp add airflow \

--env AIRFLOW_MCP_HOST=https://airflow.example.com \ --env AIRFLOW_MCP_USERNAME=admin \ --env AIRFLOW_MCP_PASSWORD=your-password \ --env AIRFLOW_MCP_READ_ONLY=true \ -- uvx --from apache-airflow-mcp-server \ --with apache-airflow-client==3.3.0 airflow-mcp --transport stdio

</details>

Claude Desktop

Add to claude_desktop_config.json (Settings → Developer → Edit Config):

{

"mcpServers": { "airflow": { "command": "uvx", "args": ["--from", "apache-airflow-mcp-server", "--with", "apache-airflow-client==3.3.0", "airflow-mcp", "--transport", "stdio"], "env": { "AIRFLOW_MCP_HOST": "https://airflow.example.com", "AIRFLOW_MCP_USERNAME": "admin", "AIRFLOW_MCP_PASSWORD": "your-password", "AIRFLOW_MCP_READ_ONLY": "true" } } } }

</details>

Cursor

Add to ~/.cursor/mcp.json:

{

"mcpServers": { "airflow": { "command": "uvx", "args": ["--from", "apache-airflow-mcp-server", "--with", "apache-airflow-client==3.3.0", "airflow-mcp", "--transport", "stdio"], "env": { "AIRFLOW_MCP_HOST": "https://airflow.example.com", "AIRFLOW_MCP_USERNAME": "admin", "AIRFLOW_MCP_PASSWORD": "your-password", "AIRFLOW_MCP_READ_ONLY": "true" } } } }

</details>

VS Code (Copilot)

Add to .vscode/mcp.json:

{

"servers": { "airflow": { "type": "stdio", "command": "uvx", "args": ["--from", "apache-airflow-mcp-server", "--with", "apache-airflow-client==3.3.0", "airflow-mcp", "--transport", "stdio"], "env": { "AIRFLOW_MCP_HOST": "https://airflow.example.com", "AIRFLOW_MCP_USERNAME": "admin", "AIRFLOW_MCP_PASSWORD": "your-password", "AIRFLOW_MCP_READ_ONLY": "true" } } } }

</details>

Any client, over HTTP

Run the server yourself and point the client at the endpoint:

AIRFLOW_MCP_HOST=https://airflow.example.com \

AIRFLOW_MCP_USERNAME=admin AIRFLOW_MCP_PASSWORD=your-password \ AIRFLOW_MCP_READ_ONLY=true \ airflow-mcp --transport http --host 127.0.0.1 --port 8765

{ "mcpServers": { "airflow": { "url": "http://127.0.0.1:8765/mcp" } } }

Health check: GET /health → 200 OK.

3. Ask your agent something

*"Why did the latest run of etl_pipeline fail?"*

*"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."*

Airflow compatibility

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 AirflowREST APIInstallLive E2E status
3.3v2uv tool install apache-airflow-mcp-server --with 'apache-airflow-client==3.3.0'✅ 3.3.0
2.11v1uv 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.2v2Pin the client to the deployed Airflow 3 version🧪 Not in the current live matrix
2.5–2.10v1Use 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:

  • Auth: bearer tokens are passed through as JWTs; basic credentials are automatically exchanged for a JWT via 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.
  • Clear options that no longer exist in Airflow 3 (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!

Configuration

Single instance (env vars only)
VariableRequiredDescription
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_VERSIONv1 (Airflow 2) or v2 (Airflow 3); defaults to whichever matches the installed apache-airflow-client
AIRFLOW_MCP_VERIFY_SSLVerify TLS certificates (default true)

\* provide either username+password or a token.

Multiple instances (registry YAML)

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}:

data-stg:

host: https://airflow.data-stg.example.com/ api_version: v1 # Airflow 2 verify_ssl: true auth: type: basic username: ${AIRFLOW_DATA_STG_USERNAME} password: ${AIRFLOW_DATA_STG_PASSWORD}

data-prod: host: https://airflow.data-prod.example.com/ api_version: v1 # Keep one client/API family per server process auth: type: bearer token: ${AIRFLOW_DATA_PROD_TOKEN}

Every tool accepts either an instance key (data-stg) or a ui_url — a full http(s) Airflow UI URL whose host is resolved against the registry, with unknown hosts rejected (SSRF guard). ui_url also auto-fills dag_id/dag_run_id/task_id when the link contains them. If both instance and ui_url are passed and disagree, the call fails with INSTANCE_MISMATCH rather than guessing.

Kubernetes tip: mount the registry from a Secret at /config/instances.yaml and set AIRFLOW_MCP_INSTANCES_FILE=/config/instances.yaml.

Server options
VariableDefaultDescription
AIRFLOW_MCP_DEFAULT_INSTANCEDefault instance key (also names the env-var instance)
AIRFLOW_MCP_READ_ONLYfalseDon't register write tools at all
AIRFLOW_MCP_HTTP_HOST / AIRFLOW_MCP_HTTP_PORT127.0.0.1 / 8765HTTP transport bind
AIRFLOW_MCP_TIMEOUT_SECONDS30Airflow API timeout
AIRFLOW_MCP_TOKEN_REFRESH_SECONDS3600Airflow 3: JWT refresh interval for basic-auth instances
AIRFLOW_MCP_LOG_FILEOptional log file path
AIRFLOW_MCP_ENABLE_EXTENDED_CLEAR_PARAMSfalseEnable include_* clear params (Airflow ≥2.6)
AIRFLOW_MCP_HTTP_BLOCK_GET_ON_MCPtrueReturn 405 for GET /mcp (SSE reads) on HTTP deployments
Read-only mode

The quickstarts set AIRFLOW_MCP_READ_ONLY=true: write tools (trigger, clear, pause/unpause) are never registered. This prevents MCP mutations, but read tools can still disclose sensitive logs, configuration, rendered fields, and DAG-run data; use least-privilege Airflow credentials.

To enable recovery operations deliberately, set AIRFLOW_MCP_READ_ONLY=false. Write tools then carry MCP destructiveHint annot

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx