MCP-Airflow-API
by call518·★ 46·Score 45
MCP server enabling natural language control of Apache Airflow workflows through Model Context Protocol.
Overview
MCP-Airflow-API is a comprehensive MCP server that transforms Apache Airflow REST API operations into natural language tools, allowing users to manage their Airflow clusters through intuitive commands rather than complex API calls. The project supports both Airflow 2.x (43 tools) and 3.0+ (45+ tools) with dynamic version selection via environment variables, making it adaptable to different Airflow deployments without code changes.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this when you want natural language control over Airflow workflows without learning complex API syntax, especially if you're managing both Airflow 2.x and 3.x environments.
When NOT to choose this
Don't choose this if you need fine-grained control over Airflow configuration beyond what's exposed through its API, or if you're using a different workflow orchestration system.
Tools this server exposes
12 tools extracted from the READMElist_dagsRetrieve a list of all DAGs in Airflow
get_dag_detailsGet detailed information about a specific DAG
trigger_dagTrigger a DAG run for a specific DAG
pause_dagPause a DAG to prevent it from running
resume_dagResume a paused DAG
get_dag_runsGet all runs for a specific DAG
get_task_instancesGet task instances for a specific DAG run
get_task_logGet the log output for a specific task instance
get_variablesRetrieve variables stored in Airflow
set_variableCreate or update a variable in Airflow
get_connectionsGet all connections configured in Airflow
add_connectionAdd a new connection to Airflow
Comparable tools
Installation
Installation
Method 1: Direct Installation from PyPI
uvx --python 3.12 mcp-airflow-apiMethod 2: Claude-Desktop MCP Client Integration
{
"mcpServers": {
"mcp-airflow-api": {
"command": "uvx",
"args": ["--python", "3.12", "mcp-airflow-api"],
"env": {
"AIRFLOW_API_VERSION": "v2",
"AIRFLOW_API_BASE_URL": "http://localhost:8080/api",
"AIRFLOW_API_USERNAME": "airflow",
"AIRFLOW_API_PASSWORD": "airflow"
}
}
}
}Method 3: Docker Compose
git clone https://github.com/call518/MCP-Airflow-API.git
cd MCP-Airflow-API
cp .env.example .env
# Edit .env with your Airflow API settings
docker-compose up -dFAQ
- Which Airflow versions are supported?
- MCP-Airflow-API supports Airflow 2.x (API v1) with 43 tools and Airflow 3.0+ (API v2) with 45+ tools. The version is selected via the AIRFLOW_API_VERSION environment variable.
- How does it handle authentication?
- It supports both basic authentication (username/password) and bearer token authentication for streamable-http mode. Configuration is done through environment variables.
On Hacker News
Recent discussion from the developer community.
- Story by call518 · 2025-08-17
Compare MCP-Airflow-API with
Last updated · Auto-generated from public README + GitHub signals.