We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Zazzles2908/EX_AI-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
recovery_plan.py•488 B
from __future__ import annotations
from dataclasses import dataclass
from typing import Tuple
@dataclass
class RecoveryPlan:
rto_minutes: int = 30
rpo_minutes: int = 5
def simulate_restore(self, backup_available: bool, infra_ok: bool) -> Tuple[bool, str]:
if not backup_available:
return False, "No backup available"
if not infra_ok:
return False, "Infrastructure not healthy"
return True, "Restore simulated successfully"