Skip to main content
Glama

ssh_execute_sudo

Execute privileged commands on remote servers using sudo. Specify server, command, and optional password, working directory, and timeout for secure administrative operations.

Instructions

Execute command with sudo on remote server

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
serverYesServer name or alias
commandYesCommand to execute with sudo
passwordNoSudo password (will be masked in output)
cwdNoWorking directory
timeoutNoCommand timeout in milliseconds (default: 30000)

Implementation Reference

  • The 'ssh_execute_sudo' tool is listed in the TOOL_GROUPS.advanced array, serving as the central registry for MCP tool names used for conditional registration based on user configuration.
    'ssh_deploy', 'ssh_execute_sudo', 'ssh_alias', 'ssh_command_alias', 'ssh_hooks', 'ssh_profile', 'ssh_connection_status', 'ssh_tunnel_create', 'ssh_tunnel_list', 'ssh_tunnel_close', 'ssh_key_manage', 'ssh_execute_group', 'ssh_group_manage', 'ssh_history' ]

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bvisible/mcp-ssh-manager'

If you have feedback or need assistance with the MCP directory API, please join our Discord server