Skip to main content
Glama

airflow-mcp-server

airflow-mcp-server:用于控制 Airflow 的 MCP 服务器

在 Glama 上查找

概述

用于通过 Airflow API 控制 Airflow 的模型上下文协议服务器。

演示视频

https://github.com/user-attachments/assets/f3e60fff-8680-4dd9-b08e-fa7db655a705

设置

与 Claude Desktop 一起使用

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

笔记:

  • base_url设置为根 Airflow URL(例如, http://localhost:8080 )。
  • 请勿在基本 URL 中包含/api/v2 。服务器将自动从${base_url}/openapi.json获取 OpenAPI 规范。
  • 身份验证仅需要 JWT 令牌。Airflow 3.0 不再支持 Cookie 和基本身份验证。

操作模式

服务器支持两种运行模式:

  • 安全模式--safe ):仅允许只读操作(GET 请求)。当您想阻止对 Airflow 实例进行任何修改时,此功能非常有用。
  • 不安全模式( --unsafe ):允许所有操作,包括修改。这是默认模式。

以安全模式启动:

airflow-mcp-server --safe

要明确以不安全模式启动(尽管这是默认模式):

airflow-mcp-server --unsafe

注意事项

验证

  • Airflow 3.0 仅支持 JWT 身份验证。您必须提供有效的AUTH_TOKEN

页面限制

默认值为 100 个项目,但您可以使用airflow.cfg文件中 [api] 部分中的maximum_page_limit选项进行更改。

任务

  • [x] Airflow 3 准备就绪
  • [x] 解析 OpenAPI 规范
  • [x] 安全/不安全模式实现
  • [x] 使用 list_tools 解析正确的描述。
  • [x] Airflow 配置获取(专门针对页面限制
  • [ ] 环境变量可选(环境变量可能不适合 Airflow 插件

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

https://github.com/abhishekbhakat/airflow-mcp-server

  1. 在 Glama 上查找
    1. 概述
      1. 演示视频
        1. 设置
          1. 与 Claude Desktop 一起使用
          2. 操作模式
          3. 注意事项
        2. 任务

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            Provides a standardized way for MCP clients to interact with Apache Airflow's REST API, supporting operations like DAG management and monitoring Airflow system health.
            Last updated -
            13
            43
            Python
            MIT License
            • Apple
            • Linux
          • -
            security
            F
            license
            -
            quality
            An MCP server for Claude Desktop that allows users to check the status of their Airbyte connections.
            Last updated -
            Python
            • Apple

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/abhishekbhakat/airflow-mcp-server'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server