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.3.tar.gz (6.1 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.3-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: airflow_mcp_plugin-0.1.3.tar.gz
  • Upload date:
  • Size: 6.1 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.3.tar.gz
Algorithm Hash digest
SHA256 71ba3cb438b8249a0ee5f1b9daa6b3d07170b4ec26b57c47a1851e19fc92788c
MD5 1b5438d94ba7a7c55caa059ed9891821
BLAKE2b-256 7ab9eb1f423df8c2ee5becd546af83576ff71025c2c2eb66acaa9bf263332d6d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for airflow_mcp_plugin-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 27c61f9c6df0a92f55a9f9550de53c4d4d8844a7a3ec00ee4d9efe74599915a4
MD5 372429878f9b043387dc5265553074ce
BLAKE2b-256 70d99eeae1aa581c33599e9e641b713f1c33ea68e9aa35077999ba94bf99f476

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