Skip to main content
Glama

MCP Server Airflow Token

get_version

Retrieve version details of the Apache Airflow deployment through the MCP server to verify API compatibility and deployment status.

Instructions

Get version information

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

{ "properties": {}, "type": "object" }

Implementation Reference

  • The async handler function that implements the core logic of the 'get_version' tool. It fetches version information from the Airflow MonitoringApi and returns it formatted as MCP TextContent.
    async def get_version() -> List[Union[types.TextContent, types.ImageContent, types.EmbeddedResource]]: """ Get version information about Airflow. """ response = monitoring_api.get_version() return [types.TextContent(type="text", text=str(response.to_dict()))]
  • The get_all_functions() in this module returns a tuple for 'get_version' (function, name, description, read_only), which is imported and used in src/main.py to register the tool with the MCP server via app.add_tool().
    def get_all_functions() -> list[tuple[Callable, str, str, bool]]: """Return list of (function, name, description, is_read_only) tuples for registration.""" return [ (get_health, "get_health", "Get instance status", True), (get_version, "get_version", "Get version information", True), ]

Latest Blog Posts

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