MCP Catalogs
HomeMCP-Airflow-API screenshot

MCP-Airflow-API

by call518·46·Score 45

MCP server enabling natural language control of Apache Airflow workflows through Model Context Protocol.

developer-toolsops-infraai-llm
12
Forks
3
Open issues
this month
Last commit
2d ago
Indexed

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:

you:Airflow administrators managing DAGs and tasks through natural language commands
you:Operations teams monitoring workflow status and performance in large environments
you:Data engineers interacting with Airflow clusters using LLM assistants like Claude or GPT
you:Which Airflow versions are supported?
you:How does it handle authentication?

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 README
  • list_dags

    Retrieve a list of all DAGs in Airflow

  • get_dag_details

    Get detailed information about a specific DAG

  • trigger_dag

    Trigger a DAG run for a specific DAG

  • pause_dag

    Pause a DAG to prevent it from running

  • resume_dag

    Resume a paused DAG

  • get_dag_runs

    Get all runs for a specific DAG

  • get_task_instances

    Get task instances for a specific DAG run

  • get_task_log

    Get the log output for a specific task instance

  • get_variables

    Retrieve variables stored in Airflow

  • set_variable

    Create or update a variable in Airflow

  • get_connections

    Get all connections configured in Airflow

  • add_connection

    Add a new connection to Airflow

Comparable tools

airflow-mcpairflow-cliapache-airflowprefect-mcp

Installation

Installation

Method 1: Direct Installation from PyPI

uvx --python 3.12 mcp-airflow-api

Method 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 -d

FAQ

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.

Compare MCP-Airflow-API with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.