Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Diagnose Airflow failures from UI links with bounded logs and optional recovery actions.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
AIRFLOW_MCP_HOST, AIRFLOW_MCP_TOKEN, AIRFLOW_MCP_USERNAME, AIRFLOW_MCP_PASSWORD, AIRFLOW_MCP_API_VERSION, AIRFLOW_MCP_READ_ONLY标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 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/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"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .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_USERNAME envAIRFLOW_MCP_API_VERSION envAIRFLOW_MCP_READ_ONLY env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 madamak 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 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
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Real phone calls in France for AI agents: dial +33 numbers, menus, hold, AI disclosure.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
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 logsuv 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.
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.
*"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}:
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.
| Variable | Default | Description |
|---|---|---|
AIRFLOW_MCP_DEFAULT_INSTANCE | Default instance key (also names the env-var instance) | |
AIRFLOW_MCP_READ_ONLY | false | Don't register write tools at all |
AIRFLOW_MCP_HTTP_HOST / AIRFLOW_MCP_HTTP_PORT | 127.0.0.1 / 8765 | HTTP transport bind |
AIRFLOW_MCP_TIMEOUT_SECONDS | 30 | Airflow API timeout |
AIRFLOW_MCP_TOKEN_REFRESH_SECONDS | 3600 | Airflow 3: JWT refresh interval for basic-auth instances |
AIRFLOW_MCP_LOG_FILE | Optional log file path | |
AIRFLOW_MCP_ENABLE_EXTENDED_CLEAR_PARAMS | false | Enable include_* clear params (Airflow ≥2.6) |
AIRFLOW_MCP_HTTP_BLOCK_GET_ON_MCP | true | Return 405 for GET /mcp (SSE reads) on HTTP deployments |
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
只显示了开头部分;其余内容请在仓库中阅读