A
securityA
licenseA
qualityProvides 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
66
Python
MIT License
用于通过 Airflow API 控制 Airflow 的模型上下文协议服务器。
https://github.com/user-attachments/assets/f3e60fff-8680-4dd9-b08e-fa7db655a705
笔记:
- 将
base_url
设置为根 Airflow URL(例如,http://localhost:8080
)。- 请勿在基本 URL 中包含
/api/v2
。服务器将自动从${base_url}/openapi.json
获取 OpenAPI 规范。- 身份验证仅需要 JWT 令牌。Airflow 3.0 不再支持 Cookie 和基本身份验证。
服务器支持两种运行模式:
--safe
):仅允许只读操作(GET 请求)。当您想阻止对 Airflow 实例进行任何修改时,此功能非常有用。--unsafe
):允许所有操作,包括修改。这是默认模式。以安全模式启动:
要明确以不安全模式启动(尽管这是默认模式):
验证
AUTH_TOKEN
。页面限制
默认值为 100 个项目,但您可以使用airflow.cfg
文件中 [api] 部分中的maximum_page_limit
选项进行更改。
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.
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