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.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม 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": "ใส่ค่าของคุณ",
"AIRFLOW_MCP_TOKEN": "ใส่ค่าของคุณ",
"AIRFLOW_MCP_USERNAME": "ใส่ค่าของคุณ",
"AIRFLOW_MCP_PASSWORD": "ใส่ค่าของคุณ",
"AIRFLOW_MCP_API_VERSION": "ใส่ค่าของคุณ",
"AIRFLOW_MCP_READ_ONLY": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add apache-airflow --env AIRFLOW_MCP_HOST='ใส่ค่าของคุณ' --env AIRFLOW_MCP_TOKEN='ใส่ค่าของคุณ' --env AIRFLOW_MCP_USERNAME='ใส่ค่าของคุณ' --env AIRFLOW_MCP_PASSWORD='ใส่ค่าของคุณ' --env AIRFLOW_MCP_API_VERSION='ใส่ค่าของคุณ' --env AIRFLOW_MCP_READ_ONLY='ใส่ค่าของคุณ' -- 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": "ใส่ค่าของคุณ",
"AIRFLOW_MCP_TOKEN": "ใส่ค่าของคุณ",
"AIRFLOW_MCP_USERNAME": "ใส่ค่าของคุณ",
"AIRFLOW_MCP_PASSWORD": "ใส่ค่าของคุณ",
"AIRFLOW_MCP_API_VERSION": "ใส่ค่าของคุณ",
"AIRFLOW_MCP_READ_ONLY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"apache-airflow": {
"type": "stdio",
"command": "uvx",
"args": [
"apache-airflow-mcp-server"
],
"env": {
"AIRFLOW_MCP_HOST": "ใส่ค่าของคุณ",
"AIRFLOW_MCP_TOKEN": "ใส่ค่าของคุณ",
"AIRFLOW_MCP_USERNAME": "ใส่ค่าของคุณ",
"AIRFLOW_MCP_PASSWORD": "ใส่ค่าของคุณ",
"AIRFLOW_MCP_API_VERSION": "ใส่ค่าของคุณ",
"AIRFLOW_MCP_READ_ONLY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
AIRFLOW_MCP_USERNAME envAIRFLOW_MCP_API_VERSION envAIRFLOW_MCP_READ_ONLY envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub madamak ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: AIRFLOW_MCP_HOST, AIRFLOW_MCP_TOKEN, AIRFLOW_MCP_PASSWORD
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.0.2) เข้า registry 4 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, sync. labs
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
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.
Lipsync videos, dub them into other languages, make talking videos and open sync. Studio.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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
ตัดมาแค่ช่วงต้น อ่านต่อใน repo