MCP server for SSH management, session control, and file transfer with relay capabilities
Moderate quality with significant gaps. 16 tools are explicitly defined with schemas and descriptions, but quality is inconsistent. Tool names follow verb_noun conventions well (list_, get_, update_, send_, read_, upload_, download_). However, descriptions vary widely in clarity and completeness. Many descriptions use Chinese documentation and lack the concise English guidance LLMs need. Input schemas are present for all tools but some parameters lack sufficient constraint documentation. Error handling descriptions exist but recovery guidance is sparse. The server architecture shows good attention to detail (timeouts, concurrency, retry logic) but the tool interface itself could be clearer for LLM reasoning.
通过 sftp 通道把远端文件下载到本地。语义同 Upload,方向相反。
通过 sftp 把远端目录整树下载到本地。语义同 UploadDir,方向相反。
Get a specific jumphost configuration with complete auth details
Get a specific proxy configuration
load → find → JSON 对象(含完整 auth)
List all jumphost configurations with optional query filter
List all proxy configurations with optional query filter
load → query → 脱敏 auth → JSON 数组返回
Descriptions heavily use Chinese mixed with English technical terms, reducing clarity for English-speaking LLMs and non-Chinese developers
Parameter descriptions lack constraint documentation. For example, 'input' in send_in_session mentions escape sequences in comments but the parameter description does not formally specify allowed input format, max size, or error cases
File transfer tools (upload, download, upload_dir, download_dir) do not document output schema structure. LLMs cannot predict what fields are returned (bytes transferred, file count, error list structure, etc.)
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 53 | <=2025-11-25 | v2 |
读取 session PTY 的新输出(quiet 吸收,顺序游标,数据不丢)。
把 src_sid session 上的文件流式中转到 dst_sids 各 session。1:N fanout:源文件只读一次,并发分发到所有目标;1:1 是单元素数组特例。所有目标共用 dst_path。需要源与每个目标的 sftp_available=true(先用 stat 检查)。单目标失败不中止其他目标;部分失败返回 ok:false 的结果体(IsError 不置位),检查 ok 字段而非 MCP error flag——与 upload_dir/download_dir 一致。仅硬错误(sid 不存在、dst_sids 为空)返回 IsError=true。
把 input 原样写入 session PTY(终端原语,详见 server instructions)。raw 设备(mode=raw)的主要操作方式;unix session 用于交互型/持续型程序。input 先经 expandSendInput 解释转义(见函数注释),再写入。
Create, update, or delete jumphost configuration. Pass null patch to delete.
Create, update, or delete proxy configuration. Pass null patch to delete.
load → patch → validate → save。失败时 config 层已回滚,handler 只需报错。Supports create, update, and delete via patch (null = delete)
通过 sftp 通道把本地文件上传到远端。sftp 不可用时返回 IsError=true 的 "sftp not available" 错误。超时返回已传输字节 + timed_out=true。
通过 sftp 把本地目录整树上传到远端。内部用 filepath.Walk + MkdirAll + 并发 worker pool(Concurrency 默认 4)。Conflict policy:overwrite(默认)/ skip / rename。per-file 错误不中断整树,用 errors.Join 聚合返回。
'patch' parameter in update_* tools accepts arbitrary JSON objects with no schema validation documented. LLMs have no way to know what fields are accepted for each resource type (SSH server, jumphost, proxy)
Error handling descriptions are minimal. Recovery guidance is sparse, e.g., upload/download mention 'IsError=true' and 'timed_out=true' but do not explain when/why these occur or what the LLM should do next
Session-based tools (send_in_session, read_in_session, relay_transfer) assume 'session ID' is a known entity but never document how to obtain one or what a valid session ID format looks like
'conflict' parameter in upload_dir/download_dir is an enum (overwrite, skip, rename) but the behavior of 'rename' is not documented, what naming scheme is used? Does it append a counter, timestamp, or suffix?