agentssh
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
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
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| ssh_openA | 打开(或复用)一台设备的持久 SSH 会话。模式:1=只读命令;2=只允许在 root 目录内修改;3=全部允许但 sudo 需要用户手动 unlock;4=完全权限(sudo 密码自动输入)。一次 open 之后用 ssh_exec 即可,cwd/env 会保持。 |
| ssh_execA | 在已打开的会话里执行一条 shell 命令并返回输出、退出码和当前目录。持久会话:cd/export 会保留到下一次调用。返回 JSON。 |
| ssh_listA | 列出所有会话(含是否在线、模式、当前目录、工作根目录)。 |
| ssh_closeC | 关闭会话并释放 SSH 连接。 |
| ssh_unlockB | 模式3:sudo 需要用户密码。此工具不能替用户输入,会返回请用户在自己终端执行 |
| ssh_uploadB | 把本机文件通过 SFTP 上传到远端(适合把脚本传上去再执行)。 |
| ssh_downloadC | 把远端文件通过 SFTP 下载到本机。 |
| ssh_statusB | 查看 agentssh 守护进程状态(版本、端口、活动会话)。 |
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 8 tools
Each tool maps to a distinct action (open, exec, list, close, unlock, upload, download, status) with clear boundaries. The only mild overlap is ssh_list vs ssh_status (sessions vs daemon), but descriptions distinguish them well.
All eight tools follow a uniform ssh_<verb> pattern (ssh_open, ssh_exec, ssh_list, ssh_close, etc.). No mixing of camelCase or alternate verb styles.
Eight tools is well-scoped for an SSH session manager: session lifecycle, file transfer, and daemon status each earn their place. No redundant or filler tools.
Core coverage is solid: open/exec/list/close/unlock for session lifecycle, upload/download for SFTP, and status for the daemon. Minor gaps exist (e.g. no port forwarding, no session rename or bulk operations), but agents can work around them via ssh_exec.