astro-airflow-mcp Logo

astro-airflow-mcp

Official

An MCP server that enables AI assistants to interact with Apache Airflow's REST API for DAG manageme...

416 views
2 installs
Updated Jan 19, 2026
Not audited
An MCP server that enables AI assistants to interact with Apache Airflow's REST API for DAG management, task monitoring, and system diagnostics. It provides comprehensive tools for triggering workflows, retrieving logs, and inspecting system health across Airflow 2.x and 3.x versions.
  1. Click the "Install Now" button to open the FastMCP connection interface. Fill the environment variables below into the form fields in that interface (FastMCP will use these values when starting the MCP server).

  2. AIRFLOW_API_URL — find your Airflow webserver URL:

    • If you run Airflow locally (Astro CLI / default), use http://localhost:8080. (astronomer.io)
  3. AIRFLOW_USERNAME and AIRFLOW_PASSWORD — create or obtain a user for API access:

    • Option A (CLI): SSH/exec into the Airflow environment (or run inside the Airflow container) and run:
      airflow users create --username --firstname --lastname --email you@example.com --role Admin --password
      This creates a user you can use for API authentication. (airflow.apache.org)
    • Option B (UI): Log into the Airflow web UI (Admin / Security / Users or equivalent) and create a user with an appropriate role (Admin/User with API access). (airflow.apache.org)
  4. AIRFLOW_AUTH_TOKEN — (alternative to username/password) obtain a JWT bearer token:

    • If your Airflow uses the FAB auth manager (or other token-capable auth manager), generate a JWT token by POSTing credentials to the Airflow token endpoint:
      curl -X POST "http:///auth/token" -H "Content-Type: application/json" -d '{"username":"","password":""}'
      The response contains a JWT you can use for API calls. Paste the JWT string into the AIRFLOW_AUTH_TOKEN field in the FastMCP interface (the MCP will send it in the Authorization: Bearer header). (airflow.apache.org)
  5. Which auth method to pick:

    • Use AIRFLOW_AUTH_TOKEN if you prefer a single bearer token for programmatic access (supported when your Airflow auth manager exposes /auth/token). Otherwise supply AIRFLOW_USERNAME and AIRFLOW_PASSWORD and let the MCP perform any necessary token exchange. (airflow.apache.org)
  6. Save the environment values in the FastMCP connection interface and start the MCP ("Install"/"Connect" action). FastMCP will pass those env vars to the astro-airflow-mcp server.

  7. Verify the connection:

    • After the MCP starts, run a small MCP call (for example: get_airflow_version or list_dags) from your MCP client to confirm authentication and connectivity. If you get auth errors, re-check the URL, username/password, or the token and retry.

Notes / troubleshooting:

  • If Airflow is hosted (Astronomer/Astro, Kubernetes ingress, cloud deployment), get the webserver URL from your hosting control panel or ingress/LoadBalancer address and use that as AIRFLOW_API_URL. (astronomer.io)
  • If /auth/token returns 401 for certain backends (e.g., LDAP or custom auth), consult your Airflow auth-manager documentation and your deployment’s auth backend configuration — token behavior can differ by auth manager. (github.com)

How to Install astro-airflow-mcp

Install astro-airflow-mcp MCP server with one click through FastMCP. Choose your preferred AI development tool below:

Claude Desktop

Click "Claude Desktop" in Quick Start

Cursor IDE

Click "Cursor IDE" in Quick Start

VS Code

Click "VS Code" in Quick Start

astro-airflow-mcp is an officially maintained MCP server, verified by the FastMCP team.

Alternatives to astro-airflow-mcp

Looking for similar MCP servers? Browse other servers in the same categories on FastMCP, or check out the similar servers listed above.

Quick Start

View on GitHub

More for API Development

View All →

More for Automation

View All →

Similar MCP Servers

Report Issue

Thank you! Your issue report has been submitted successfully.

Stay ahead of the MCP ecosystem

Get the top new MCP servers, trending tools, and dev tips delivered weekly. Free, no spam, unsubscribe anytime.

Join 2,847 developers. We send one email per week.