"""Duffel API configuration."""
import os
from typing import Final
# API Constants
DUFFEL_API_URL: Final = "https://api.duffel.com"
DUFFEL_API_VERSION: Final = "v2"
def get_api_token() -> str:
"""Get Duffel API token from environment."""
token = os.getenv("DUFFEL_API_KEY_LIVE")
if not token:
raise ValueError("DUFFEL_API_KEY_LIVE environment variable not set")
return token
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/ravinahp/flights-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server