Skip to main content
Glama
Swild000

hardened-ssh-mcp

by Swild000

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SSH_HOMENoOnly needed in the Windows edge case described in the README. Set to your user profile directory when using Git's MSYS2-based ssh client.
SSH_HOSTYesRemote host (IP or hostname)
SSH_USERYesRemote username
SSH_EXECUTABLENoSSH executable path. Defaults to 'ssh' resolved via PATH. On Windows with MSIX-packaged clients, use Git for Windows' bundled ssh.exe.ssh
SSH_IDENTITY_FILEYesAbsolute path to your private key
SSH_KNOWN_HOSTS_FILENoPath to known_hosts file. See the Windows note in the README if this path contains spaces.your normal ~/.ssh/known_hosts
SSH_COMMAND_TIMEOUT_MSNoTimeout in milliseconds for the command to complete.30000
SSH_CONNECT_TIMEOUT_SECONDSNoConnection timeout in seconds.10

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
run-ssh-commandA

Run exactly one command over SSH on the fixed target ubuntu@203.0.113.10 and nothing else. This tool cannot reach any other host, cannot run local commands, and cannot touch the local filesystem directly - the only thing it can ever do is relay one command over SSH to that one account on that one machine, which is fixed by whoever deployed this server, not something you (the model) can choose. Standing rule: always show the user the exact command in chat and get their explicit go-ahead BEFORE calling this tool. Call it with confirmed=false (or omit confirmed) to preview what would run without executing anything. Only call it with confirmed=true after the user has approved this specific command in this specific turn - never assume consent from an earlier, different command.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/Swild000/hardened-ssh-mcp'

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