Remote Shell MCP — DevOps skill for Claude Code
Persistent SSH, SFTP, port forwarding, and Docker over MCP.
How to install Remote Shell MCP
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open jaenster/remote-shell-mcp and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Remote Shell MCP does
Persistent SSH, SFTP, port forwarding, and Docker over MCP. A long-running daemon so sessions, tunnels, and PTY shells survive across Claude Code / Claude Desktop / Cursor / Codex CLI restarts.
Alternatives in DevOps
- Codeg — Aggregate and browse AI coding agent sessions (Claude Code, Codex, Gemini CLI, etc.) in one place 850 ★
- Context Infrastructure — A context and memory system for AI coding agents 774 ★
- Cheetahclaws — CheetahClaws: A Fast and Easy-to-Use Agent Harness Infrastructure for Long-Horizon, Multi-Model, and Tool-Usin 768 ★
README
remote-shell-mcp
[](https://github.com/jaenster/remote-shell-mcp/releases) [](https://github.com/jaenster/remote-shell-mcp/actions/workflows/test.yml) [](LICENSE) [](go.mod)
**Persistent SSH, SFTP, port forwarding, and Docker over the [Model Context Protocol](https://modelcontextprotocol.io). Open the connection once — sessions, tunnels, and PTY shells survive across Claude Code / Claude Desktop / Cursor / Codex CLI restarts.**
`remote-shell-mcp` is a [Model Context Protocol](https://modelcontextprotocol.io) server that gives any MCP client (Claude Code, Claude Desktop, Cursor, OpenAI's Codex CLI, …) a real toolbox for working on remote machines and containers — `ssh_exec`, persistent PTY shells with state preserved between calls, `-L`/`-R`/`-D` port forwards, SFTP round-trips, Docker over `unix://`, `tcp://`, or `ssh://`, container lifecycle, image pulls, and `docker_run`.
It runs as a daemon. Your MCP client talks to a tiny stdio launcher that auto-spawns the daemon on first use and proxies over SSE. The daemon outlives every client restart, every Claude Code reload, every "did the bridge just hang up?" — so the `vim` you opened over a PTY, the SOCKS proxy you set up to reach a database, the keepalive on a flaky link, all keep running.
┌──────────────┐ stdio ┌──────────────────────┐ SSE/HTTP ┌────────────────────────┐
│ Claude Code │ ◀────────▶ │ remote-shell-mcp │ ◀───────────▶ │ remote-shell-mcpd │
│ (or Cursor, │ JSON-RPC │ stdio launcher │ Bearer token │ daemon: SSH sessions, │
│ Desktop, …) │
Related Skills
TerminalOs
macOS terminal that runs your servers — SSH, Docker, live metrics, SFTP and keys over one connection per host,
Relay Dev
Native macOS workspace manager for developers: projects, terminal sessions, AI CLI agents, dev services, Docke
Ttyd Tmux Cf
Deploy a persistent web terminal on macOS with ttyd and tmux, secured by Cloudflare Zero Trust Access — browse
Docker Claudebox
Claude Code in Docker. Drop-in OpenAI-compatible API, MCP server, Telegram bot, and CLI — five interfaces, one
Tesseract
Mosaico de agentes em terminal: vários Claude Code, Cursor CLI, shells, logs de Docker e markdown lado a lado,
Expose Port Cloudflare Agent Skill
Agent skill + scripts with a one-command global installer (macOS/Linux): expose any local port online via Clou
Related Agents
9remote
Long-running AI coding sessions keep working after you leave the desk, but checking on them from a phone usual
Terminal Engineer
Use for SwiftTerm integration, PTY process spawning, ssh and tmux command building, hosts config loading, reco
Monk Installer
Install, upgrade, and troubleshoot monk-agent plus Monk CLI/daemon for Claude, Codex, and Cursor users.