Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_SSH_CONFIGNoPath to the hosts configuration file. Defaults to ~/.mcp-ssh/hosts.json.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
ssh_list_hostsA

Lists the hosts this server can connect to. Other tools take one of these names.

ssh_execA

Runs a shell command on a host and returns its exit code, stdout and stderr. The command gets no stdin and no terminal, so it must be non-interactive. Each call starts a fresh shell: use cwd, or chain with &&, instead of relying on an earlier cd. Large output is truncated in the middle; narrow it with grep, head or tail.

ssh_read_fileA

Reads a text file from a host over SFTP. Returns at most maxBytes starting at byte offset; the first line of the result says how much of the file was returned.

ssh_write_fileA

Creates or replaces a text file on a host over SFTP. The whole file is replaced with content. An existing file keeps its permission bits. The parent directory must exist.

ssh_list_dirA

Lists the entries of a directory on a host over SFTP, with type, size and modification time.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4/5.0

Scored across 5 tools

Disambiguation4/5

Each tool has a clear primary purpose: host listing, command execution, file read, file write, and directory listing. The only overlap is that ssh_exec can perform many of the same file and directory operations as the SFTP tools, but the descriptions make the intended boundaries reasonably clear.

Naming Consistency5/5

All tools use the same ssh_ prefix and snake_case verb-based naming. The pattern is predictable across list, exec, read, write, and list operations.

Tool Count5/5

Five tools is well-scoped for an SSH/SFTP server and each tool earns its place. There is no redundant or obviously unnecessary tool.

Completeness4/5

The surface covers host discovery, command execution, file read/write, and directory listing, which supports most core workflows. It lacks explicit SFTP operations such as delete, rename, or mkdir, though ssh_exec can work around those gaps.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues