M

MCP Shell Sudo

by eaangrino · eaangrino/mcp-shell-sudo

Enables executing local commands via an argv-based tool with optional non-interactive sudo, command allowlisting, and filesystem write confinement using Bubblewrap.

Unknown transport Glama Low confidence
Note

Install

No install method is published for this server: no package and no remote endpoint. Check its source repository or registry listing for setup instructions.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
WORK_DIR No Optional working directory. Empty or unset allows working from any existing directory. When set, the server enters strict mode, confines local filesystem writes to WORK_DIR using Bubblewrap, and rejects local sudo and all SSH execution.
PASSWORD_SUDO No Password used for local sudo. Also fallback password for remote sudo when PASSWORD_SUDO_SSH is not configured. Empty or unset means local sudo uses sudo -n and remote sudo uses sudo -n unless PASSWORD_SUDO_SSH is set.
ALLOW_COMMANDS No Comma-separated list of executable names allowed. Empty or unset allows all executables. When set, only exact executable names from the list are allowed, invoked by name rather than path. For ssh_execute, both ssh and the remote target executable must be in the list.
PASSWORD_SUDO_SSH No Optional password override used only for sudo on remote hosts executed through ssh_execute. If unset, PASSWORD_SUDO is used. If neither is set, remote sudo uses sudo -n. Not an SSH login password.

Similar servers