#!/bin/bash
set -eo pipefail
# Get the directory where this script is located and navigate to project root
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "$SCRIPT_DIR"
echo "🔍 Starting MCP Inspector with Airflow Operations server..."
echo "📁 Working directory: $(pwd)"
# Load environment variables if .env exists
if [ -f ".env" ]; then
echo "📄 Loading environment from .env file"
set -o allexport
source .env
set +o allexport
fi
echo "🚀 Launching MCP Inspector..."
echo " Airflow Host: ${AIRFLOW_HOST:-localhost}:${AIRFLOW_PORT:-8080}"
npx -y @modelcontextprotocol/inspector \
-e PYTHONPATH='./src' \
-e FASTMCP_TYPE='stdio' \
-- uv run python -m mcp_airflow_api
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