MCP Server Studio
Airflow MCP — list DAGs/runs/task instances, tail logs, trigger and clear (write-gated)
Registry name: io.github.us-all/airflow
Add to claude_desktop_config.json:
{
"mcpServers": {
"airflow": {
"command": "npx",
"args": [
"-y",
"@us-all/[email protected]"
],
"env": {
"AIRFLOW_API_URL": "<AIRFLOW_API_URL>",
"AIRFLOW_USERNAME": "<AIRFLOW_USERNAME>",
"AIRFLOW_PASSWORD": "<AIRFLOW_PASSWORD>",
"AIRFLOW_ALLOW_WRITE": "<AIRFLOW_ALLOW_WRITE>",
"AIRFLOW_TOOLS": "<AIRFLOW_TOOLS>",
"AIRFLOW_DISABLE": "<AIRFLOW_DISABLE>"
}
}
}
}Run in your terminal:
claude mcp add airflow -e AIRFLOW_API_URL='<AIRFLOW_API_URL>' -e AIRFLOW_USERNAME='<AIRFLOW_USERNAME>' -e AIRFLOW_PASSWORD='<AIRFLOW_PASSWORD>' -e AIRFLOW_ALLOW_WRITE='<AIRFLOW_ALLOW_WRITE>' -e AIRFLOW_TOOLS='<AIRFLOW_TOOLS>' -e AIRFLOW_DISABLE='<AIRFLOW_DISABLE>' -- npx -y @us-all/[email protected]Add to .cursor/mcp.json:
{
"mcpServers": {
"airflow": {
"command": "npx",
"args": [
"-y",
"@us-all/[email protected]"
],
"env": {
"AIRFLOW_API_URL": "<AIRFLOW_API_URL>",
"AIRFLOW_USERNAME": "<AIRFLOW_USERNAME>",
"AIRFLOW_PASSWORD": "<AIRFLOW_PASSWORD>",
"AIRFLOW_ALLOW_WRITE": "<AIRFLOW_ALLOW_WRITE>",
"AIRFLOW_TOOLS": "<AIRFLOW_TOOLS>",
"AIRFLOW_DISABLE": "<AIRFLOW_DISABLE>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"airflow": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@us-all/[email protected]"
],
"env": {
"AIRFLOW_API_URL": "<AIRFLOW_API_URL>",
"AIRFLOW_USERNAME": "<AIRFLOW_USERNAME>",
"AIRFLOW_PASSWORD": "<AIRFLOW_PASSWORD>",
"AIRFLOW_ALLOW_WRITE": "<AIRFLOW_ALLOW_WRITE>",
"AIRFLOW_TOOLS": "<AIRFLOW_TOOLS>",
"AIRFLOW_DISABLE": "<AIRFLOW_DISABLE>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"airflow": {
"command": "npx",
"args": [
"-y",
"@us-all/[email protected]"
],
"env": {
"AIRFLOW_API_URL": "<AIRFLOW_API_URL>",
"AIRFLOW_USERNAME": "<AIRFLOW_USERNAME>",
"AIRFLOW_PASSWORD": "<AIRFLOW_PASSWORD>",
"AIRFLOW_ALLOW_WRITE": "<AIRFLOW_ALLOW_WRITE>",
"AIRFLOW_TOOLS": "<AIRFLOW_TOOLS>",
"AIRFLOW_DISABLE": "<AIRFLOW_DISABLE>"
}
}
}
}| Name | Required | What it is |
|---|---|---|
AIRFLOW_API_URL | Yes | Airflow host base, e.g. 'http://airflow.example.com:8080'. Server prepends /api/v2 internally; trailing /api/v1 or /api/v2 is stripped if supplied. |
AIRFLOW_USERNAME | Yes | Airflow username (used to mint a JWT via SimpleAuthManager /auth/token). |
AIRFLOW_PASSWORD | Yes | Airflow password (used to mint a JWT via SimpleAuthManager /auth/token). |
AIRFLOW_ALLOW_WRITE | No | Set to 'true' to enable trigger-dag and clear-task tools. Default read-only. |
AIRFLOW_TOOLS | No | Comma-separated category allowlist (airflow,meta). |
AIRFLOW_DISABLE | No | Comma-separated category disablelist. |