mcp-sudo

v1.0.1
io.github.KamaruSama/mcp-sudo Checked 8 hours ago Published 7 months ago

Run 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.

ParameterTypeDescription
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).

ParameterTypeDescription
command *string
timeoutinteger

has_password

Check if a sudo password is already stored.

clear_password

Remove the stored sudo password.