Overview
System endpoints provide critical administrative operations for the Secure MCP Gateway, including health checks, configuration backup and restore, and system reset functionality.Health Check
Check the health and status of the API server.This endpoint does not require authentication and can be used for monitoring and load balancer health checks.
200 OK
string
required
Server health status message
string
required
Current gateway version
string
required
Path to the active configuration file
Use Cases
Monitoring & Alerting:System Health Check (Detailed)
Perform a comprehensive system health check with detailed diagnostics.This endpoint requires authentication and provides more detailed system information.
200 OK
string
required
Overall system health:
healthy, degraded, or unhealthyboolean
required
Whether the configuration file is valid
string
required
Cache configuration:
local or externalinteger
required
API server uptime in seconds
System Backup
Create a complete backup of the system configuration.string
required
Absolute path where the backup file will be created
200 OK
Backup Contents
The backup file contains:- All MCP configurations
- All projects
- All users
- All API keys (encrypted)
- Admin API key
- Plugin configurations
- Common gateway settings
Automated Backup Script
System Restore
Restore the system configuration from a backup file.string
required
Absolute path to the backup file to restore from
200 OK
After a successful restore, restart the API server and gateway for changes to take full effect.
Restore with Verification
System Reset
Reset the system to default configuration, removing all configurations, projects, users, and API keys.boolean
required
Must be
true to confirm the reset operation200 OK
400 Bad Request (if confirm is not true)
Safe Reset Procedure
Disaster Recovery
Complete DR Workflow
Monitoring Examples
Health Check Monitoring Script
Next Steps
Configuration Endpoints
Manage MCP configurations
User Management
Create and manage users
API Keys
Manage API keys
Projects
Project management