SSH MCP Server
The SSH MCP Server enables AI assistants to securely connect to and manage remote servers via SSH, supporting command execution, file transfers, and script automation across multiple simultaneous connections.
Connect (
ssh_connect): Establish SSH connections using password or key authentication, supporting IPv4/IPv6 and multiple named sessionsExecute commands (
ssh_execute): Run individual commands on a remote server with configurable timeoutsExecute scripts (
ssh_execute_script): Run multi-line scripts using various interpreters (bash, python, node, etc.) with working directory supportUpload & execute (
ssh_upload_and_execute): Upload a script and immediately execute it, with optional automatic cleanupUpload files (
ssh_upload_file): Transfer local files to the remote server via SFTP, with automatic remote directory creationDownload files (
ssh_download_file): Retrieve files from the remote server via SFTP, with automatic local directory creationList remote files (
ssh_list_files): Browse remote files and directories, with an option for detailed output (permissions, sizes)List connections (
ssh_list_connections): View all currently active SSH connectionsDisconnect (
ssh_disconnect): Cleanly close a specific SSH connection by its connection ID
Allows connecting to and executing commands on remote Linux servers, enabling tasks like system monitoring, process management, and file operations via SSH.
Enables secure remote access to macOS systems for command execution and file management through SSH connections.
Facilitates remote database management tasks such as creating and downloading database backups using mysqldump via SSH.
Allows for remote web server administration, including restarting NGINX services and deploying updated configurations.
Provides the ability to execute multi-line Python scripts and code blocks on remote servers to perform tasks like performance analysis.
Supports remote management of Ubuntu servers, including performing system updates and running administrative bash scripts.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SSH MCP Serverconnect to my web server at 192.168.1.100 with username admin"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SSH MCP Server
A cross-platform Model Context Protocol (MCP) server that provides SSH connectivity tools. This server enables AI assistants to securely connect to and execute commands on remote servers via SSH.
Features
Cross-platform compatibility: Works on Windows, macOS, and Linux
Multiple authentication methods: Username/password and SSH key authentication
IPv4 and IPv6 support: Connect to servers using either IP version
Multiple connections: Manage multiple SSH connections simultaneously
Comprehensive file operations: Upload, download, and list files via SFTP
Script execution: Run bash, python, and other scripts remotely
Secure: Uses the robust
ssh2library for secure connectionsMCP compatible: Works with Claude CLI, Claude Desktop, and other MCP clients
Related MCP server: SSH MCP Server
Installation & Setup
Quick Setup (Recommended)
Add to Claude CLI with one command (cross-platform):
npx @zibdie/ssh-mcp-server@latest --installThis auto-detects your OS and registers the MCP server with the correct configuration for your platform.
Or manually, if you prefer:
macOS/Linux:
claude mcp add ssh-mcp-server -- npx '@zibdie/ssh-mcp-server@latest'Windows:
claude mcp add ssh-mcp-server -- cmd /c npx @zibdie/ssh-mcp-server@latestWhy the difference? On Windows,
npxis a batch file (npx.cmd). Claude Code launches MCP servers using Node.jschild_process.spawn(), which cannot execute.cmdfiles directly. Thecmd /cwrapper tells Windows to run it through the command interpreter.Restart Claude CLI
Test the connection:
"Connect to my server at example.com with username myuser"
Alternative: Manual Installation
For Claude CLI
Install globally:
npm install -g @zibdie/ssh-mcp-serverAdd to configuration:
macOS/Linux: Edit
~/.config/claude/claude_desktop_config.json{ "mcpServers": { "ssh-mcp-server": { "command": "ssh-mcp-server" } } }Windows: Edit
%APPDATA%\Claude\claude_desktop_config.json{ "mcpServers": { "ssh-mcp-server": { "command": "cmd", "args": ["/c", "ssh-mcp-server"] } } }
For Claude Desktop
Install globally:
npm install -g @zibdie/ssh-mcp-serverAdd to configuration:
macOS: Edit
~/Library/Application Support/Claude/claude_desktop_config.json{ "mcpServers": { "ssh-mcp-server": { "command": "ssh-mcp-server" } } }Windows: Edit
%APPDATA%\Claude\claude_desktop_config.json{ "mcpServers": { "ssh-mcp-server": { "command": "cmd", "args": ["/c", "ssh-mcp-server"] } } }
Demo
Here's an example of the SSH MCP server in action, showing file upload capabilities:

