UNPKG

firewalla-mcp-server

Version:

Model Context Protocol (MCP) server for Firewalla MSP API - Provides real-time network monitoring, security analysis, and firewall management through 28 specialized tools compatible with any MCP client

46 lines 1.36 kB
import type { FirewallaClient } from '../firewalla/client'; import { SecurityManager } from '../config/security'; export interface HealthStatus { status: 'healthy' | 'degraded' | 'unhealthy'; timestamp: string; version: string; uptime: number; checks: Record<string, { status: 'pass' | 'fail' | 'warn'; message?: string; responseTime?: number; details?: Record<string, unknown>; }>; } export declare class HealthCheckManager { private firewalla; private startTime; private security; constructor(firewalla: FirewallaClient, security?: SecurityManager); performHealthCheck(): Promise<HealthStatus>; private runAllChecks; private checkConfig; private checkFirewallaAPI; private checkMemoryUsage; private checkCacheHealth; private checkSecurity; private determineOverallStatus; getDetailedStatus(): Promise<{ health: HealthStatus; metrics: { firewalla_cache_size: number; memory_heap_used_mb: number; uptime_seconds: number; last_api_response_time_ms?: number; }; }>; getReadinessStatus(): { ready: boolean; reason?: string; }; getLivenessStatus(): { alive: boolean; reason?: string; }; } //# sourceMappingURL=endpoints.d.ts.map