Skip to main content
Glama
smccauley-dev

Ubuntu SSH MCP Server

ssh_connect

Establish an SSH connection to an Ubuntu server and store it under an alias for subsequent management commands.

Instructions

Connect to an Ubuntu server via SSH. Stores the connection under an alias for subsequent commands.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostYesHostname or IP address
portNoSSH port (default 22)
aliasYesShort name for this connection, e.g. 'prod' or 'staging'
passwordNoPassword (use privateKeyPath instead for production)
usernameYesSSH username
passphraseNoPassphrase for the private key, if encrypted
privateKeyPathNoAbsolute path to private key file on the LOCAL machine
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden for disclosing behavior. It states the action and alias storage but lacks details on authentication methods, connection error handling, idempotency, or side effects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two terse sentences, front-loads the core purpose, and every word is informative. No fluff or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite good schema coverage, the description omits what the tool returns (e.g., connection confirmation) and error handling. Given the complexity of an SSH connection tool and the lack of an output schema, this is insufficient for an agent to fully understand the tool's behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Since schema descriptions cover 100% of parameters, the baseline is 3. The description adds no significant new meaning beyond what the schema already provides (e.g., 'alias' is described in schema as 'Short name for this connection').

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action (Connect) and resource (Ubuntu server via SSH), and highlights the key feature of storing the connection under an alias for subsequent commands. This effectively distinguishes it from sibling tools like ssh_exec or ssh_disconnect.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implicitly indicates that the tool is a prerequisite for subsequent commands (e.g., ssh_exec), but it does not explicitly state when to use it versus alternatives or provide exclusion criteria.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/smccauley-dev/ubuntu-ssh-mcp'

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