cmd-mcp-server

by PhialsBasement
Verified

execute_ssh_command

Execute commands on remote servers securely via SSH using persistent or new sessions. Specify host, username, and command for direct, controlled access from the MCP server.

Instructions

Execute a command on a remote server via SSH. Commands run in a persistent SSH session by default. Use newSession: true to run in a new session.

Input Schema

NameRequiredDescriptionDefault
commandYes
hostYes
newSessionNo
passwordNo
portNo
privateKeyNo
usernameYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "command": { "type": "string" }, "host": { "type": "string" }, "newSession": { "type": "boolean" }, "password": { "type": "string" }, "port": { "default": 22, "type": "number" }, "privateKey": { "type": "string" }, "username": { "type": "string" } }, "required": [ "host", "username", "command" ], "type": "object" }

You must be authenticated.

Other Tools from cmd-mcp-server

Related Tools

ID: s83mqs6123