mcp-ssh
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SSH_HOST | No | 远程主机 IP 或域名 | 127.0.0.1 |
| SSH_PORT | No | SSH 端口 | 22 |
| SSH_TIMEOUT | No | 连接超时秒数 | 30 |
| SSH_KEY_FILE | No | 私钥路径,如 ~/.ssh/id_rsa | |
| SSH_PASSWORD | No | 密码(使用密钥认证时可省略) | |
| SSH_USERNAME | No | SSH 用户名 | root |
| SSH_HOSTS_JSON | No | 多主机 JSON 配置(见文档) | |
| MCP_SSH_LOG_LEVEL | No | 日志级别:DEBUG / INFO / WARNING / ERROR | WARNING |
| SSH_KEY_PASSPHRASE | No | 加密私钥的口令 | |
| SSH_KNOWN_HOSTS_FILE | No | 自定义 known_hosts 路径 | ~/.ssh/known_hosts |
| SSH_IGNORE_KNOWN_HOSTS | No | 跳过主机密钥校验(生产环境不推荐) | false |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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/zhouxiangjing/mcp-ssh'
If you have feedback or need assistance with the MCP directory API, please join our Discord server