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
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)
- Safe (default):
Usage with Claude Desktop
Claude Desktop requires a helper wrapper to forward headers. Add the plugin endpoint via mcp-remote inside claude_desktop_config.json:
{
"mcpServers": {
"airflow-mcp-plugin": {
"command": "npx",
"args": [
"mcp-remote",
"http://localhost:8080/mcp",
"--header",
"Authorization:${MCP_AIRFLOW_TOKEN}"
],
"env": {
"MCP_AIRFLOW_TOKEN": "Bearer <access-token>"
}
}
}
}
See CONFIG.md for additional MCP client configuration examples. All clients must supply the Authorization: Bearer <token> header and connect over HTTP.
Usage with VS Code
Add the server definition to your settings.json under the mcp.servers block:
"mcp": {
"servers": {
"airflow-mcp-plugin": {
"type": "http",
"url": "http://localhost:8080/mcp/",
"headers": {
"Authorization": "Bearer <access-token>"
}
}
}
}
This configuration uses VS Code's native HTTP transport with per-request Authorization headers; update the URL if your Airflow instance is hosted elsewhere.
Metadata
Release files for airflow-mcp-plugin 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| airflow_mcp_plugin-0.2.0.tar.gz | 9.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| airflow_mcp_plugin-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.1 kB
Release files / airflow_mcp_plugin-0.2.0.tar.gz
| Download URL | airflow_mcp_plugin-0.2.0.tar.gz |
|---|---|
| Size | 9.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
47434c5de45963d887125ba4d3cb925b50e600aaa85ba0e566b82e7402b2ec9d
|
|
BLAKE2b-256 checksum How to use checksums |
5da34537eb2a22e98e6ebf7b03962d06f1ca18317db29624f796f2832c427bba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.18
|
Release files / airflow_mcp_plugin-0.2.0-py3-none-any.whl
| Download URL | airflow_mcp_plugin-0.2.0-py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
49aee5b989e1843732eecde5993def2229c2b54e01bc5222a9c0580e7981f553
|
|
BLAKE2b-256 checksum How to use checksums |
4ba5152e66f482f37dd49691fea6ec6aaf91ea1f7a4378ae965606e5704a2d85
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.18
|
Security for airflow-mcp-plugin 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.