sudo-exec
privileged-command
How to use it
Project documentation lists sudo-exec for the Ssh MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
Install Ssh MCP
claude mcp add --transport stdio ssh-mcp -- ssh-mcpOther tools in Ssh MCP (13)
Close a session, releasing resources
read-command
Discover available hosts and connection status
List active sessions per host
Create a named interactive (stateful) or background session
Execute with sudo (always requires approval)
Execute allowlisted read-only commands (ls, cat, grep, ...)
Read output from background sessions (e.g., tail -f)
Execute arbitrary commands (destructive ones need approval)
Download a file via SFTP
Upload a file via SFTP
Send INT/TERM/KILL to a remote PID
v2