
abhishekbhakat/airflow-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
Apache Airflow の MCP サーバー
概要
mcp の名前: io.github.abhishekbhakat/airflow-mcp-server MCPサーバーはMCPHub認証を取得しています。 この認証は、Airflow-mcp-server がモデルコンテキストプロトコルの実装のベストプラクティスに従うことを保証します。 Airflow API経由でAirflowを制御するモデルコンテキストプロトコルサーバー。 [https://github.com/user-attachments/assets/f3e60fff-8680-4dd9-b08e-fa7db655a705] 一般的なMCPクライアント間でIDE固有の設定例については、CONFIG.mdを参照してください。 - base url を root Airflow URL に設定します(例、http://localhost:8080).]) - ベース URL に /api/v2 を含める必要があります。 サーバは、${base url}/openapi.json から OpenAPI 仕様を自動的に取得します。 - 認証にはJWTトークンのみが必要です。 エアフロー3.0では、クッキーと基本オースはサポートされていません。 サーバは複数のトランスポートプロトコルをサポートしています。 直接プロセス通信のための標準的な入出力輸送:
概要(AI 翻訳)
mcp の名前: io.github.abhishekbhakat/airflow-mcp-server
##MCPHub認証
MCPサーバーはMCPHub認証を取得しています。 この認証は、Airflow-mcp-server がモデルコンテキストプロトコルの実装のベストプラクティスに従うことを保証します。
グラマで探す
概要
Airflow API経由でAirflowを制御するモデルコンテキストプロトコルサーバー。
デモビデオ
[https://github.com/user-attachments/assets/f3e60fff-8680-4dd9-b08e-fa7db655a705]
セットアップ
##Claudeデスクトップでの使用
####Stdio Transport (デフォルト)
一般的なMCPクライアント間でIDE固有の設定例はCONFIG.mdを参照してください。
HTTP トランスポート
注記:
- [
base_url] を root エアフロー URL (http://localhost:8080) に設定します。- ベース URL の [
/api/v2] は含まないでください。${base_url}/openapi.jsonから OpenAPI スペックを自動的に取得します。- 認証にはJWTトークンのみが必要です。 エアフロー3.0では、クッキーと基本オースはサポートされていません。
輸送オプション
サーバは複数のトランスポートプロトコルをサポートしています。
####Stdio Transport (デフォルト) 直接プロセス通信のための標準的な入出力輸送:
HTTP トランスポート
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
airflow-mcp-server: An MCP Server for controlling Airflow 3
mcp-name: io.github.abhishekbhakat/airflow-mcp-server
MCPHub Certification
This MCP server is certified by MCPHub. This certification ensures that airflow-mcp-server follows best practices for Model Context Protocol implementation.
Find on Glama
Overview
A Model Context Protocol server for controlling Airflow via Airflow APIs.
Demo Video
https://github.com/user-attachments/assets/f3e60fff-8680-4dd9-b08e-fa7db655a705
Setup
Usage with Claude Desktop
Stdio Transport (Default)
{
"mcpServers": {
"airflow-mcp-server": {
"command": "uvx",
"args": [
"airflow-mcp-server",
"--base-url",
"http://localhost:8080",
"--auth-token",
""
]
}
}
}
See CONFIG.md for IDE-specific configuration examples across popular MCP clients.
HTTP Transport
{
"mcpServers": {
"airflow-mcp-server-http": {
"command": "uvx",
"args": [
"airflow-mcp-server",
"--http",
"--port",
"3000",
"--base-url",
"http://localhost:8080",
"--auth-token",
""
]
}
}
}
Note:
- Set
base_urlto the root Airflow URL (e.g.,http://localhost:8080).- Do not include
/api/v2in the base URL. The server will automatically fetch the OpenAPI spec from${base_url}/openapi.json.- Only JWT token is required for authentication. Cookie and basic auth are no longer supported in Airflow 3.0.
Transport Options
The server supports multiple transport protocols:
Stdio Transport (Default)
Standard input/output transport for direct process communication:
airflow-mcp-server --safe --base-url http://localhost:8080 --auth-token
HTTP Transport
Uses Streamable HTTP for better scalability and web compatibility:
airflow-mcp-server --safe --http --port 3000 --base-url http://localhost:8080 --auth-token
Note: SSE transport is deprecated. Use
--httpfor new deployments as it provides better bidirectional communication and is the recommended approach by FastMCP.
Operation Modes
The server supports two operation modes:
- Safe Mode (
--safe): Only allows read-only operations (GET requests). This is useful when you want to prevent any modifications to your Airflow instance. - Unsafe Mode (
--unsafe): Allows all operations including modifications. This is the default mode.
To start in safe mode:
インストール
uvx airflow-mcp-server --base-url http://localhost:8080 --auth-token <jwt_token>設定
{
"mcpServers": {
"airflow-mcp-server": {
"command": "uvx",
"args": [
"airflow-mcp-server",
"--base-url",
"http://localhost:8080",
"--auth-token",
"<jwt_token>"
]
}
}
}