OS Automation · Security

ubuntu_mcp_server

pazuzu1w/ubuntu_mcp_server

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.

Install

Client configuration

{
  "mcpServers": {
    "secure-ubuntu": {
      "command": "/path/to/secure-ubuntu-mcp/.venv/bin/python3",
      "args": [
        "/path/to/secure-ubuntu-mcp/main.py",
        "--policy",
        "secure"
      ],
      "env": {
        "MCP_LOG_LEVEL": "<MCP_LOG_LEVEL>"
      }
    }
  }
}

Environment variables

MCP_LOG_LEVEL
Author
@pazuzu1w
Category
OS Automation, Security
License
MIT
Updated
Oct 6, 2026

Features

  • 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

  • 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)

  • Modular design with clear separation of concerns

Tools (1)

  • get_system_info

    Get OS, memory, and disk information

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Claude Desktop logo

Claude Desktop

Desktop · Freemium · Proprietary

Anthropic's official Claude AI desktop application. Supports MCP servers to extend functionality.

WindowsMacOS

Related MCP servers

More servers
CLI (Desktop Commander) logo

CLI (Desktop Commander)

wonderwhy-er/desktopcommandermcp

2.1k

Work with code and text, run processes, and automate tasks, going far beyond other AI editors - while using host client subscriptions instead of API token costs.

OS Automation
Apple MCP Server logo

Apple MCP Server

Dhravya/apple-mcp

1.5k

Apple MCP toolset is a collection of Apple native tools based on the MCP protocol, providing integration services for Messages, Notes, Contacts, Mail, Reminders, Calendar and other Apple ecosystem features.

OS Automation
XcodeBuildMCP logo

XcodeBuildMCP

cameroncooke/XcodeBuildMCP

442

A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.

OS Automation
iMCP – Apple iMessage, Reminders, Calendar, Contacts and more logo

iMCP – Apple iMessage, Reminders, Calendar, Contacts and more

loopwork-ai/imcp

429

iMCP is a macOS app for connecting your digital life with AI. It works with Claude Desktop and a growing list of clients that support the Model Context Protocol (MCP).

OS Automation
Mobile MCP logo

Mobile MCP

mobile-next/mobile-mcp

391

This is an MCP Server that enables scalable mobile automation, development through a platform-agnostic interface, eliminating the need for distinct iOS or Android knowledge. You can run it on emulators, simulators, and real devices (iOS and Android).

OS Automation
Android Debug Bridge logo

Android Debug Bridge

minhalvp/android-mcp-server

320

An MCP (Model Context Protocol) server that provides programmatic control over Android devices through ADB (Android Debug Bridge). This server exposes various Android device management capabilities that can be accessed by MCP clients like Claude desktop and Code editors (e.g. Cursor)

OS Automation