Skip to main content
Glama
rainhan99

Cloud Manage MCP Server

by rainhan99

get_supported_providers

Retrieve a list of available cloud service providers for managing cloud servers, enabling users to identify supported platforms for operations like power management and resource tracking.

Instructions

获取支持的云服务提供商列表

Returns:
    Dict: 支持的云服务提供商信息

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • main.py:627-658 (handler)
    The main handler function for the 'get_supported_providers' MCP tool. It is decorated with @mcp.tool() which registers it with the MCP server. The function iterates over the PROVIDERS dictionary, fetches provider info using get_cloud_provider_info, and constructs a detailed status report including availability and features.
    @mcp.tool()
    def get_supported_providers() -> Dict:
        """
        获取支持的云服务提供商列表
        
        Returns:
            Dict: 支持的云服务提供商信息
        """
        providers_status = {}
        
        for provider_name, provider in PROVIDERS.items():
            provider_info = get_cloud_provider_info(provider_name)
            providers_status[provider_name] = {
                'name': provider_info['name'],
                'description': provider_info['description'],
                'permissions': provider_info['permissions'],
                'supported_operations': provider_info['supported_operations'],
                'available': getattr(provider, 'available', False),
                'error': getattr(provider, 'error', None) if not getattr(provider, 'available', False) else None
            }
        
        return {
            'total_providers': len(PROVIDERS),
            'providers': providers_status,
            'ip_detection_available': bool(IPINFO_API_TOKEN),
            'security_features': [
                '三次确认机制(IP、名称、操作类型)',
                'AWS只读权限',
                '其他平台禁止删除操作',
                '智能安全检查'
            ]
        }

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/rainhan99/cloud_manage_mcp_server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server