Agent-feels-local SSH orchestration MCP server — persistent bash, hash-protected editing, SFTP, tunnels, multi-host orchestration over AsyncSSH
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"portal-mcp-server","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
<div align="center"> # portal-mcp-server **面向 coding agent 的 SSH orchestration MCP server** 让 Claude Code、Copilot CLI、Cursor 等 agent 操作远端机器就像操作本地:持久 bash 会话、hash 保护的远端文件编辑、SFTP 文件传输、SSH 隧道、多机编排。基于 [AsyncSSH](https://github.com/ronf/asyncssh) + [FastMCP](https://modelcontextprotocol.io/),连接池在 server 进程内跨工具复用,Windows / macOS / Linux 性能一致。 [](https://pypi.org/project/portal-mcp-server/) [](https://github.com/TMYTiMidlY/portal-mcp-server/blob/main/LICENSE) [](https://www.python.org/) [](https://modelcontextprotocol.io/) 📖 [Repository & full docs](https://github.com/TMYTiMidlY/portal-mcp-server) | 🇬🇧 [English README](https://github.com/TMYTiMidlY/portal-mcp-server/blob/main/README.en.md) </div> --- ## <a id="overview"></a>简介 portal-mcp-server 的设计围绕三条理念:**工具少而正交**(只保留 bash 难以廉价合成的保证)、**单步可介入**(agent 一步一调用、读真实输出再决策,长任务丢后台)、**凭据统一**(所有连接走同一条进程内认证路径,明文不进 LLM)——展开见 [设计理念](https://github.com/TMYTiMidlY/portal-mcp-server#design-principles)。 `portal-mcp-server` fork 自 [`jaguar999paw-droid/ssh-shell-mcp`](https://github.com/jaguar999paw-droid/ssh-shell-mcp)(Apache 2.0):底层 SSH/asyncssh 引擎、连接池、tunnel 管理、多机编排算法、安全策略沿用上游模块。上层重新设计了一套面向 agent 的 portal 工具——围绕"持久 bash 会话 + 一次性 exec + 后台 job"三条执行路径,外加 hash 保护的远端文件编辑、结构化搜索、SFTP 传输、隧道、审计等原语。其中远端文件编辑(`remote_read` / `remote_patch`)的双层 hash 校验算法参考 [`tumf/mcp-text-editor`](https://github.com/tumf/mcp-text-editor)(MIT),并针对 SFTP 重写。 完整衍生关系与算法引用见 [`NOTICE`](https://github.com/TMYTiMidlY/portal-mcp-server/blob/main/NOTICE) 与 [安全](https://github.com/TMYTiMidlY/portal-mcp-server#security) 章节。 ## <a id="highlights"></a>项目特色 - **跨工具连接复用**:所有 portal 工具共享同一进程内的 asyncssh 连接池;一次握手长期复用,单次调用摊销到 channel 创建(~10–30 ms)。 - **Windows 上同样快**:不依赖 OpenSSH `ControlMaster`,连接池是纯 Python 对象,三大平台获得一致的复用性能。 - *…
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.