About Agents
Agents is an MCP server published by astronomer in the Automation category: aI agent tooling for data engineering workflows. Conduid read 34 tools from its source: clear_dag_run, clear_task_instances, delete_dag_run, diagnose_dag_run, explore_dag, get_airflow_config and 28 more. No package is published for it, so it installs from a source checkout.
The repository has 465 stars and 71 forks, is licensed Apache-2.0, and its last commit was on 1 Dec 2026. The latest release is astro-airflow-mcp-0.9.2 (20 Nov 2026): Security release. All users should upgrade. Security The telemetry subprocess now starts in isolated mode (#292). Affects 0.5.0 through 0.9.1. If you can't upgrade yet,… It follows astro-airflow-mcp-0.9.1 (8 Jul 2026), and the 5 most recent releases go back to astro-airflow-mcp-0.8.1 (5 May 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include data-engineering, apache-airflow, airflow and automation.
Install
git clone https://github.com/astronomer/agentsTools (34)
clear_dag_runClear a DAG run to allow re-execution of all its tasks.| Parameter | Type | Description |
|---|---|---|
| dag_id * | string | The ID of the DAG (e.g., "example_dag") |
| dag_run_id * | string | The ID of the DAG run to clear (e.g., "manual__2024-01-01T00:00:00+00:00") |
| dry_run | boolean | If True (default), return what would be cleared without clearing. Set to False to actually clear and re-execute. |
clear_task_instancesClear task instances to retry their execution.| Parameter | Type | Description |
|---|---|---|
| dag_id * | string | The ID of the DAG (e.g., "example_dag") |
| dag_run_id * | string | The ID of the DAG run (e.g., "manual__2024-01-01T00:00:00+00:00") |
| dry_run | boolean | If True (default), only show what would be cleared without actually clearing. Set to False to actually clear the tasks. |
| include_downstream | boolean | If True, also clear all downstream tasks that depend on the specified tasks. Useful for "retry from here onwards". |
| only_failed | boolean | If True, only clear task instances that are in a failed state. Useful for retrying just the failures. |
| task_ids * | array | List of task IDs to clear (e.g., ["extract_data", "transform_data"]) |
delete_dag_runDelete a specific DAG run permanently.| Parameter | Type | Description |
|---|---|---|
| dag_id * | string | The ID of the DAG (e.g., "example_dag") |
| dag_run_id * | string | The ID of the DAG run to delete (e.g., "manual__2024-01-01T00:00:00+00:00") |
diagnose_dag_runDiagnose issues with a specific DAG run - get run details and failed tasks.| Parameter | Type | Description |
|---|---|---|
| dag_id * | string | The ID of the DAG |
| dag_run_id * | string | The ID of the DAG run (e.g., "manual__2024-01-01T00:00:00+00:00") |
explore_dagComprehensive investigation of a DAG - get all relevant info in one call.| Parameter | Type | Description |
|---|---|---|
| dag_id * | string | The ID of the DAG to explore |
get_airflow_configGet Airflow instance configuration and settings.get_airflow_versionGet version information for the Airflow instance.get_dag_detailsGet detailed information about a specific Apache Airflow DAG.| Parameter | Type | Description |
|---|---|---|
| dag_id * | string | The ID of the DAG to get details for |
get_dag_runGet detailed information about a specific DAG run execution.| Parameter | Type | Description |
|---|---|---|
| dag_id * | string | The ID of the DAG (e.g., "example_dag") |
| dag_run_id * | string | The ID of the DAG run (e.g., "manual__2024-01-01T00:00:00+00:00") |
get_dag_sourceGet the source code for a specific Apache Airflow DAG.| Parameter | Type | Description |
|---|---|---|
| dag_id * | string | The ID of the DAG to get source code for |
get_dag_statsGet statistics about DAG runs (success/failure counts by state).| Parameter | Type | Description |
|---|---|---|
| dag_ids | array | Optional list of DAG IDs to filter by. Pass a list even for a single DAG, for example ["example_dag"]. If not provided, returns stats for all DAGs. |
get_poolGet detailed information about a specific resource pool.| Parameter | Type | Description |
|---|---|---|
| pool_name * | string | The name of the pool to get details for (e.g., "default_pool") |
get_system_healthGet overall Airflow system health - import errors, warnings, and DAG stats.get_taskGet detailed information about a specific task definition in a DAG.| Parameter | Type | Description |
|---|---|---|
| dag_id * | string | The ID of the DAG containing the task |
| task_id * | string | The ID of the task to get details for |
get_task_instanceGet detailed information about a specific task instance execution.| Parameter | Type | Description |
|---|---|---|
| dag_id * | string | The ID of the DAG |
| dag_run_id * | string | The ID of the DAG run (e.g., "manual__2024-01-01T00:00:00+00:00") |
| task_id * | string | The ID of the task within the DAG |
get_task_logsGet logs for a specific task instance execution.| Parameter | Type | Description |
|---|---|---|
| dag_id * | string | The ID of the DAG (e.g., "example_dag") |
| dag_run_id * | string | The ID of the DAG run (e.g., "manual__2024-01-01T00:00:00+00:00") |
| map_index | integer | For mapped tasks, which map index to get logs for. Use -1 for non-mapped tasks (default: -1). |
| task_id * | string | The ID of the task within the DAG (e.g., "extract_data") |
| try_number | integer | The task try/attempt number, 1-indexed (default: 1). Use higher numbers to get logs from retry attempts. |
get_upstream_asset_eventsGet asset events that triggered a specific DAG run.| Parameter | Type | Description |
|---|---|---|
| dag_id * | string | The ID of the DAG |
| dag_run_id * | string | The ID of the DAG run (e.g., "scheduled__2024-01-01T00:00:00+00:00") |
get_variableGet a specific Airflow variable by key.| Parameter | Type | Description |
|---|---|---|
| variable_key * | string | The key/name of the variable to retrieve |
list_asset_eventsList asset/dataset events with optional filtering.| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum number of events to return (default: 100) |
| source_dag_id | string | Filter events by the DAG that produced them |
| source_run_id | string | Filter events by the DAG run that produced them |
| source_task_id | string | Filter events by the task that produced them |
list_assetsGet data assets and datasets tracked by Airflow (data lineage).list_connectionsGet connection configurations for external systems (databases, APIs, services).list_dag_runsGet execution history and status of DAG runs (workflow executions).| Parameter | Type | Description |
|---|---|---|
| dag_id | string | Optional DAG ID to filter runs for a specific DAG. If not provided, returns runs across all DAGs. |
| limit | integer | Maximum number of DAG runs to return (default: 100). |
| offset | integer | Offset for pagination (default: 0). Use together with `limit` to page through DAGs that have more than `limit` runs. |
| order_by | string | Sort field; prefix with '-' for descending order. Defaults to '-start_date' so the most recent runs are returned first. The Airflow API default would be 'id' ascending (oldest first), which is rarely what callers want. |
list_dag_warningsGet warnings and issues detected in DAG definitions.list_dagsGet information about all Apache Airflow DAGs (Directed Acyclic Graphs).list_import_errorsGet import errors from DAG files that failed to parse or load.list_pluginsGet information about installed Airflow plugins.list_poolsGet resource pools for managing task concurrency and resource allocation.list_providersGet information about installed Airflow provider packages.list_tasksGet all tasks defined in a specific DAG.| Parameter | Type | Description |
|---|---|---|
| dag_id * | string | The ID of the DAG to list tasks for |
list_variablesGet all Airflow variables (key-value configuration pairs).pause_dagPause a DAG to prevent new scheduled runs from starting.| Parameter | Type | Description |
|---|---|---|
| dag_id * | string | The ID of the DAG to pause (e.g., "example_dag") |
trigger_dagTrigger a new DAG run (start a workflow execution manually).| Parameter | Type | Description |
|---|---|---|
| conf | object | Optional configuration dictionary to pass to the DAG run. This will be available in the DAG via context['dag_run'].conf |
| dag_id * | string | The ID of the DAG to trigger (e.g., "example_dag") |
trigger_dag_and_waitTrigger a DAG run and wait for it to complete before returning.| Parameter | Type | Description |
|---|---|---|
| conf | object | Optional configuration dictionary to pass to the DAG run. This will be available in the DAG via context['dag_run'].conf |
| dag_id * | string | The ID of the DAG to trigger (e.g., "example_dag") |
| timeout | number | Maximum time to wait in seconds (default: 3600.0 / 60 minutes) |
unpause_dagUnpause a DAG to allow scheduled runs to resume.| Parameter | Type | Description |
|---|---|---|
| dag_id * | string | The ID of the DAG to unpause (e.g., "example_dag") |
Security checks
Static checks derived from the repository yesterday. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 2.1K words.
- ✓License declaredThe repository declares the Apache-2.0 license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by astro-airflow-mcp/uv.lock.
- ✓No dynamic code executionScanned 54 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdio and Streamable HTTPastro-airflow-mcp/src/astro_airflow_mcp/__main__.py:70, astro-airflow-mcp/src/astro_airflow_mcp/__main__.py:193
- Starts other programs
- 2 callsastro-airflow-mcp/src/astro_airflow_mcp/discovery/astro_cli.py:114, astro-airflow-mcp/src/astro_airflow_mcp/telemetry.py:205
- Outbound network calls
- 42 callsastro-airflow-mcp/src/astro_airflow_mcp/adapter_manager.py:35, astro-airflow-mcp/src/astro_airflow_mcp/adapters/__init__.py:18, astro-airflow-mcp/src/astro_airflow_mcp/adapters/__init__.py:27
- Writes or deletes files
- 4 callsastro-airflow-mcp/src/astro_airflow_mcp/astro_pat.py:153, astro-airflow-mcp/src/astro_airflow_mcp/astro_pat.py:156, astro-airflow-mcp/src/astro_airflow_mcp/cli/registry.py:65
- Lockfile
- astro-airflow-mcp/uv.lock
Pattern matches on the source text of 54 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 2.1K words, fetched yesterday. The original in the repository is authoritative.
Read full README