iflow-mcp-call518-mcp-airflow-api
v0.0.0Model Context Protocol (MCP) server for Apache Airflow API integration.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_prompt_template Get Prompt Template
[Tool Role]: Provides comprehensive prompt template for LLM interactions with Airflow operations.
| Parameter | Type | Description |
|---|---|---|
mode | Optional mode (summary/detailed) to control response verbosity | |
section | Optional section name to get specific part of template |
list_dags List Dags
[Tool Role]: Lists all DAGs registered in the Airflow cluster with pagination support.
| Parameter | Type | Description |
|---|---|---|
fetch_all | boolean | If True, fetches all DAGs regardless of limit/offset |
id_contains | Filter DAGs by ID containing this string | |
limit | integer | Maximum number of DAGs to return (default: 20) |
name_contains | Filter DAGs by display name containing this string | |
offset | integer | Number of DAGs to skip for pagination (default: 0) |
get_dag Get Dag
[Tool Role]: Retrieves detailed information for a specific DAG.
| Parameter | Type | Description |
|---|---|---|
dag_id * | string | The DAG ID to get details for |
get_dags_detailed_batch Get Dags Detailed Batch
[Tool Role]: Retrieves detailed information for multiple DAGs in batch with latest run information.
| Parameter | Type | Description |
|---|---|---|
fetch_all | boolean | |
id_contains | ||
is_active | ||
is_paused | ||
limit | integer | |
name_contains | ||
offset | integer |
running_dags Running Dags
[Tool Role]: Lists all currently running DAG runs in the Airflow cluster.
failed_dags Failed Dags
[Tool Role]: Lists all recently failed DAG runs in the Airflow cluster.
trigger_dag Trigger Dag
[Tool Role]: Triggers a new DAG run for a specified Airflow DAG.
| Parameter | Type | Description |
|---|---|---|
dag_id * | string |
pause_dag Pause Dag
[Tool Role]: Pauses the specified Airflow DAG (prevents scheduling new runs).
| Parameter | Type | Description |
|---|---|---|
dag_id * | string |
unpause_dag Unpause Dag
[Tool Role]: Unpauses the specified Airflow DAG (allows scheduling new runs).
| Parameter | Type | Description |
|---|---|---|
dag_id * | string |
dag_graph Dag Graph
[Tool Role]: Retrieves task graph structure for the specified DAG.
| Parameter | Type | Description |
|---|---|---|
dag_id * | string |
list_tasks List Tasks
[Tool Role]: Lists all tasks within the specified DAG.
| Parameter | Type | Description |
|---|---|---|
dag_id * | string |
dag_code Dag Code
[Tool Role]: Retrieves the source code for the specified DAG.
| Parameter | Type | Description |
|---|---|---|
dag_id * | string |
list_event_logs List Event Logs
[Tool Role]: Lists event logs from Airflow.
| Parameter | Type | Description |
|---|---|---|
dag_id | ||
limit | integer | |
offset | integer |
get_event_log Get Event Log
[Tool Role]: Retrieves a specific event log entry.
| Parameter | Type | Description |
|---|---|---|
event_log_id * | integer |
all_dag_event_summary All Dag Event Summary
[Tool Role]: Provides summary of event logs across all DAGs.
list_import_errors List Import Errors
[Tool Role]: Lists import errors in Airflow.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
offset | integer |
get_import_error Get Import Error
[Tool Role]: Retrieves a specific import error.
| Parameter | Type | Description |
|---|---|---|
import_error_id * | integer |
all_dag_import_summary All Dag Import Summary
[Tool Role]: Provides summary of import errors across all DAGs.
dag_run_duration Dag Run Duration
[Tool Role]: Analyzes DAG run durations and performance metrics.
| Parameter | Type | Description |
|---|---|---|
dag_id * | string | |
limit | integer |
dag_task_duration Dag Task Duration
[Tool Role]: Analyzes task durations within a DAG run.
| Parameter | Type | Description |
|---|---|---|
dag_id * | string | |
dag_run_id |
dag_calendar Dag Calendar
[Tool Role]: Shows DAG schedule and execution calendar for a date range.
| Parameter | Type | Description |
|---|---|---|
dag_id * | string | |
end_date * | string | |
start_date * | string |
get_health Get Health
[Tool Role]: Checks Airflow cluster health status.
get_version Get Version
[Tool Role]: Gets Airflow version information.
get_config Get Config
[Tool Role]: Retrieves Airflow configuration.
list_config_sections List Config Sections
[Tool Role]: Lists all configuration sections with summary.
get_config_section Get Config Section
[Tool Role]: Gets all options within a specific configuration section.
| Parameter | Type | Description |
|---|---|---|
section_name * | string |
search_config_options Search Config Options
[Tool Role]: Searches for configuration options matching a term.
| Parameter | Type | Description |
|---|---|---|
search_term * | string |
list_pools List Pools
[Tool Role]: Lists all pools in Airflow.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
offset | integer |
get_pool Get Pool
[Tool Role]: Gets details for a specific pool.
| Parameter | Type | Description |
|---|---|---|
pool_name * | string |
list_task_instances_all List Task Instances All
[Tool Role]: Lists task instances with comprehensive filtering options.
| Parameter | Type | Description |
|---|---|---|
dag_id | ||
dag_run_id | ||
duration_gte | ||
duration_lte | ||
end_date_gte | ||
end_date_lte | ||
execution_date_gte | ||
execution_date_lte | ||
limit | integer | |
offset | integer | |
pool | ||
start_date_gte | ||
start_date_lte | ||
state | ||
task_id |
get_task_instance_details Get Task Instance Details
[Tool Role]: Gets detailed information for a specific task instance.
| Parameter | Type | Description |
|---|---|---|
dag_id * | string | |
dag_run_id * | string | |
task_id * | string |
list_task_instances_batch List Task Instances Batch
[Tool Role]: Lists task instances in batch with date and state filtering.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
offset | integer | |
start_date_gte | ||
start_date_lte | ||
state |
get_task_instance_extra_links Get Task Instance Extra Links
[Tool Role]: Gets extra links for a task instance.
| Parameter | Type | Description |
|---|---|---|
dag_id * | string | |
dag_run_id * | string | |
task_id * | string |
get_task_instance_logs Get Task Instance Logs
[Tool Role]: Retrieves logs for a specific task instance.
| Parameter | Type | Description |
|---|---|---|
dag_id * | string | |
dag_run_id * | string | |
task_id * | string | |
try_number | integer |
list_variables List Variables
[Tool Role]: Lists all variables in Airflow.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
offset | integer |
get_variable Get Variable
[Tool Role]: Gets the value of a specific variable.
| Parameter | Type | Description |
|---|---|---|
variable_key * | string |
list_xcom_entries List Xcom Entries
[Tool Role]: Lists XCom entries for a specific task instance.
| Parameter | Type | Description |
|---|---|---|
dag_id * | string | |
dag_run_id * | string | |
task_id * | string | |
limit | integer | |
offset | integer |
get_xcom_entry Get Xcom Entry
[Tool Role]: Gets a specific XCom entry.
| Parameter | Type | Description |
|---|---|---|
dag_id * | string | |
dag_run_id * | string | |
task_id * | string | |
xcom_key * | string |
list_connections List Connections
[Tool Role]: Lists all connections in Airflow.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
offset | integer |
get_connection Get Connection
[Tool Role]: Gets details for a specific connection.
| Parameter | Type | Description |
|---|---|---|
connection_id * | string |
create_connection Create Connection
[Tool Role]: Creates a new connection.
| Parameter | Type | Description |
|---|---|---|
connection_data * | object |
update_connection Update Connection
[Tool Role]: Updates an existing connection.
| Parameter | Type | Description |
|---|---|---|
connection_data * | object | |
connection_id * | string |
delete_connection Delete Connection
[Tool Role]: Deletes a connection.
| Parameter | Type | Description |
|---|---|---|
connection_id * | string |
list_users List Users
[Tool Role]: Lists all users in the Airflow system (v1 API only).
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
offset | integer |
get_user Get User
[Tool Role]: Gets details of a specific user (v1 API only).
| Parameter | Type | Description |
|---|---|---|
username * | string |
list_permissions List Permissions
[Tool Role]: Lists all permissions available in the Airflow system (v1 API only).
list_roles List Roles
[Tool Role]: Lists all roles in the Airflow system (v1 API only).
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
offset | integer |
list_plugins List Plugins
[Tool Role]: Lists all installed plugins in the Airflow system.
list_providers List Providers
[Tool Role]: Lists all provider packages installed in the Airflow system.
get_provider Get Provider
[Tool Role]: Gets details of a specific provider package.
| Parameter | Type | Description |
|---|---|---|
provider_name * | string |
list_datasets List Datasets
[Tool Role]: Lists all datasets in the Airflow system (v1 API only - v2 uses Assets).
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
offset | integer | |
uri_pattern |
get_dataset Get Dataset
[Tool Role]: Gets details of a specific dataset (v1 API only - v2 uses Assets).
| Parameter | Type | Description |
|---|---|---|
dataset_uri * | string |
list_dataset_events List Dataset Events
[Tool Role]: Lists dataset events for data lineage tracking (v1 API only - v2 uses Assets).
| Parameter | Type | Description |
|---|---|---|
dataset_uri | ||
limit | integer | |
offset | integer | |
source_dag_id |
get_dataset_events Get Dataset Events
[Tool Role]: Gets events for a specific dataset (v1 API only - v2 uses Assets).
| Parameter | Type | Description |
|---|---|---|
dataset_uri * | string | |
limit | integer | |
offset | integer |