Airflow MCP Server

v0.9.0Cloud Servicesstable

Airflow MCP server — read DAGs, runs, task instances, log tails; trigger and clear (write-gated).

airflowapache-airflowapillmmcp-server
Share:
32
Stars
0
Downloads
0
Weekly
0/5

What is Airflow MCP Server?

Airflow MCP Server is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to airflow mcp server — read dags, runs, task instances, log tails; trigger and clear (write-gated).

Airflow MCP server — read DAGs, runs, task instances, log tails; trigger and clear (write-gated).

This server falls under the Cloud Services category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Airflow MCP server — read DAGs, runs, task instances, log ta

Use Cases

Read and trigger DAGs
Monitor task execution
Manage workflow logs
abhishekbhakat

Maintainer

LicenseMIT License
Languagepython
Versionv0.9.0
UpdatedMar 24, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y @us-all/airflow-mcp

PIP

pip install airflow-mcp-server

Manual Installation

npx -y @us-all/airflow-mcp

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Airflow MCP Server

The Airflow MCP Server exposes Apache Airflow's REST API to AI assistants, enabling natural language control over DAGs, task instances, connections, and execution logs. It supports hierarchical tool discovery (browsing by category) as well as a static mode where all tools are immediately available, and includes a safe mode that restricts operations to read-only to prevent accidental workflow modifications. Platform engineers and data teams use it to monitor pipeline health, trigger DAG runs, and debug task failures without leaving their AI assistant.

Prerequisites

  • Apache Airflow 3.0+ running with the REST API enabled (JWT authentication required)
  • A valid JWT auth token for your Airflow instance
  • Python 3.10+ and uvx (part of the uv toolchain) installed
  • An MCP-compatible client such as Claude Desktop or Claude Code
1

Install uv to get uvx

The server is best run via uvx, which is bundled with the uv Python package manager.

curl -LsSf https://astral.sh/uv/install.sh | sh
2

Obtain a JWT token from your Airflow instance

Generate or retrieve a JWT token from your Airflow 3.0+ instance. Airflow 3.0 uses JWT-only authentication for the REST API.

3

Test the server from the command line

Run the server directly to verify connectivity. The base URL should NOT include the /api/v2 suffix — the server appends it automatically.

uvx airflow-mcp-server --base-url http://localhost:8080 --auth-token <your-jwt-token>
4

Add the server to your MCP client configuration

Open claude_desktop_config.json and add the Airflow MCP server block. Use --safe to restrict to read-only operations.

{
  "mcpServers": {
    "airflow-mcp-server": {
      "command": "uvx",
      "args": [
        "airflow-mcp-server",
        "--base-url",
        "http://localhost:8080",
        "--auth-token",
        "<your-jwt-token>"
      ]
    }
  }
}
5

Restart your client and explore DAG categories

Restart Claude Desktop. In hierarchical mode (the default), ask the assistant to list available tool categories, then drill into DAG management or task operations.

Airflow MCP Server Examples

Client configuration

Claude Desktop configuration for Airflow MCP server in safe (read-only) mode.

{
  "mcpServers": {
    "airflow-mcp-server": {
      "command": "uvx",
      "args": [
        "airflow-mcp-server",
        "--safe",
        "--base-url",
        "http://localhost:8080",
        "--auth-token",
        "<your-jwt-token>"
      ]
    }
  }
}

Prompts to try

Example prompts for interacting with Apache Airflow through the MCP server.

- "List all DAGs in my Airflow instance and show which ones are currently paused"
- "Trigger a run of the etl_daily_pipeline DAG with today's date as the logical date"
- "Show me the last 5 runs of the data_ingestion DAG and their statuses"
- "Fetch the logs for the failed transform_data task in the most recent DAG run"
- "Clear and restart all failed tasks in the last run of the reporting_pipeline DAG"

Troubleshooting Airflow MCP Server

Server fails to connect with a 401 or 403 error

Verify that your JWT token is still valid and that it was generated for the correct Airflow instance. Airflow 3.0 uses short-lived JWT tokens — regenerate if expired.

The base URL path causes 404 errors on API calls

The --base-url argument must NOT include /api/v2. Provide only the root URL, e.g., http://localhost:8080, and the server will append the correct API path automatically.

Tool modifications are blocked even though safe mode is not set

Check whether your Airflow instance has write operations disabled at the API level. If you need write access, ensure the JWT token has the required role permissions in Airflow's RBAC configuration.

Frequently Asked Questions about Airflow MCP Server

What is Airflow MCP Server?

Airflow MCP Server is a Model Context Protocol (MCP) server that airflow mcp server — read dags, runs, task instances, log tails; trigger and clear (write-gated). It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Airflow MCP Server?

Install via npm with the command: npx -y @us-all/airflow-mcp. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).

Which AI clients work with Airflow MCP Server?

Airflow MCP Server works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Airflow MCP Server free to use?

Yes, Airflow MCP Server is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Cloud Services MCP Servers

Explore all cloud services servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "airflow": { "command": "npx", "args": ["-y", "@us-all/airflow-mcp"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Airflow MCP Server?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides