MCP.so
登录

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

@abhishekbhakat

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

MCP Server for Apache Airflow

基本信息

分类

数据与分析

许可证

MIT

运行时

python

传输方式

stdio

发布者

abhishekbhakat

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is airflow-mcp-server?

airflow-mcp-server is a Model Context Protocol server that enables AI assistants to control Apache Airflow 3 via Airflow APIs. It connects to an Airflow instance using a JWT token and exposes tools for managing DAGs, tasks, connections, and more.

How to use airflow-mcp-server?

Install via uvx and configure it in your MCP client (e.g., Claude Desktop) with the Airflow base URL and JWT token. Start with airflow-mcp-server --base-url http://localhost:8080 --auth-token <jwt>. Use --safe for read-only mode or --unsafe for full access (default). Choose between stdio (default) or HTTP transport with --http.

Key features of airflow-mcp-server

  • Controls Airflow via the Airflow REST API
  • Supports safe (read-only) and unsafe (full access) operation modes
  • Offers hierarchical tool discovery or static tools
  • Provides stdio, HTTP, and deprecated SSE transport options
  • Accepts local Markdown files as read-only resources
  • Requires only JWT authentication (Airflow 3)

Use cases of airflow-mcp-server

  • Querying DAG statuses, task instances, and pipeline runs
  • Triggering or pausing DAGs from an AI assistant
  • Viewing and managing Airflow connections and variables
  • Troubleshooting Airflow runs with natural language commands
  • Automating Airflow workflows via chat or agent interfaces

FAQ from airflow-mcp-server

What authentication is required?

Only JWT token authentication is supported. Cookie and basic auth are no longer available in Airflow 3.0. Provide the token via --auth-token.

What transport options are available?

The server supports stdio (default for direct process communication) and HTTP (recommended for web deployments). SSE transport is deprecated.

How does safe mode differ from unsafe mode?

Safe mode (--safe) restricts all tools to read-only GET requests. Unsafe mode (--unsafe, the default) allows all operations including modifications.

How are tools organized?

By default, tools are organized hierarchically by categories (DAGs, Tasks, Connections, etc.). Use --static-tools to list all tools immediately without browsing categories.

Can I provide local documentation as resources?

Yes. Use --resources-dir <path> to point to a folder of Markdown files. Each .md file becomes a read-only resource visible in the MCP client.

评论

数据与分析 分类下的更多 MCP 服务器