iflow-mcp-call518-mcp-airflow-api

v0.0.0
iflow-mcp-call518-mcp-airflow-api Checked 2 days ago Published 9 months ago

Model 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.

ParameterTypeDescription
modeOptional mode (summary/detailed) to control response verbosity
sectionOptional 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.

ParameterTypeDescription
fetch_allbooleanIf True, fetches all DAGs regardless of limit/offset
id_containsFilter DAGs by ID containing this string
limitintegerMaximum number of DAGs to return (default: 20)
name_containsFilter DAGs by display name containing this string
offsetintegerNumber of DAGs to skip for pagination (default: 0)

get_dag Get Dag

[Tool Role]: Retrieves detailed information for a specific DAG.

ParameterTypeDescription
dag_id *stringThe 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.

ParameterTypeDescription
fetch_allboolean
id_contains
is_active
is_paused
limitinteger
name_contains
offsetinteger

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.

ParameterTypeDescription
dag_id *string

pause_dag Pause Dag

[Tool Role]: Pauses the specified Airflow DAG (prevents scheduling new runs).

ParameterTypeDescription
dag_id *string

unpause_dag Unpause Dag

[Tool Role]: Unpauses the specified Airflow DAG (allows scheduling new runs).

ParameterTypeDescription
dag_id *string

dag_graph Dag Graph

[Tool Role]: Retrieves task graph structure for the specified DAG.

ParameterTypeDescription
dag_id *string

list_tasks List Tasks

[Tool Role]: Lists all tasks within the specified DAG.

ParameterTypeDescription
dag_id *string

dag_code Dag Code

[Tool Role]: Retrieves the source code for the specified DAG.

ParameterTypeDescription
dag_id *string

list_event_logs List Event Logs

[Tool Role]: Lists event logs from Airflow.

ParameterTypeDescription
dag_id
limitinteger
offsetinteger

get_event_log Get Event Log

[Tool Role]: Retrieves a specific event log entry.

ParameterTypeDescription
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.

ParameterTypeDescription
limitinteger
offsetinteger

get_import_error Get Import Error

[Tool Role]: Retrieves a specific import error.

ParameterTypeDescription
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.

ParameterTypeDescription
dag_id *string
limitinteger

dag_task_duration Dag Task Duration

[Tool Role]: Analyzes task durations within a DAG run.

ParameterTypeDescription
dag_id *string
dag_run_id

dag_calendar Dag Calendar

[Tool Role]: Shows DAG schedule and execution calendar for a date range.

ParameterTypeDescription
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.

ParameterTypeDescription
section_name *string

search_config_options Search Config Options

[Tool Role]: Searches for configuration options matching a term.

ParameterTypeDescription
search_term *string

list_pools List Pools

[Tool Role]: Lists all pools in Airflow.

ParameterTypeDescription
limitinteger
offsetinteger

get_pool Get Pool

[Tool Role]: Gets details for a specific pool.

ParameterTypeDescription
pool_name *string

list_task_instances_all List Task Instances All

[Tool Role]: Lists task instances with comprehensive filtering options.

ParameterTypeDescription
dag_id
dag_run_id
duration_gte
duration_lte
end_date_gte
end_date_lte
execution_date_gte
execution_date_lte
limitinteger
offsetinteger
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.

ParameterTypeDescription
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.

ParameterTypeDescription
limitinteger
offsetinteger
start_date_gte
start_date_lte
state

get_task_instance_logs Get Task Instance Logs

[Tool Role]: Retrieves logs for a specific task instance.

ParameterTypeDescription
dag_id *string
dag_run_id *string
task_id *string
try_numberinteger

list_variables List Variables

[Tool Role]: Lists all variables in Airflow.

ParameterTypeDescription
limitinteger
offsetinteger

get_variable Get Variable

[Tool Role]: Gets the value of a specific variable.

ParameterTypeDescription
variable_key *string

list_xcom_entries List Xcom Entries

[Tool Role]: Lists XCom entries for a specific task instance.

ParameterTypeDescription
dag_id *string
dag_run_id *string
task_id *string
limitinteger
offsetinteger

get_xcom_entry Get Xcom Entry

[Tool Role]: Gets a specific XCom entry.

ParameterTypeDescription
dag_id *string
dag_run_id *string
task_id *string
xcom_key *string

list_connections List Connections

[Tool Role]: Lists all connections in Airflow.

ParameterTypeDescription
limitinteger
offsetinteger

get_connection Get Connection

[Tool Role]: Gets details for a specific connection.

ParameterTypeDescription
connection_id *string

create_connection Create Connection

[Tool Role]: Creates a new connection.

ParameterTypeDescription
connection_data *object

update_connection Update Connection

[Tool Role]: Updates an existing connection.

ParameterTypeDescription
connection_data *object
connection_id *string

delete_connection Delete Connection

[Tool Role]: Deletes a connection.

ParameterTypeDescription
connection_id *string

list_users List Users

[Tool Role]: Lists all users in the Airflow system (v1 API only).

ParameterTypeDescription
limitinteger
offsetinteger

get_user Get User

[Tool Role]: Gets details of a specific user (v1 API only).

ParameterTypeDescription
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).

ParameterTypeDescription
limitinteger
offsetinteger

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.

ParameterTypeDescription
provider_name *string

list_datasets List Datasets

[Tool Role]: Lists all datasets in the Airflow system (v1 API only - v2 uses Assets).

ParameterTypeDescription
limitinteger
offsetinteger
uri_pattern

get_dataset Get Dataset

[Tool Role]: Gets details of a specific dataset (v1 API only - v2 uses Assets).

ParameterTypeDescription
dataset_uri *string

list_dataset_events List Dataset Events

[Tool Role]: Lists dataset events for data lineage tracking (v1 API only - v2 uses Assets).

ParameterTypeDescription
dataset_uri
limitinteger
offsetinteger
source_dag_id

get_dataset_events Get Dataset Events

[Tool Role]: Gets events for a specific dataset (v1 API only - v2 uses Assets).

ParameterTypeDescription
dataset_uri *string
limitinteger
offsetinteger