get_system_status
Retrieve a comprehensive overview of system status on the Cloud Manage MCP Server, enabling monitoring and management of cloud resources and operations.
Instructions
获取整个系统的状态概览
Returns:
Dict: 系统状态信息
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- main.py:703-736 (handler)The main handler function for the 'get_system_status' tool. It is decorated with @mcp.tool(), indicating registration. The function iterates over PROVIDERS to check availability and compiles a status dictionary including system status, provider details, IP detection status, security features, version, and capabilities.def get_system_status() -> Dict: """ 获取整个系统的状态概览 Returns: Dict: 系统状态信息 """ provider_status = {} available_count = 0 for provider_name, provider in PROVIDERS.items(): is_available = getattr(provider, 'available', False) provider_status[provider_name] = { 'available': is_available, 'error': getattr(provider, 'error', None) if not is_available else None } if is_available: available_count += 1 return { 'system_status': 'operational' if available_count > 0 else 'limited', 'total_providers': len(PROVIDERS), 'available_providers': available_count, 'provider_status': provider_status, 'ip_detection_enabled': bool(IPINFO_API_TOKEN), 'security_features_enabled': True, 'version': '2.0.0', 'capabilities': { 'aws': '只读查询', 'digitalocean': '查询和电源管理', 'vultr': '查询和电源管理', 'alibaba': '查询和电源管理' } }