Skip to main content
Glama
theme.pyβ€’2.71 kB
""" Theme configuration for Proxmox MCP output styling. """ class ProxmoxTheme: """Theme configuration for Proxmox MCP output.""" # Feature flags USE_EMOJI = True USE_COLORS = True # Status indicators with emojis STATUS = { 'online': '🟒', 'offline': 'πŸ”΄', 'running': '▢️', 'stopped': '⏹️', 'unknown': '❓', 'pending': '⏳', 'error': '❌', 'warning': '⚠️', } # Resource type indicators RESOURCES = { 'node': 'πŸ–₯️', 'vm': 'πŸ—ƒοΈ', 'container': 'πŸ“¦', 'storage': 'πŸ’Ύ', 'cpu': '⚑', 'memory': '🧠', 'network': '🌐', 'disk': 'πŸ’Ώ', 'backup': 'πŸ“Ό', 'snapshot': 'πŸ“Έ', 'template': 'πŸ“‹', 'pool': '🏊', } # Action and operation indicators ACTIONS = { 'success': 'βœ…', 'error': '❌', 'warning': '⚠️', 'info': 'ℹ️', 'command': 'πŸ”§', 'start': '▢️', 'stop': '⏹️', 'restart': 'πŸ”„', 'delete': 'πŸ—‘οΈ', 'edit': '✏️', 'create': 'βž•', 'migrate': '➑️', 'clone': 'πŸ“‘', 'lock': 'πŸ”’', 'unlock': 'πŸ”“', } # Section and grouping indicators SECTIONS = { 'header': 'πŸ“Œ', 'details': 'πŸ“', 'statistics': 'πŸ“Š', 'configuration': 'βš™οΈ', 'logs': 'πŸ“œ', 'tasks': 'πŸ“‹', 'users': 'πŸ‘₯', 'permissions': 'πŸ”‘', } # Measurement and metric indicators METRICS = { 'percentage': '%', 'temperature': '🌑️', 'uptime': '⏳', 'bandwidth': 'πŸ“Ά', 'latency': '⚑', } @classmethod def get_status_emoji(cls, status: str) -> str: """Get emoji for a status value with fallback.""" status = status.lower() return cls.STATUS.get(status, cls.STATUS['unknown']) @classmethod def get_resource_emoji(cls, resource: str) -> str: """Get emoji for a resource type with fallback.""" resource = resource.lower() return cls.RESOURCES.get(resource, 'πŸ“¦') @classmethod def get_action_emoji(cls, action: str) -> str: """Get emoji for an action with fallback.""" action = action.lower() return cls.ACTIONS.get(action, cls.ACTIONS['info']) @classmethod def get_section_emoji(cls, section: str) -> str: """Get emoji for a section type with fallback.""" section = section.lower() return cls.SECTIONS.get(section, cls.SECTIONS['details'])

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/canvrno/ProxmoxMCP'

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