ai-sre
Provides tools for inspecting Docker container states and health as part of system reconnaissance across cluster nodes.
Provides tools for inspecting PM2 process clusters, service state, and process health across cluster nodes.
Provides fast JSON telemetry streaming for Three.js WebGL 3D Arc Reactor HUD interfaces.
Allows dispatching incident alerts and notifications via WhatsApp Bot worker integration.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
π‘οΈ AI-SRE: Autonomous Site Reliability Engineering & Observability Daemon
Autonomous Infrastructure Reliability, Security Reconnaissance, and Self-Healing Engine for Distributed Cloud & Edge Nodes.
π Overview
AI-SRE is a lightweight, agentic Site Reliability Engineering daemon engineered to safeguard multi-node infrastructure. Unlike traditional heavy APM suites, AI-SRE pairs autonomous background telemetry collection with asymmetric cryptographic authentication (Ed25519) and native Model Context Protocol (MCP) interfaces, enabling AI assistants (such as FRIDAY / Antigravity) to inspect, triage, and remediate system anomalies autonomously.
Related MCP server: Nibble
β‘ Core Capabilities
Zero-Trust Cryptographic Communication
All inter-node telemetry requests (
/api/*) are signed using Ed25519 asymmetric private keys and verified against authorized public keys (keys/*.pub).Replay protection with strict 60-second timestamp freshness windows.
Full-Spectrum System Telemetry & Reconnaissance
Metrics Engine (
src/metrics.js): Real-time CPU pressure, memory utilization (RSS / Heap / Swap), disk I/O, and network bandwidth.Reconnaissance Engine (
src/recon.js): PM2 process cluster inspection, systemd service health, Docker container states, and listening socket audits.
Autonomous SRE Patrol & Self-Healing Hub
Distributed multi-node patrol orchestrator (
patrol-hub.js).Automated memory leak detection and graceful service restarts.
Circuit-breaker cooldown preventing alert spamming.
Native MCP Server (Model Context Protocol)
Exposes production-ready tools for AI agents:
sre_get_system_health: Real-time health check across cluster nodes.sre_get_metrics: CPU, memory, and disk telemetry.sre_get_recon: Service state, PM2 processes, and open ports.sre_run_patrol: Execute comprehensive multi-node patrol.sre_send_alert: Dispatch incident notification.
Telemetry Bridge for Holographic HUD & Notifications
Fast JSON telemetry streaming for Three.js WebGL 3D Arc Reactor interfaces.
Direct incident alerting via WhatsApp Bot worker integration.
ποΈ Architecture
ββββββββββββββββββββββββββ
β Friday AI / Agent β
β (Antigravity / MCP) β
βββββββββββββ¬βββββββββββββ
β MCP Tools
βΌ
ββββββββββββββββββββββββββ
β AI-SRE Hub β
β (vm-maskii :3400) β
βββββββββββββ¬βββββββββββββ
β
βββββββββββββββββββββββββββ΄ββββββββββββββββββββββββββ
β Ed25519 Signed Request (Tailscale Private Mesh) β
βΌ βΌ
ββββββββββββββββββββββββββ ββββββββββββββββββββββββββ
β AI-SRE Node (lucky) β β AI-SRE Node (atcs) β
β - 14 PM2 Processes β β - KVM Hypervisor β
β - MySQL & Nginx β β - Ant Media β
ββββββββββββββββββββββββββ ββββββββββββββββββββββββββπ Getting Started
Prerequisites
Node.js 18.0.0 or higher
Linux (Ubuntu / Debian / RHEL)
Installation
# Clone the repository
git clone https://github.com/lhermawan/ai-sre.git
cd ai-sre
# Install dependencies
npm install
# Copy environment configuration
cp .env.example .envKeypair Generation (Ed25519)
Generate asymmetric authentication keypairs for the agent and hub:
mkdir -p keys
ssh-keygen -t ed25519 -N "" -f keys/friday_agent.key -C "friday-agent-auth"Export authorized public keys to the node's keys/ directory (keys/*.pub).
π§ CLI & MCP Usage
Running Locally
# Start daemon
npm start
# Run system metrics check
node cli.js metrics
# Run service reconnaissance
node cli.js recon
# Execute full cluster patrol
node patrol-hub.jsConnecting to MCP (Claude Desktop / Antigravity)
Add to your MCP configuration (mcp_config.json):
{
"mcpServers": {
"ai-sre": {
"command": "node",
"args": ["/path/to/ai-sre/mcp-server.js"]
}
}
}π Security Best Practices
Never commit
.envor private keys (keys/*.key).Keep all inter-node communication confined to private overlay networks (e.g., Tailscale / WireGuard).
Enforce periodic key rotation for Ed25519 agents.
π License
This project is licensed under the ISC License.
Authored by Maskii Studio / Friday AI-SRE Team.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP-native AI SRE: ask what's broken in production, get a reviewed GitHub fix PR.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
AI-powered incident management and server monitoring via MCP.
Your org's AI agents, tasks, runs, search, and brain files as MCP tools and resources.
Related MCP Servers
- AlicenseCqualityBmaintenanceEnables AI agents to manage system updates, application installations, and remote host orchestration through MCP tools.263MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to investigate production incidents by exposing service health, logs, and deployment data through MCP tools.5 npmISC
- AlicenseAqualityBmaintenanceEnables AI agents to monitor server health and capacity, diagnose outages, inspect Docker and deployment status, and perform safe, bounded recovery actions via MCP without granting unrestricted shell or SSH access.101Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to inspect Kubernetes pods and cluster events, query Prometheus and Loki, and diagnose pod health with suggested actions through MCP tools.MIT