Skip to main content
Glama

MCP-Airflow-API

dag_code

Retrieve the source code for a specific Apache Airflow DAG by providing its DAG ID, enabling developers to inspect and manage workflows directly within the MCP-Airflow-API environment.

Instructions

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

Args: dag_id: The DAG ID to get source code for

Returns: DAG source code: dag_id, file_token, source_code

Input Schema

NameRequiredDescriptionDefault
dag_idYes

Input Schema (JSON Schema)

{ "properties": { "dag_id": { "title": "Dag Id", "type": "string" } }, "required": [ "dag_id" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/call518/MCP-Airflow-API'

If you have feedback or need assistance with the MCP directory API, please join our Discord server