Sign up Log in
n/program · 12d ago · Edited · 337 views
u/newbietanGold3 YEARS
n/programu/newbietan 3 YEARS · 12d ago
Red envelope

A new paradigm for CloudSSH: remote MCP support, manage your servers right from Claude Code / Codex

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

  1. 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>"
      }
    }
  }
}
  1. 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, and session_output. Under the hood it uses a separate MCPExecutionDO headless connection pool, so it won't grab or interfere with the interactive terminal you're typing commands into in the browser.

  2. 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.

  3. Security details and Cloudflare Access support

    • File write protection: sftp_write enforces an expected_hash check before overwriting a file to prevent conflicts, and atomically creates a temp file with 0600 permissions before replacing via posix-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 Auth policy) that auto-generates a two-layer auth config with CF-Access-Client-Id / CF-Access-Client-Secret plus 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.

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.

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!

Translated by AI from 简体中文

8
25
Log into join the discussion.

25 replies

Sort order
  1. xiaoliu202 Silver 3 YEARS 12d ago

    I've been using the big guy's project all along, super handy

    Translated by AI from 简体中文

    1
  2. Arvin_Leung 🚗 Glory 3 YEARS 12d ago

    Thanks for sharing.

    Translated by AI from 简体中文

    1
  3. gxy Silver 3 YEARS 12d ago

    I've been using it all along.

    Translated by AI from 简体中文

    1
  4. isave Silver 12d ago

    Nice, this is great

    Translated by AI from 简体中文

    1
  5. FrancisLiu Gold 3 YEARS 12d ago

    Nice, works well — already deployed.

    Translated by AI from 简体中文

    1
  6. q97575314 Diamond 3 YEARS 12d ago

    Nice, this makes remote MCP even better :03-xiexie:

    Translated by AI from 简体中文

    1
  7. cnwks Silver 12d ago

    Here I am

    Translated by AI from 简体中文

    0
  8. SilentCondor77 Silver 3 YEARS 12d ago

    Thank you!

    0
  9. zcj-ui 🚗Filthy rich Diamond 12d ago

    Looks good

    Translated by AI from 简体中文

    0
  10. Jisucloud Platinum 3 YEARS 12d ago

    Thanks for sharing

    Translated by AI from 简体中文

    0
  11. Henrypotter 🚗 Silver 3 YEARS 12d ago

    Nice technical post, upvoted to show support.

    Translated by AI from 简体中文

    0
  12. hangdahuangli 💬 Gold 3 YEARS 12d ago

    赞! :04-zan:

    0
  13. Ojbk Silver 12d ago

    Let's take a look at what's going on.

    Translated by AI from 简体中文

    0
  14. Ojbk Silver 12d ago

    Let me take a look and learn a thing or two.

    Translated by AI from 简体中文

    0
  15. Chou_Lee Silver 12d ago

    Thanks!

    Translated by AI from 简体中文

    0
  16. golawy Silver 3 YEARS 12d ago

    Nice, thanks

    Translated by AI from 简体中文

    0
  17. seeq Silver 3 YEARS 12d ago

    Let me learn a thing or two.

    Translated by AI from 简体中文

    0
  18. WebURL Diamond Diamond member 12d ago

    Thanks for the credits~ I'll learn from this..... grabbing the red packet~

    Translated by AI from 繁體中文

    0
  19. UttX Diamond Diamond member 12d ago

    Thanks for the generous share~ got the red packet~~ thank you!

    Translated by AI from 繁體中文

    0
  20. 550162729 Silver 12d ago

    Hand it over.

    Translated by AI from 简体中文

    0
  21. adnin Silver 12d ago

    Let's take a look

    Translated by AI from 简体中文

    0
  22. cjohn Never leave, never forsake 12d ago

    Thanks

    Translated by AI from 繁體中文

    0
  23. deleted_62337 Gold 12d ago

    :05-hahaha: Thanks for sharing

    Translated by AI from 简体中文

    0
  24. alay Platinum 3 YEARS 11d ago

    After upgrading these past two days, I've noticed that whenever I use AI, my SSH connection drops and I have to reconnect.

    Translated by AI from 简体中文

    0
  25. newbietan Gold OP 3 YEARS 11d ago

    The AI module hasn't had any functional changes in the last few versions, so it's unlikely to affect normal SSH connections. You should focus on checking your network stability: when using this project, are you accessing it through a proxy? (A lot of users have been reporting GFW issues these past couple of days, which can affect proxy stability and cause intermittent SSH disconnects.) Has your network been unstable? Using a proxy can actually give you a better experience, but if the proxy is unstable, it'll make SSH unstable too. If your network is fine, feel free to open an issue with the details and I'll look into it carefully.

    Translated by AI from 简体中文

    0