Skip to main content
Glama
SSH MCP Server

SSH MCP Server

by quiloos39

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

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_connectA

Establish an SSH connection to a remote server. Reads ~/.ssh/config on every call for host aliases, identity files, ports, and usernames. Supports password, private key, and SSH agent authentication. Host keys are accepted on first use (TOFU) — no strict checking.

ssh_executeA

Execute a command on a connected remote server via SSH. Returns stdout, stderr, and exit code. The connection must have been established first with ssh_connect. Output is capped at 1MB per stream to prevent memory issues.

ssh_disconnectC

Close an active SSH connection and free its resources.

ssh_list_connectionsA

List all SSH connections and their status (connected or dead).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 4 tools

Disambiguation5/5

Each tool maps to a distinct lifecycle action: establish (ssh_connect), run (ssh_execute), close (ssh_disconnect), and inspect (ssh_list_connections). There is no overlap; an agent can unambiguously pick the right tool.

Naming Consistency5/5

All tools share a consistent ssh_ prefix followed by a clear verb or verb_noun (connect, execute, disconnect, list_connections). The pattern is predictable and readable throughout.

Tool Count5/5

Four tools is a well-scoped surface for SSH connection management, and each earns its place as a distinct lifecycle step. Nothing is redundant or missing at this granularity.

Completeness4/5

The full connect/execute/disconnect/list lifecycle is covered, so core command execution over SSH is complete. File transfer (SFTP/SCP) and port forwarding are absent, but these are workable gaps given the command-execution focus.