Skip to main content

Apache Airflow 3 plugin that mounts airflow-mcp-server as a Streamable HTTP endpoint at /mcp

Project description

airflow-mcp-plugin

Airflow 3 plugin that mounts airflow-mcp-server as a Streamable HTTP endpoint at /mcp on the Airflow API server.

Requirements:

  • Apache Airflow >= 3.0 (FastAPI backend)
  • Python >= 3.10

Install (recommended via main package extra):

pip install "airflow-mcp-server[airflow-plugin]"

Or install the plugin directly:

pip install airflow-mcp-plugin

Deploy:

  • Install into the Airflow webserver container environment (Docker/Compose/Helm)
  • Restart the webserver; Airflow auto-loads the plugin via entry point

Config:

{
  "mcpServers": {
    "airflow-mcp-server": {
      "type": "sse",
      "url": "http://localhost:8000/mcp/",
      "headers": {
        "Authorization": "Bearer <token>"
      }
    }
  }
}

Use (stateless):

  • Endpoint: http(s)://<airflow-host>/mcp
  • Every request must include header: Authorization: Bearer <access-token>
  • The token is forwarded per-request to Airflow APIs (no shared auth state)
  • Mode per-request:
    • Safe (default): http(s)://<airflow-host>/mcp
    • Unsafe: http(s)://<airflow-host>/mcp?mode=unsafe (enables POST/PUT/DELETE/PATCH)
    • Streamable HTTP (stateless)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

airflow_mcp_plugin-0.1.2.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

airflow_mcp_plugin-0.1.2-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file airflow_mcp_plugin-0.1.2.tar.gz.

File metadata

  • Download URL: airflow_mcp_plugin-0.1.2.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for airflow_mcp_plugin-0.1.2.tar.gz
Algorithm Hash digest
SHA256 75385c1ee089538d7e15003fc08712a675d9f88a4798df59b1fb75af92bbd56a
MD5 4822042ab49a772ed2317fd4be02e1ff
BLAKE2b-256 a9559fbefced2dff7f7fb7226a55d0f7b40197ef20d01b41839566ba1d6c51b2

See more details on using hashes here.

File details

Details for the file airflow_mcp_plugin-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for airflow_mcp_plugin-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 364576d92c166ba02e073529fcfa50d28ad4750917b48d4877770f924fd19100
MD5 564402bfa50cf6fbc0bc7263475e05dc
BLAKE2b-256 c63250b7c06a3f3ce42515cd18ec40c3afc4c6ce83cfae7b23a980080824466a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page