Example: Uploading and managing files on remote servers through Claude using the SSH MCP server
Available Tools
ssh_connect
Connect to an SSH server using password or SSH key authentication.
Parameters:
host(required): SSH server hostname or IP address (IPv4 or IPv6)port(optional): SSH server port (default: 22)username(required): Username for SSH authenticationpassword(optional): Password for authenticationprivateKey(optional): Path to private SSH key filepassphrase(optional): Passphrase for encrypted private keyconnectionId(optional): Unique identifier for this connection (default: "default")
ssh_execute
Execute a command on an established SSH connection.
Parameters:
command(required): Command to execute on the remote serverconnectionId(optional): Connection ID to use (default: "default")timeout(optional): Command timeout in milliseconds (default: 30000)
ssh_disconnect
Disconnect from an SSH server.
Parameters:
connectionId(optional): Connection ID to disconnect (default: "default")
ssh_list_connections
List all active SSH connections.
ssh_upload_file
Upload a file to the remote server via SFTP.
Parameters:
localPath(required): Local file path to uploadremotePath(required): Remote destination pathconnectionId(optional): Connection ID to use (default: "default")createDirs(optional): Create remote directories if they don't exist (default: true)
ssh_download_file
Download a file from the remote server via SFTP.
Parameters:
remotePath(required): Remote file path to downloadlocalPath(required): Local destination pathconnectionId(optional): Connection ID to use (default: "default")createDirs(optional): Create local directories if they don't exist (default: true)
ssh_list_files
List files and directories on the remote server.
Parameters:
remotePath(optional): Remote directory path to list (default: ".")connectionId(optional): Connection ID to use (default: "default")detailed(optional): Show detailed file information (default: false)
Examples
Basic Connection Examples
User prompt: "Connect to my server at 192.168.1.100 with username admin and password mypass123"
ssh_connect with host="192.168.1.100", username="admin", password="mypass123"User prompt: "SSH into my development server using my private key"
ssh_connect with host="dev.example.com", username="developer", privateKey="~/.ssh/id_rsa"User prompt: "Connect to my IPv6 server with SSH key authentication"
ssh_connect with host="2001:db8::1", username="user", privateKey="/home/user/.ssh/dev_key", passphrase="keypassword"Command Execution Examples
User prompt: "Check the disk space on my server"
ssh_execute with command="df -h"User prompt: "Show me what processes are running"
ssh_execute with command="ps aux | head -20"User prompt: "Run a system update on my Ubuntu server"
ssh_execute_script with script="""
sudo apt update
sudo apt upgrade -y
sudo apt autoremove -y
echo "System update completed"
""", interpreter="bash"File Transfer Examples
User prompt: "Copy the hello.zip file from my server's desktop to my desktop"
ssh_download_file with remotePath="/home/user/Desktop/hello.zip", localPath="~/Desktop/hello.zip"User prompt: "Upload my config.json file to the server's /etc/myapp/ directory"
ssh_upload_file with localPath="./config.json", remotePath="/etc/myapp/config.json"User prompt: "Send my backup script to the server and run it"
ssh_upload_and_execute with script="""
#!/bin/bash
mkdir -p /backup/$(date +%Y%m%d)
tar -czf /backup/$(date +%Y%m%d)/data_backup.tar.gz /var/www/html
echo "Backup completed successfully"
""", filename="backup.sh", interpreter="bash"User prompt: "Show me what's in the /var/log directory with file sizes"
ssh_list_files with remotePath="/var/log", detailed=trueMulti-Server Management Examples
User prompt: "Connect to both my production and staging servers"
ssh_connect with host="prod.example.com", username="admin", privateKey="~/.ssh/prod_key", connectionId="production"
ssh_connect with host="staging.example.com", username="admin", privateKey="~/.ssh/staging_key", connectionId="staging"User prompt: "Check uptime on both servers"
ssh_execute with command="uptime", connectionId="production"
ssh_execute with command="uptime", connectionId="staging"User prompt: "Deploy my app to staging server"
ssh_upload_file with localPath="./myapp.tar.gz", remotePath="/tmp/myapp.tar.gz", connectionId="staging"
ssh_execute_script with script="""
cd /var/www
sudo tar -xzf /tmp/myapp.tar.gz
sudo systemctl restart nginx
sudo systemctl restart myapp
echo "Deployment completed"
""", connectionId="staging", interpreter="bash"Advanced Scripting Examples
User prompt: "Run a Python script to analyze server performance"
ssh_execute_script with script="""
import psutil
import json
# Get system info
cpu_percent = psutil.cpu_percent(interval=1)
memory = psutil.virtual_memory()
disk = psutil.disk_usage('/')
report = {
'cpu_usage': cpu_percent,
'memory_usage': memory.percent,
'disk_usage': (disk.used / disk.total) * 100,
'available_memory_gb': memory.available / (1024**3)
}
print(json.dumps(report, indent=2))
""", interpreter="python3"User prompt: "Monitor my application logs in real-time"
ssh_execute with command="tail -f /var/log/myapp/application.log", timeout=60000User prompt: "Backup my database and download it"
ssh_execute_script with script="""
timestamp=$(date +%Y%m%d_%H%M%S)
mysqldump -u dbuser -p'dbpass' mydatabase > /tmp/backup_$timestamp.sql
gzip /tmp/backup_$timestamp.sql
echo "Backup created: /tmp/backup_$timestamp.sql.gz"
""", interpreter="bash"
# Then download the backup
ssh_download_file with remotePath="/tmp/backup_20241203_143022.sql.gz", localPath="./database_backup.sql.gz"Security Considerations
This tool provides direct SSH access to remote servers
Always use strong authentication (prefer SSH keys over passwords)
Be cautious when executing commands with elevated privileges
Ensure proper network security and access controls
Private keys and passwords are handled securely in memory
Never commit credentials to version control
Requirements
Node.js 18 or higher
Network access to target SSH servers
Valid SSH credentials for target servers
Troubleshooting
Common Issues
MCP server fails to start on Windows
On Windows,
npxand globally-installed npm commands are.cmdbatch files. Claude Code useschild_process.spawn()to launch MCP servers, which cannot execute.cmdfiles directly. You must wrap the command withcmd /c:# Quick setup (Windows) claude mcp add ssh-mcp-server -- cmd /c npx @zibdie/ssh-mcp-server@latest # Or for global install (Windows) claude mcp add ssh-mcp-server -- cmd /c ssh-mcp-serverIf editing the config JSON manually, use:
{ "command": "cmd", "args": ["/c", "npx", "@zibdie/ssh-mcp-server@latest"] }You can verify your setup by running
/doctorin Claude CLI."Command not found" after global install
# Ensure npm global bin is in your PATH npm config get prefix export PATH="$(npm config get prefix)/bin:$PATH"MCP server not appearing in Claude
Verify configuration file path and JSON syntax
Restart Claude CLI/Desktop after configuration changes
Check Claude logs for connection errors
SSH connection failures
Verify network connectivity to target server
Ensure SSH service is running on target server
Check firewall settings and port accessibility
Validate SSH credentials and key permissions
Permission errors
Ensure SSH keys have correct permissions (600)
Verify user has necessary privileges on target server
Development
Local Development
Clone the repository:
git clone https://github.com/zibdie/SSH-MCP-Server.git cd SSH-MCP-ServerInstall dependencies:
npm installRun in development mode:
npm run devTest with MCP Inspector:
npx @modelcontextprotocol/inspector node index.js
API Reference
For detailed API documentation of all available tools and their parameters, see the Examples section above.
License
MIT - see LICENSE file for details
Author
Nour Zibdie (https://nour.zibdie.com)
Repository
https://github.com/zibdie/SSH-MCP-Server
Support
Available Tools
9 toolsssh_connectB
Connect to an SSH server using password or SSH key authentication. Supports IPv4 and IPv6.
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | SSH server hostname or IP address (IPv4 or IPv6) | |
| port | No | SSH server port | |
| username | Yes | Username for SSH authentication | |
| password | No | Password for authentication (if using password auth) | |
| privateKey | No | Path to private SSH key file (if using key auth) | |
| passphrase | No | Passphrase for encrypted private key (optional) | |
| connectionId | No | Unique identifier for this connection | default |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries full burden. It mentions authentication methods and IP support, but does not disclose connection behavior (e.g., session management, error conditions, whether it blocks, or effects on server state).
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence that efficiently conveys the core purpose and supported authentication/network features. It is front-loaded and avoids redundancy, though it could benefit from a slightly more structured presentation.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (7 parameters, no output schema, no annotations), the description is under-specified. It lacks information about return values, connection lifecycle, error handling, and relationship to sibling tools.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Input schema has 100% coverage, providing descriptions for all 7 parameters. The description adds no additional parameter-level semantic context beyond what the schema already provides.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's action: connecting to an SSH server, specifying authentication methods (password or key), and supporting IPv4/IPv6. This distinguishes it from sibling tools like ssh_execute 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.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies the tool is a prerequisite for other SSH operations, but does not explicitly state when to use it versus alternatives, nor does it provide exclusions or prerequisites for usage.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ssh_disconnectC
Disconnect from an SSH server
| Name | Required | Description | Default |
|---|---|---|---|
| connectionId | No | Connection ID to disconnect | default |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description does not disclose behavioral traits such as whether disconnection is safe, if it terminates running commands, or if it requires authentication. With no annotations, this is insufficient.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single sentence is appropriately concise for a simple tool. It is front-loaded and wastes no words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the low complexity (one optional parameter, no output schema), the description covers the basic purpose. However, it omits context about the default connectionId and error handling.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% coverage, and the parameter description 'Connection ID to disconnect' is clear. The tool description adds no additional value beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description 'Disconnect from an SSH server' clearly indicates the verb and resource, distinguishing it from siblings like ssh_connect and ssh_execute. However, it could be more specific by mentioning the connectionId parameter.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool versus alternatives. For example, it does not state prerequisites (e.g., an active connection) or when not to use it.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ssh_download_fileB
Download a file from the remote server via SFTP
| Name | Required | Description | Default |
|---|---|---|---|
| remotePath | Yes | Remote file path to download | |
| localPath | Yes | Local destination path | |
| connectionId | No | Connection ID to use | default |
| createDirs | No | Create local directories if they don't exist |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, so description must carry burden. Only states basic action; lacks disclosure on error handling, overwrite behavior, directory creation (though schema has default), or requirement for prior connection.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single clear sentence with no extraneous information. Front-loaded with verb and resource.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given 4 parameters and no output schema or annotations, the description is too minimal. It does not explain return type, errors, or connection lifecycle, leaving gaps for effective agent usage.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so baseline 3. Description adds no parameter details beyond schema, but is not required to given full schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Clearly states verb 'download', resource 'file', method 'SFTP', and location 'remote server'. Distinguishes from sibling tools like ssh_upload_file and ssh_execute.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool vs alternatives. Does not mention prerequisites like needing an active SSH connection via ssh_connect or relationship to sibling tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ssh_executeC
Execute a command on an established SSH connection
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Command to execute on the remote server | |
| connectionId | No | Connection ID to use | default |
| timeout | No | Command timeout in milliseconds |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, so the description must carry the full burden. It fails to disclose what happens on connection failure, output handling, or timeout behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence is concise and front-loaded. However, it could include more context without being verbose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite low complexity, the description omits critical information about return values, error handling, and execution details. It is too minimal.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, with each parameter described. The description adds no extra meaning beyond the schema, which is acceptable per baseline scoring guidelines.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action 'Execute' and the resource 'a command on an established SSH connection'. It distinguishes from siblings like ssh_connect and ssh_disconnect, though ssh_execute_script is similar but not identical.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool versus alternatives. Does not mention that a connection must be established first via ssh_connect, nor contrasts with ssh_execute_script.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ssh_execute_scriptC
Execute a multi-line script or code block on an SSH connection. Automatically handles code blocks with triple backticks.
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | Script or code block to execute. Can include triple backticks (```bash, ```python, etc.) | |
| interpreter | No | Script interpreter to use (bash, sh, python, python3, node, etc.) | bash |
| connectionId | No | Connection ID to use | default |
| timeout | No | Script timeout in milliseconds | |
| workingDir | No | Working directory to execute script in (optional) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description must disclose behavioral traits. It mentions only one key behavior (handling triple backticks) but omits important details: what the tool returns, error handling, whether the connection must be pre-established, or if the script blocks until completion.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is only two sentences and conveys the core functionality without any filler. Every word adds value, making it concise and front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool lacks an output schema and annotations, so the description should fill gaps. It does not explain output format, error scenarios, or prerequisites like an active SSH connection, leaving the agent underinformed for correct invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% description coverage, so a baseline of 3 is appropriate. The description does not add extra meaning beyond the schema; it repeats the backtick handling already present in the script parameter description.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool executes multi-line scripts or code blocks on an SSH connection, and highlights automatic handling of triple backticks. This distinguishes it from sibling tools like ssh_execute (likely single-line) and ssh_upload_and_execute, though not explicitly.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is given on when to use this tool versus alternatives such as ssh_execute or ssh_upload_and_execute. There is no mention of prerequisites (e.g., an existing SSH connection) or scenarios where this tool is preferred.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ssh_list_connectionsA
List all active SSH connections
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description indicates a read-only operation ('list'), but with no annotations, it does not disclose additional behavioral traits such as authentication requirements or failure modes. The minimal information is sufficient for a simple list.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence that is concise, front-loaded, and contains no unnecessary words. It effectively communicates the tool's purpose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (no parameters, no output schema, no annotations), the description is adequate. It could optionally mention the output format (e.g., list of connection IDs), but the lack does not impair understanding.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
There are no parameters in the schema, so the description correctly adds no parameter information. The schema coverage is 100% (trivially), and the description provides no additional param semantics, which is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('List') and the resource ('active SSH connections'), distinguishing it from sibling tools like ssh_connect or ssh_execute.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for listing active connections but provides no explicit guidance on when to use it versus alternatives, nor any exclusion criteria.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ssh_list_filesB
List files and directories on the remote server
| Name | Required | Description | Default |
|---|---|---|---|
| remotePath | No | Remote directory path to list | . |
| connectionId | No | Connection ID to use | default |
| detailed | No | Show detailed file information (permissions, size, etc.) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description is the only source of behavioral info. It does not disclose traits like read-only nature, error handling, or recursion behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence is concise and front-loaded, but could benefit from additional succinct details.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
No output schema or description of return format. Missing details on output handling and error conditions.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so baseline is 3. The description adds no extra meaning beyond what the schema already provides.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('List') and resource ('files and directories on the remote server'), distinguishing it from sibling tools like ssh_execute or ssh_upload_file.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit guidance on when to use this tool versus alternatives, but the context is clear for a basic listing operation.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ssh_upload_and_executeC
Upload a script file and execute it on the remote server
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | Script content to upload and execute | |
| filename | No | Filename for the script on remote server | mcp_script.sh |
| interpreter | No | Script interpreter (bash, python, etc.) | bash |
| connectionId | No | Connection ID to use | default |
| cleanup | No | Remove script file after execution | |
| timeout | No | Execution timeout in milliseconds |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries full burden. It only states the basic action, omitting traits like cleanup behavior (parameter exists but not mentioned), execution output, error handling, or whether multiple simultaneous connections are supported.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence, concise but lacking important context. It could be improved by front-loading key behavioral details without adding significant length.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity (6 parameters, no output schema, no annotations), the description is insufficient. It fails to mention return format, cleanup behavior, connection requirements, or how it differs from similar tools.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so parameters are already documented. The tool description adds no additional meaning beyond 'upload and execute', resulting in a baseline score of 3.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states the tool uploads and executes a script, which is specific and distinguishes from related tools like ssh_execute (no upload) or ssh_upload_file (no execution). However, it doesn't explicitly contrast with ssh_execute_script, which may overlap.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool versus siblings like ssh_execute or ssh_upload_file. The description does not specify typical use cases or prerequisites, leaving the agent to infer context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ssh_upload_fileB
Upload a file to the remote server via SFTP
| Name | Required | Description | Default |
|---|---|---|---|
| localPath | Yes | Local file path to upload | |
| remotePath | Yes | Remote destination path | |
| connectionId | No | Connection ID to use | default |
| createDirs | No | Create remote directories if they don't exist |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description is solely responsible for behavioral disclosure. It only states the basic upload action, omitting details such as overwrite behavior, error handling (connection failure), permission requirements, or impact on remote directories. Schema parameters cover createDirs but description adds no behavioral context beyond the action.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence of 9 words with no redundant information. Every word serves to convey the core function.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the absence of output schema and annotations, the description is insufficient for an agent to fully understand the tool's behavior. Missing details include: behavior on existing file, size limits, success indication, error scenarios, and relationship to connection lifecycle. A more complete description is needed for a 4-parameter tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents each parameter (localPath, remotePath, connectionId, createDirs). The description does not add extra meaning or explain parameter relationships (e.g., createDirs prerequisite of remotePath parent existence). Baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description 'Upload a file to the remote server via SFTP' uses a specific verb and resource, clearly stating the action and destination. It distinguishes from sibling tools like ssh_download_file (download) and ssh_execute (execute commands).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description lacks guidance on when to use this tool versus alternatives like ssh_upload_and_execute. It does not mention prerequisites (e.g., requiring an active connection via ssh_connect) or disclaimers about file overwriting, leaving the agent without clear usage context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
9 tool updates
v1.0.0- First observed
ssh_connect - First observed
ssh_disconnect - First observed
ssh_download_file - First observed
ssh_execute - First observed
ssh_execute_script - First observed
ssh_list_connections - First observed
ssh_list_files - First observed
ssh_upload_and_execute - First observed
ssh_upload_file
TDQS
Each tool has a clearly distinct purpose: connection management, file transfers, command execution, and listing operations. No two tools could be confused.
All tools use a consistent 'ssh_verb_noun' pattern (e.g., ssh_connect, ssh_upload_file), making them predictable and easy to navigate.
With 9 tools, the surface is well-scoped for SSH operations, covering connection, execution, file transfer, and listing without unnecessary redundancy.
The set covers core SSH workflows (connect, execute, transfer). Minor gaps like remote file deletion or port forwarding are absent but not critical for most use cases.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Scoped, audited SSH exec, sessions, and SFTP on your saved servers without exposing credentials
- emisarOAuthdev.emisar
Let AI operate servers without SSH. Choose actions, approve risky changes, and audit every step.
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
Manage Laravel Forge servers, sites, and deployments from your AI assistant.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceEnables AI assistants to execute commands and transfer files on remote servers over SSH connections.1MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to securely execute commands, transfer files, and manage port forwarding on remote servers via SSH.16836Apache 2.0
- AlicenseAqualityCmaintenanceEnables AI assistants to manage remote servers via SSH with agentless command execution, file operations, and service management.9MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI to execute commands on remote hosts via SSH, supporting password and key authentication.-
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/zibdie/SSH-MCP-Server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server