SSH MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SSH_HOST | No | 目标服务器的IP地址或主机名(传统单连接配置,向后兼容) | |
| SSH_PORT | No | SSH端口号(传统单连接配置,向后兼容) | 22 |
| SSH_DEV_HOST | No | 开发环境服务器的IP地址或主机名 | |
| SSH_DEV_PORT | No | 开发环境SSH端口号 | 22 |
| SSH_KEY_PATH | No | SSH私钥文件路径(传统单连接配置,向后兼容,与 SSH_PASSWORD 二选一) | |
| SSH_PASSWORD | No | SSH登录密码(传统单连接配置,向后兼容,与 SSH_KEY_PATH 二选一) | |
| SSH_USERNAME | No | SSH登录用户名(传统单连接配置,向后兼容) | |
| EXEC_LOG_FILE | No | 执行日志文件路径 | exec_log.json |
| SAVE_EXEC_LOG | No | 是否保存执行日志 | false |
| SSH_PROD_HOST | No | 生产环境服务器的IP地址或主机名 | |
| SSH_PROD_PORT | No | 生产环境SSH端口号 | 22 |
| SSH_TEST_HOST | No | 测试环境服务器的IP地址或主机名 | |
| SSH_TEST_PORT | No | 测试环境SSH端口号 | 22 |
| SSH_DEV_KEY_PATH | No | 开发环境SSH私钥文件路径 | |
| SSH_DEV_PASSWORD | No | 开发环境SSH登录密码 | |
| SSH_DEV_USERNAME | No | 开发环境SSH登录用户名 | |
| SSH_PROD_KEY_PATH | No | 生产环境SSH私钥文件路径 | |
| SSH_PROD_PASSWORD | No | 生产环境SSH登录密码 | |
| SSH_PROD_USERNAME | No | 生产环境SSH登录用户名 | |
| SSH_TEST_KEY_PATH | No | 测试环境SSH私钥文件路径 | |
| SSH_TEST_PASSWORD | No | 测试环境SSH登录密码 | |
| SSH_TEST_USERNAME | No | 测试环境SSH登录用户名 | |
| SSH_DEFAULT_CONNECTION | No | 设置默认连接名称(可选) |
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
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_ssh_connectionsB | |
| execute_commandA | |
| check_ssh_connectionB | |
| execute_interactive_commandA | |
| upload_fileA | |
| download_fileA | |
| list_directoryA | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 7 tools
Every tool has a clearly distinct purpose with no ambiguity. Tools like check_ssh_connection, download_file, execute_command, and upload_file each handle specific SSH/SFTP operations without overlap. Even execute_command and execute_interactive_command are clearly differentiated by their interactive input capability.
All tools follow a consistent verb_noun naming pattern with snake_case throughout. The naming is predictable and readable, with clear action-object pairs like check_ssh_connection, download_file, list_directory, and upload_file.
Seven tools is well-scoped for an SSH server, covering connection management, file operations, and command execution. Each tool earns its place with no redundancy, providing a focused yet complete set of SSH capabilities.
The tool surface provides complete coverage for SSH operations: connection management (check/list), file transfer (upload/download), directory listing, and command execution (both regular and interactive). There are no obvious gaps or dead ends for typical SSH workflows.