Skip to main content
Glama

MCP Server Airflow Token

envs.py632 B
import os from urllib.parse import urlparse # Environment variables for Airflow connection # AIRFLOW_HOST defaults to localhost for development/testing if not provided _airflow_host_raw = os.getenv("AIRFLOW_HOST", "http://localhost:8080") # Don't strip the path - we need it for Astronomer deployments like /deployment-id AIRFLOW_HOST = _airflow_host_raw.rstrip("/") # Authentication options - either token or username/password AIRFLOW_TOKEN = os.getenv("AIRFLOW_TOKEN") AIRFLOW_USERNAME = os.getenv("AIRFLOW_USERNAME") AIRFLOW_PASSWORD = os.getenv("AIRFLOW_PASSWORD") AIRFLOW_API_VERSION = os.getenv("AIRFLOW_API_VERSION", "v1")

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/nikhil-ganage/mcp-server-airflow-token'

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