sudo-mcp

ashishkaushik05/sudo-mcp
★ 0 stars Python Code/Dev Tools Updated today
MCP server that lets Claude Code run allowlisted sudo commands
View on GitHub → 🔍 Audit Wallet Slippage →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "sudo-mcp": {
      "command": "uvx",
      "args": [
        "sudo-mcp"
      ]
    }
  }
}

Or install with pip: pip install sudo-mcp

README Excerpt

An MCP server that lets Claude Code run **allowlisted** `sudo` commands on this machine. Claude Code can already type `sudo` into its Bash tool — what stops it is that there is no terminal to answer the password prompt. This server solves that, and adds the two things a raw password pipe would not give you: a **command allowlist** and an **audit log**.

Tools (3)

sudo_checksudo_policysudo_run