cascade-mcp
Manage Docker/SSH/nested remote targets and perform remote development operations.
Discover and connect to running Docker containers, SSH hosts, or nested target chains; list/status handles, close handles, forget pinned targets, and disconnect all.
Execute remote shell commands with stdout/stderr/exit code, timeout, and cancellation.
Read, write, and exact search-replace edit remote files; writes auto-create parent directories.
List directories, find files by glob, and grep file contents with regex/literal, ignore-case, context, glob filters, and limits.
Stream files upload/download between local and remote targets with optional zstd compression.
Mount/unmount a local Windows directory on an SSH target (README lists this, though it is not in the provided schema).
Allows connecting to local and remote Docker containers (including nested multi-layer chains) to perform remote development operations such as executing shell commands, reading/writing/editing files, listing directories, finding files by glob, grepping text, and streaming bidirectional file copies with zstd compression.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@cascade-mcp read /etc/nginx/nginx.conf on ssh:prod-server"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
cascade-mcp
Zero-configuration dynamic SSH and Docker remote development Model Context Protocol (MCP) server with streaming transfer and process control.
Ported from the Pi Cascade extension into a standalone, universal MCP server.
Key Features
Zero Setup Remote Operations: Connect to local/remote Docker containers, SSH servers, and nested multi-layer chains (e.g.
ssh:jump-host|docker:my-container) without installing Python, Node.js, or daemons on target hosts.Self-contained Go Helper: Automatically probes remote Linux architecture (
amd64/arm64) and injects a standalone statically linked helper withpidfd/procfschild process control.Full Remote Toolset: Read, write, edit, bash execution, directory listing, glob finding, text grepping, and bidirectional streaming file copy.
Adaptive Compression: Fast file copy with automatic zstd compression and streaming backpressure.
Universal MCP Compatibility: Seamlessly integrates with Codex, Claude Desktop, Cursor, Zed, and any MCP-compliant AI assistant via standard I/O (stdio).
Related MCP server: SSH MCP Server
Quick Start
You can run the server directly from GitHub without manual cloning or building:
npx -y github:cheng6563/cascade-mcpMCP Client Configuration
Codex / Claude Desktop (mcpServers config)
Add to your MCP configuration file (e.g. ~/.codex/config.toml or Claude desktop claude_desktop_config.json):
{
"mcpServers": {
"cascade": {
"command": "npx",
"args": ["-y", "github:cheng6563/cascade-mcp"]
}
}
}Or for Codex config.toml:
[mcp_servers.cascade]
command = "npx"
args = ["-y", "github:cheng6563/cascade-mcp"]Available Tools
Tool | Description |
| Discover, open, close, and manage target connections ( |
| Execute shell commands in target environments with stdout/stderr capture and cancellation. |
| Read remote files with offset and line limits. |
| Write content to remote files (auto-creates parent directories). |
| Apply exact, unambiguous search-and-replace text edits. |
| List directory contents with file sizes and directory indicators. |
| Search files on the remote filesystem by glob pattern. |
| Search text patterns within files on the target. |
| Bidirectional streaming file upload and download with zstd compression. |
| Mount a local Windows directory onto an SSH target, or unmount it. |
License
MIT License
Available Tools
9 toolscascade_remote_bashB
Execute a shell command on an opened remote target. Returns stdout, stderr, and exit code. Supports execution timeout in seconds. Cancellation cleanly kills child process trees using pidfd/procfs.
Inputs: handle (required), command (required), timeout.
cascade_remote_copyB
Stream transfer a regular file between local machine and opened remote target. Supports zstd compression.
Inputs: handle (required), direction (required), localPath (required), remotePath (required), +1 more.
cascade_remote_editB
Apply exact text replacements to a file on an opened remote target. Requires a READY handle. Each edit must specify oldText and newText.
Inputs: path (required), edits (required), handle (required).
cascade_remote_findA
Find files matching a glob pattern on an opened remote target. Requires a READY handle.
Inputs: handle (required), pattern (required), path, limit.
cascade_remote_grepB
Search text content within files on an opened remote target. Requires a READY handle.
Inputs: handle (required), pattern (required), glob, path, +4 more.
cascade_remote_lsB
List directory entries on an opened remote target. Returns item names, types (DIR/FILE), and sizes.
Inputs: handle (required), path, limit.
cascade_remote_readB
Read a file from an opened remote target. Requires a READY handle returned by cascade_target open. Supports offset & limit with line numbers.
Inputs: path (required), handle (required), limit, offset.
cascade_remote_writeA
Write content to a file on an opened remote target. Requires a READY handle. Automatically creates parent directories.
Inputs: path (required), handle (required), content (required).
cascade_targetA
Discover, connect, and manage Docker and SSH targets without manual agent setup. Use action=list to inspect running Docker containers. Use action=open to establish a live connection to a container, SSH host, or nested target chain, returning a target handle. Use action=handles or action=status to inspect active connections and remembered targets. Use action=close to close a specific handle, or action=disconnect to close all handles. Use action=forget to remove a remembered pinned target.
Inputs: action (required), cwd, host, mode, +3 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool has a distinct purpose: target lifecycle (cascade_target) versus remote file/command operations (read, write, edit, bash, ls, find, grep, copy). Descriptions clarify handle requirements and action semantics, leaving no overlapping boundaries.
All tools follow a predictable snake_case pattern with the cascade_ prefix, using clear action suffixes. cascade_target groups target management while cascade_remote_* groups remote operations, a consistent and readable convention.
Nine tools are well-scoped for remote target access and manipulation. The multi-action cascade_target consolidates lifecycle operations, avoiding unnecessary tool proliferation while each remote operation earns its place.
Core remote read/write/edit/bash/ls/find/grep/copy and target lifecycle actions are covered. Minor gaps exist—no explicit remote delete, move, or stat operations—but agents can work around these via bash, so the surface is largely complete.
Maintenance
Related MCP Connectors
Work on your own computers from Claude or ChatGPT: run commands, edit and search files.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
- DNS-DATA RemoteDeprecatedcom.dns-data
Connect AI assistants to authorized Windows and macOS devices for files, commands, and management.
Give your AI hands on every computer you own. Remote control of your Windows, Mac and Linux machines from one ChatGPT, Claude or Cursor chat — even from your phone. Ask it to find out why the office server is crawling, update every PC in the house, sort out your mom's laptop from another city, or ship the site from your work machine while you're on a train. It runs commands, reads files and takes a screenshot when it needs to see the screen. You decide what each computer allows, and you can cut any of them off in a second.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to execute commands and transfer files on remote servers over SSH connections.1MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to securely execute commands, transfer files, and manage port forwarding on remote servers via SSH.158 npm38Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to securely execute commands on remote hosts via SSH and SFTP, with persistent shells, file transfers, screenshots, and an audit log.5MIT
- FlicenseNot gradedqualityBmaintenanceEnables AI-controlled administration of remote Linux hosts and containers, including bounded shell execution, persistent PTY sessions, durable jobs/tasks, hardened filesystem access, process/service control, and resumable transfers.-