mcp-cybersec-watchdog
v0.1.0Cybersecurity monitoring and analysis for Linux servers via MCP
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
security_audit
Run comprehensive cybersecurity audit of the Linux server. Analyzes: firewall (ufw/iptables/firewalld), SSH configuration, threat patterns, fail2ban, network services/open ports, Docker security, security updates, MAC (AppArmor/SELinux), and kernel hardening. Returns detailed JSON report with security score and actionable recommendations.
| Parameter | Type | Description |
|---|---|---|
mask_data | boolean | Mask sensitive data like IPs and hostname (default: true) |
analyze_anomaly
Analyze security anomaly with AI-powered insights. Use this when the monitoring system detects anomalies (firewall changes, new open ports, SSH config changes, attack spikes, etc.). Provides deep analysis of what changed, why it's concerning, and recommended actions. This tool should ONLY be called when anomalies are detected - don't waste tokens on normal state.
| Parameter | Type | Description |
|---|---|---|
anomaly_file * | string | Path to anomaly report JSON file (generated by monitor) |
monitoring_status
Get current status of security monitoring daemon. Shows if monitoring is running, how many logs collected, disk usage, etc. Use this to check monitoring state before starting/stopping it.
start_monitoring
Start continuous security monitoring in background. The daemon will check security state periodically and alert on anomalies. IMPORTANT: Ask user for confirmation before starting! This runs a background process.
| Parameter | Type | Description |
|---|---|---|
interval_seconds | number | Check interval in seconds (default: 3600 = 1 hour, min: 300 = 5 min) |
stop_monitoring
Stop security monitoring daemon. IMPORTANT: Ask user for confirmation before stopping!
cleanup_old_logs
Remove old monitoring logs to free disk space. Keeps most recent 50 bulletins and 20 anomaly reports, deletes older ones. Safe to run periodically to prevent disk fill.