drio
Open app

airflow-mcp-server: An MCP Server for controlling Airflow

Source

MCP Server for Apache Airflow

Catalog onlyCatalog onlySTDIO

Overview

The airflow-mcp-server is a Model Context Protocol server designed for controlling Apache Airflow through its APIs, allowing for enhanced interaction and automation.

To use the airflow-mcp-server, set up the server with the required environment variables and run the command specified in the setup instructions. You can integrate it with Claude Desktop for seamless operation.

  • Complete access to an Airflow deployment for AI integration. - Read-only access via Airflow Plugin for better understanding of deployments. - Ability to automate DAG creation and scheduling through AI.
  1. Automating the creation and management of DAGs in Airflow.
  2. Providing insights into Airflow deployments for large teams.
  3. Enhancing AI capabilities in managing workflows within Airflow.

Add to your AI client

Use these steps to connect airflow-mcp-server: An MCP Server for controlling Airflow in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "airflow-mcp-server-abhishekbhakat": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-airflow-mcp-server-abhishekbhakat"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "airflow-mcp-server-abhishekbhakat": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-airflow-mcp-server-abhishekbhakat"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "airflow-mcp-server-abhishekbhakat": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-airflow-mcp-server-abhishekbhakat"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "airflow-mcp-server-abhishekbhakat": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-airflow-mcp-server-abhishekbhakat"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "airflow-mcp-server-abhishekbhakat": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-airflow-mcp-server-abhishekbhakat"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "airflow-mcp-server-abhishekbhakat": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-airflow-mcp-server-abhishekbhakat"
      ]
    }
  }
}

FAQ

Can I use airflow-mcp-server with any version of Airflow?

The airflow-mcp-server is designed to work with the Apache Airflow REST API, so compatibility depends on the API version.

Is there a demo available for airflow-mcp-server?

Yes! A demo video is available on the project's GitHub page.

How do I set up the airflow-mcp-server?

Follow the setup instructions provided in the documentation, including downloading the OpenAPI spec from the Airflow REST API.