Back to Home
madamak icon

apache-airflow-mcp-server

Verified Safe

by madamak

Overview

Enables AI agents to inspect Apache Airflow DAGs, runs, and logs, and perform operational tasks like triggering, pausing, and clearing resources across multiple instances.

Installation

Run Command
uv run airflow-mcp --transport http --host 127.0.0.1 --port 8765

Environment Variables

  • AIRFLOW_MCP_INSTANCES_FILE
  • AIRFLOW_MCP_DEFAULT_INSTANCE
  • AIRFLOW_INSTANCE_<INSTANCE_KEY>_USERNAME
  • AIRFLOW_INSTANCE_<INSTANCE_KEY>_PASSWORD
  • AIRFLOW_INSTANCE_<INSTANCE_KEY>_TOKEN
  • AIRFLOW_MCP_HTTP_HOST
  • AIRFLOW_MCP_HTTP_PORT
  • AIRFLOW_MCP_TIMEOUT_SECONDS
  • AIRFLOW_MCP_LOG_FILE
  • AIRFLOW_MCP_HTTP_BLOCK_GET_ON_MCP
  • AIRFLOW_MCP_ENABLE_EXTENDED_CLEAR_PARAMS

Security Notes

The server includes robust measures against SSRF attacks by strictly validating UI URLs against configured instance hostnames. Sensitive credentials are managed via environment variables and are not logged or exposed directly. The use of `ast.literal_eval` for log parsing is controlled and safe. Bearer token authentication is explicitly marked as 'experimental'.

Similar Servers

Stats

Interest Score42
Security Score9
Cost ClassMedium
Avg Tokens5000
Stars1
Forks0
Last Update2025-11-30

Tags

AirflowMCPOrchestrationAutomationObservability