CloudSSH just got updated to v2.11.x (latest is v2.11.1). This release brings a pretty big change: native support for the remote MCP (Model Context Protocol) protocol, which gives the CloudSSH AI module a whole new way to be used.
Previously, using CloudSSH's AI ops assistant meant pasting an LLM API key into the web UI and chatting in the sidebar. But when you're actually writing code or debugging, a lot of folks are living in Claude Code or Codex all day. Having to set up a pile of ~/.ssh/config entries on every device, stash private keys all over the place, or wrestle with bastion hosts just to reach a server makes for a pretty disjointed experience.
So v2.11.x turns CloudSSH directly into a remote MCP server running on Cloudflare Workers edge nodes. No need to configure an LLM inside CloudSSH, and no need to export SSH private keys to your machine — just point Claude Code or Codex at the MCP service CloudSSH provides, and your local AI can operate all the servers you've saved in CloudSSH (servers that need manual intervention for auth aren't supported yet).
Highlights of this update
- Generate once, tweak permissions per server anytime
After logging in, click "External AI Assistant MCP Settings" in the top bar to generate a long-lived config unique to your account. For each saved server you can individually toggle four permissions — read, write, execute, terminal context — and changes take effect immediately, so you can adjust permissions without rotating the token in your client. If you temporarily don't want external AI touching anything, just uncheck everything.
{
"mcpServers": {
"cloudssh": {
"type": "http",
"url": "https://your-cloudssh.example/mcp",
"headers": {
"Authorization": "Bearer <your unique personal token>"
}
}
}
}
-
Runs on a separate channel, doesn't interrupt the web terminal
MCP exposes 6 tools:server_list,ssh_exec(non-interactive command execution),sftp_list/sftp_read/sftp_write, andsession_output. Under the hood it uses a separateMCPExecutionDOheadless connection pool, so it won't grab or interfere with the interactive terminal you're typing commands into in the browser. -
Web terminal and local AI working together (shared terminal context)
When you hit an error in the browser terminal, you can enable "Share current terminal context" in settings to share the recent output of the current tab read-only with external AI — handy for having Claude Code / Codex look at the logs and troubleshoot alongside your local code. -
Security details and Cloudflare Access support
- File write protection:
sftp_writeenforces anexpected_hashcheck before overwriting a file to prevent conflicts, and atomically creates a temp file with0600permissions before replacing viaposix-rename(hardened in v2.11.1). - Fingerprint and credential boundaries: SSH passwords and private keys stay in the cloud the whole time, and every target machine and every hop must have had its host fingerprint confirmed in the web UI first (TOFU) before MCP can touch it.
- Access machine auth: if you've enabled Cloudflare Zero Trust Access login, the panel includes a dedicated Service Token walkthrough (
Service Authpolicy) that auto-generates a two-layer auth config withCF-Access-Client-Id/CF-Access-Client-Secretplus your personal Bearer Token. - Operation log: the panel ships with an "MCP operation log" that's collapsed by default. It only records call time, server, status and tool name — no actual commands or file contents.
- File write protection:
Upgrading and trying it out
Existing users: just manually Sync Fork your own fork against the latest main branch and it'll auto-deploy the upgrade.
New users: just fork the repo, hook it up to GitHub in Cloudflare Workers (build command pnpm run build:frontend), and you can deploy for free.
- Repo: https://github.com/newbietan/CloudSSH
- Website: https://cloudssh.newbietan.cn/
- Changelog: https://cloudssh.newbietan.cn/#changelog
Give it a try and let us know how it goes. If you run into issues or have suggestions, drop them in an Issue — and if you find it useful, a Star would be much appreciated!
CloudSSH 最近更新到了 v2.11.x(最新 v2.11.1)。这个版本做了一个挺大的改动:原生支持了远程 MCP(Model Context Protocol)协议,算是给 CloudSSH AI模块增加了一种全新的使用方式。
以前用 CloudSSH 的 AI 运维助手,需要在网页里填大模型 API Key,在侧边栏里对话。但在实际写代码或排查问题时,很多朋友平时主力都在用 Claude Code 或 Codex。如果为了连服务器又要在每一个设备本地配一堆 ~/.ssh/config、散落保存各种私钥,或者折腾内网跳板机,体验非常割裂。
所以 v2.11.x 直接把 CloudSSH 变成了一个跑在 Cloudflare Workers 边缘节点上的远程 MCP 服务端。你不用在 CloudSSH 里配大模型,也不用把 SSH 私钥导出到本地,直接在 Claude Code 或 Codex 里配置CloudSSH提供的MCP服务,就能让本地 AI 直接操作你在 CloudSSH 里保存的所有服务器(部分认证需要人工介入的服务器暂不支持)。
本次更新的核心内容
- 一次生成,随时按服务器改权限
登录后点顶栏的「外部AI助手MCP设置」,可以生成账户唯一的长期配置。每台保存的服务器都可以单独勾选读取、写入、执行、终端上下文四项权限,保存后立即生效,改权限不需要换客户端里的 Token。如果临时不想让外部 AI 操作,把权限全取消勾选就行。
{
"mcpServers": {
"cloudssh": {
"type": "http",
"url": "https://your-cloudssh.example/mcp",
"headers": {
"Authorization": "Bearer <你的唯一个人令牌>"
}
}
}
}
-
独立通道运行,不打断网页终端
MCP 提供了server_list、ssh_exec(非交互命令执行)、sftp_list/sftp_read/sftp_write以及session_output共 6 个工具。底层走独立的MCPExecutionDO无头连接池,不会抢占或干扰你正在浏览器里敲命令的交互式终端。 -
网页终端与本地 AI 联动(共享终端上下文)
在浏览器终端里遇到报错时,可以在设置里打开「共享当前终端上下文」,把当前标签页最近的终端输出只读共享给外部 AI,方便 Claude Code / Codex 结合你本地的代码直接帮你看日志排错。 -
安全细节与 Cloudflare Access 适配
- 文件写入保护:
sftp_write覆盖文件前强制检查expected_hash防止冲突,且通过0600权限原子创建临时文件后再posix-rename替换(v2.11.1 加固)。 - 指纹与凭据边界:SSH 密码和私钥全程留在云端,且目标机和每一跳都必须先在网页端确认过主机指纹(TOFU)才能被 MCP 调用。
- Access 机器鉴权:如果你开启了 Cloudflare Zero Trust Access 登录,面板里提供了专属的 Service Token(
Service Auth策略)配置引导,会自动生成带CF-Access-Client-Id/CF-Access-Client-Secret和个人 Bearer Token 的双层认证配置。 - 操作日志:面板自带默认折叠的「MCP操作日志」,只记录调用时间、服务器、状态和工具名,但不记录具体命令和文件内容。
- 文件写入保护:
升级与体验
老用户在自己的 Fork 仓库里手动 Sync Fork同步最新 main 分支即可自动部署升级;
新用户直接 Fork 仓库并在 Cloudflare Workers 绑定 GitHub(构建命令填 pnpm run build:frontend)就能免费部署。
- 项目仓库:https://github.com/newbietan/CloudSSH
- 项目官网:https://cloudssh.newbietan.cn/
- 更新日志:https://cloudssh.newbietan.cn/#changelog
欢迎大家升级试试,有什么问题或建议欢迎在 Issue 里反馈,觉得好用的话也求个 Star 支持一下!
Translated by AI from 简体中文Original (简体中文)

可以共享、可以push的免费邮箱,更可使用自定义域名,完美契合您的各项需求。
25 replies
Sort order