get_system_status
Determine if the Aerospace MCP system is operational and ready to process flight planning requests by retrieving its status and capabilities.
Instructions
Get system status and capabilities.
Returns: JSON string with system status information
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- aerospace_mcp/tools/core.py:341-373 (handler)This is the main handler function for the get_system_status tool. It returns a JSON string with system status information including version (0.1.0), status (operational), capabilities, and optional OpenAP performance modeling availability.
def get_system_status() -> str: """Get system status and capabilities. Returns: JSON string with system status information """ status = { "system": "Aerospace MCP Server", "version": "0.1.0", "status": "operational", "capabilities": { "airport_search": True, "flight_planning": True, "great_circle_distance": True, "openap_performance": OPENAP_AVAILABLE, }, "optional_features": { "openap_available": OPENAP_AVAILABLE, }, } if OPENAP_AVAILABLE: status["openap_info"] = { "description": "OpenAP aircraft performance modeling available", "supported_aircraft": "A319, A320, A321, A332, A333, A343, A346, A359, A388, B737, B738, B739, B744, B747, B752, B753, B762, B763, B772, B773, B777, B787, and more", } else: status["openap_info"] = { "description": "OpenAP not available - install with: pip install openap", "note": "Flight planning will work without performance estimates", } return json.dumps(status, indent=2) - aerospace_mcp/fastmcp_server.py:189-189 (registration)Registration of get_system_status as a tool with the FastMCP server via mcp.tool().
mcp.tool(get_system_status) - aerospace_mcp/cli.py:116-116 (registration)Registration of get_system_status in the CLI tool map (TOOL_MAP) mapping tool name to callable.
"get_system_status": get_system_status, - Import of get_system_status from .tools.core into the FastMCP server module.
get_system_status, - aerospace_mcp/cli.py:50-50 (helper)Import of get_system_status from .tools.core into the CLI module.
get_system_status,