An MCP server for Airflow 3.x that reads DAGs, runs, task instances, and log tails, and can trigger or clear tasks when write access is enabled. It authenticates to Airflow with JWT using the provided username and password and targets the Airflow REST API at /api/v2.
From the registry: Airflow MCP — list DAGs/runs/task instances, tail logs, trigger and clear (write-gated)
$ pnpm add -D @us-all/airflow-mcpPlease install the `airflow` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Install the package** — Install the Airflow MCP server package locally so it can be launched with npx. Run: `pnpm add -D @us-all/airflow-mcp`
- **Airflow API credentials** — Provide an Airflow 3.x REST API base URL plus username and password for JWT minting via SimpleAuthManager.
Canonical MCP server config (stdio transport):
- command: `npx`
- args: ["@us-all/airflow-mcp"]
- required environment variables:
- `AIRFLOW_API_URL`: Airflow host base URL. Pass the host base only; trailing /api/v1 or /api/v2 is stripped if supplied. (example: `<your-airflow-api-url>`)
- `AIRFLOW_USERNAME`: Airflow username used to mint JWT tokens via SimpleAuthManager /auth/token. (example: `<your-airflow-username>`)
- `AIRFLOW_PASSWORD`: Airflow password used to mint JWT tokens. (example: `<your-airflow-password>`)
- optional environment variables:
- `AIRFLOW_ALLOW_WRITE`: Set to true to enable write-gated tools: airflow-trigger-dag and airflow-clear-task. (example: `<true-or-false>`)
- `AIRFLOW_TOOLS`: Optional category/tool toggle configuration. (example: `<your-tools-setting>`)
- `AIRFLOW_DISABLE`: Optional category/tool disable configuration. (example: `<your-disable-setting>`)
Note: Default transport is MCP stdio. The README also mentions an optional HTTP mode enabled by setting MCP_TRANSPORT=http, but it does not provide a canonical HTTP server URL/config shape for clients.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.AIRFLOW_API_URLrequiredBase URL of the Airflow hostAIRFLOW_USERNAMErequiredUsername used to mint JWTs via SimpleAuthManagerAIRFLOW_PASSWORDrequiredPassword used to mint JWTsReal-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.
Persistent codebase knowledge graph. Survives session restarts and context compaction.
Validate oh-my-posh configurations and segment snippets against the official schema.