MCP Server for Apache Airflow

list_dags

Lists all DAGs in the Airflow instance

Input Schema

NameRequiredDescriptionDefault
dag_id_patternNoIf set, only return DAGs with dag_ids matching this pattern
limitNoThe numbers of items to return (default: 100)
offsetNoThe number of items to skip before starting to collect the result set
only_activeNoOnly filter active DAGs (default: true)
order_byNoThe name of the field to order the results by. Prefix with - to reverse sort order
pausedNoOnly filter paused/unpaused DAGs. If absent, returns both
tagsNoList of tags to filter results

Input Schema (JSON Schema)

{ "properties": { "dag_id_pattern": { "description": "If set, only return DAGs with dag_ids matching this pattern", "type": "string" }, "limit": { "description": "The numbers of items to return (default: 100)", "minimum": 1, "type": "integer" }, "offset": { "description": "The number of items to skip before starting to collect the result set", "minimum": 0, "type": "integer" }, "only_active": { "description": "Only filter active DAGs (default: true)", "type": "boolean" }, "order_by": { "description": "The name of the field to order the results by. Prefix with - to reverse sort order", "type": "string" }, "paused": { "description": "Only filter paused/unpaused DAGs. If absent, returns both", "type": "boolean" }, "tags": { "description": "List of tags to filter results", "items": { "type": "string" }, "type": "array" } }, "type": "object" }