Ubuntu System ControllerSAFE
an mcp server built to give claude config limited control over ubuntu os operations
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
🔒 Security-First Model Context Protocol server for safe Ubuntu system operations
A hardened, production-ready Model Context Protocol (MCP) server that provides AI assistants with secure, controlled access to Ubuntu system operations. Built with comprehensive security controls, audit logging, and defense-in-depth principles.
[](https://opensource.org/licenses/MIT) [](https://www.python.org/downloads/) [](#security-features) [](https://modelcontextprotocol.io/)
✨ Key Features
🛡️ Security-First Architecture
- Path traversal protection - Symlink resolution with allowlist/denylist controls
- Command sanitization - Shell injection prevention with safe argument parsing
- Resource limits - File size, execution timeouts, and output size controls
- Comprehensive audit logging - All operations logged with user attribution
- Defense in depth - Multiple security layers with fail-safe defaults
🎯 Core Capabilities
- File Operations - Read, write, and list directories with permission validation
- Command Execution - Safe shell command execution with whitelist/blacklist filtering
- System Information - OS details, memory, and disk usage monitoring
- Package Management - APT package search and listing (installation requires explicit config)
🏗️ Production Ready
- Modular design with clear separation of concerns
- Comprehensive error handling with meaningful error messages
- Extensive test suite including security validation tests
- Configurable policies for different use cases and environments
- Zero-dependency security - Core security doesn't rely on external p
38234cf194aaOBSERVED · 2026-10-08Exposed tools (7)
4 read · 3 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
execute_command | write | Executes a shell command on the Ubuntu system. |
get_system_info | read | Gets basic system information. |
install_package | write | |
list_directory | read | Lists the contents of a directory. |
read_file | read | Reads the contents of a file. |
search_packages | read | |
write_file | write | Writes content to a file, creating backups of existing files. |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- declared (11 observation(s))
- Network
- declared (1 observation(s))
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (2)
await run_test("Path Traversal", controller.read_file, "/tmp/../../etc/passwd")mcp, psutil
Gates applied: no_behavioural_pass.
38234cf194aafull audit observations/trust-audit/mcp-server/pazuzu1w__ubuntu-system-controller.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-08 | 38234cf194aa | SAFE | B | 89 | first audit |
Questions
What is the Ubuntu System Controller MCP server?
an mcp server built to give claude config limited control over ubuntu os operations
What tools does Ubuntu System Controller expose?
7 in total: 4 read-only, 3 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Ubuntu System Controller safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does Ubuntu System Controller need?
No credential environment variables were found in its source, so it appears to need none.
How current is this page?
The grade is for one exact copy of the source (38234cf194aa), read on 2026-10-08. The repository is watched and re-audited when it changes.