Skip to main content
Glama
sondt2709
by sondt2709

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_TRANSPORTNoTransport mode: stdio, sse, streamable-http (defaults to stdio)stdio
SSH_CONFIG_PATHNoPath to SSH config file (defaults to ~/.ssh/config)~/.ssh/config
SSH_MCP_LOG_DIRNoDirectory for per-command log files (defaults to OS-specific path; set to false to disable logging)
PROXY_CONFIG_PATHNoPath to JSON file containing SOCKS5 proxy configurations (optional)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
execute_ssh_commandA

Run a shell command on a remote host over SSH.

Args:
    hostname: Host alias from SSH config.
    command: Shell command to run.
    timeout: Connection/command timeout, seconds (default 30, max 300).
    max_length: Max stdout/stderr length in the response (default 1000, max 10,000,000); full output is in the log file.

Returns:
    Command output (markdown), with exit code and the log file path.
list_ssh_hostsA

List all host aliases from the SSH config.

Returns:
    Newline-separated list of configured hosts.
get_host_infoA

Get config details (hostname, port, user, key) for a host alias.

Args:
    hostname: Host alias from SSH config.

Returns:
    Host configuration details.
test_ssh_connectionA

Test SSH connectivity to a host without running a command.

Args:
    hostname: Host alias from SSH config.
    timeout: Connection timeout, seconds (default 30, max 300).

Returns:
    Whether the connection succeeded or failed.

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/sondt2709/ssh-mcp-py'

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