mcp-sudo
v1.0.1Run sudo commands with a Fernet-encrypted password bound to machine-id + user.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
store_password
Store sudo password encrypted. Only needs to be done once.
| Parameter | Type | Description |
|---|---|---|
password * | string |
sudo_exec
Execute a command with sudo using the stored password. Args: command: The shell command to run with sudo. timeout: Timeout in seconds (default 120).
| Parameter | Type | Description |
|---|---|---|
command * | string | |
timeout | integer |
has_password
Check if a sudo password is already stored.
clear_password
Remove the stored sudo password.