Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SSH_HOSTNo远程主机 IP 或域名127.0.0.1
SSH_PORTNoSSH 端口22
SSH_TIMEOUTNo连接超时秒数30
SSH_KEY_FILENo私钥路径,如 ~/.ssh/id_rsa
SSH_PASSWORDNo密码(使用密钥认证时可省略)
SSH_USERNAMENoSSH 用户名root
SSH_HOSTS_JSONNo多主机 JSON 配置(见文档)
MCP_SSH_LOG_LEVELNo日志级别:DEBUG / INFO / WARNING / ERRORWARNING
SSH_KEY_PASSPHRASENo加密私钥的口令
SSH_KNOWN_HOSTS_FILENo自定义 known_hosts 路径~/.ssh/known_hosts
SSH_IGNORE_KNOWN_HOSTSNo跳过主机密钥校验(生产环境不推荐)false

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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