airflow-mcp-server
airflow-mcp-server: Airflowを制御するためのMCPサーバー
Glamaで検索
概要
Airflow API を介して Airflow を制御するためのモデル コンテキスト プロトコルサーバー。
Related MCP server: Apache Airflow MCP Server
デモビデオ
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トークンのみが必要です。CookieとBasic認証はAirflow 3.0ではサポートされなくなりました。
動作モード
サーバーは次の 2 つの動作モードをサポートしています。
セーフモード(
--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プラグインには適さない可能性があります)
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Maintenance
Related MCP Connectors
MCP server for Product Management
MCP Server for an Agent Task Marketplace
Related MCP Servers
- AlicenseCqualityBmaintenanceMonitor and manage Apache Airflow clusters through natural language queries via MCP tools: DAG inspection, task monitoring, health checks, and cluster analytics without API complexity. * Guide: https://call518.medium.com/mcp-airflow-api-a-model-context-protocol-mcp-server-for-apache-airflow-5dfdfb25354MIT
- AlicenseNot gradedqualityNot gradedmaintenanceAn MCP server that wraps the Apache Airflow REST API, enabling clients to manage DAGs, monitor task instances, and handle workflows through a standardized interface. It provides comprehensive access to Airflow features including DAG runs, variables, connections, and XComs.MIT
- AlicenseAqualityCmaintenanceAirflow MCP server — read DAGs, runs, task instances, log tails; trigger and clear (write-gated).861 npm2MIT
- AlicenseAqualityCmaintenanceMCP server exposing Apache Airflow REST API operations as tools — list DAGs, inspect runs and task instances, trigger DAG runs, and check failed DAGs and scheduler health72MIT