Skip to main content
Glama

SSH MCP Server

by vilasone455

secure_execute_command

Run read-only shell commands securely in an existing SSH session, capturing stdout, stderr, and exit codes for remote Linux and Windows systems.

Instructions

Run a read‑only shell command (i.e., one that does not mutate state) in an existing SSH session and return stdout/stderr/exitCode.

Input Schema

NameRequiredDescriptionDefault
commandYesRead‑only shell command to execute (e.g., ls, cat).
connection_idYes

Input Schema (JSON Schema)

{ "additionalProperties": false, "properties": { "command": { "description": "Read‑only shell command to execute (e.g., ls, cat).", "type": "string" }, "connection_id": { "type": "string" } }, "required": [ "connection_id", "command" ], "type": "object" }

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/vilasone455/ssh-mcp-server'

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