Ghostintheshell Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Ghostintheshell Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
A Sandboxed, Read-Only System Oracle for AI Agents
Because it sees everything… but touches nothing.
GhostInTheShell is an advanced Model Context Protocol (MCP) server for local DevOps, Container Diagnostics, and System Monitoring. It safely exposes metrics, container states, and logs to AI agents while minimizing token usage and preventing malicious directory traversal.
Unlike raw wrapper servers, it provides Diagnostics Intelligence and Strict Sandboxing. Instead of dumping raw command outputs that exhaust LLM tokens, it employs contextual compression to return highly targeted diagnostic intelligence.
Built to be strictly read-only:
/../)./etc and /root.app_error -> /tmp/app.log) so the LLM doesn't even know the real disk paths.Computes states locally before hitting the LLM:
OOMKilled flags, and healthcheck failures.exceptions/fatals.A custom logging parser that helps prevent LLM context exhaustion:
Requires uv and Python 3.10+.
# Clone the repository
git clone https://github.com/pronzzz/GhostInTheShell-mcp.git
cd GhostInTheShell-mcp
# Install as a uv tool globally
uv tool install ./Or run directly from source:
GHOST_ALLOWED_DIRS="/var/log,/tmp" uv run ghostinshellTo grant Claude Desktop access to your machine's diagnostics securely, edit your claude_desktop_config.json:
{
"mcpServers": {
"ghostinshell": {
"command": "uv",
"args": [
"--directory",
"/absolute/path/to/ghostinshell",
"run",
"ghostinshell"
]
}
}
}get_system_health: High-level multi-platform CPU, Disk, and RAM status.list_processes(sort_by="cpu|memory"): Details on top running processes.docker_status: Raw Docker daemon read-only status.analyze_containers: Intelligent diagnosis of crash loops, OOM flags, and resource limits.check_cpu_anomalies: Detects runaway processes based on load and uptime.check_memory_pressure: Identifies system memory hogs.check_disk_pressure: Warnings for saturated root disks.list_available_virtual_logs: Look up registered safe-to-read log files.tail_log(alias, lines): Returns token-compressed tail of a file.check_log_errors(alias): Rapid regex anomaly detection for error spikes.check_port_conflicts: Detect processes attempting to bind identical local ports.Want to add new safe capabilities? Check out the GUIDE.md and CONTRIBUTING.md.
# Install development dependencies
uv pip install -e ".[dev]"
# Run tests
uv run pytest tests/We test heavily against:
This project is licensed under the MIT License - see the LICENSE file for details.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.