Remote Agents vs Remote Ssh MCP

A side-by-side look at the Remote Agents and Remote Ssh MCP MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.

Remote Agents logoRemote AgentsCommand Line · Local subprocess (stdio)Control fleets of remote machines via AI agents: exec, files, git, fleet ops, map/reduce.56GoodAuth: not declaredRemote Ssh MCP logoRemote Ssh MCPCommand Line · Local subprocess (stdio)Persistent stateful remote SSH sessions for AI agents via MCP + OpenSSH.60GoodAuth: not declared

Verdict: choose Remote Agents for command line work as a local process; choose Remote Ssh MCP for command line as a local process. You can also run both side by side in one mcpServers block.

Which MCP server should you choose?

Remote Agents logoChoose Remote Agents when

  • You need dedicated capabilities in the Command Line domain.
  • You prefer a local stdio subprocess transport.
  • You want tools like exec, read_file, get_info.
Explore Remote Agents

Remote Ssh MCP logoChoose Remote Ssh MCP when

  • You need dedicated capabilities in the Command Line domain.
  • You prefer a local stdio subprocess transport.
  • You want tools like ssh_hosts, ssh_open, ssh_run.
Explore Remote Ssh MCP

Feature & specification comparison

Rows where the two servers differ are marked.

SpecRemote Agents logoRemote AgentsRemote Ssh MCP logoRemote Ssh MCP
CategoryCommand LineCommand Line
Quality signal56/100 · Good60/100 · Good
Install commandConfirmedConfirmed
TransportLocal subprocess (stdio)Local subprocess (stdio)
AuthNot declaredNot declared
PricingNot declaredNot declared
Required env varsNone listedNone listed
Verified ownerCommunity listingCommunity listing
GitHub stars11
Directory activity 1 views 0 installs 0 upvotes 1 views 0 installs 0 upvotes
Tools157

Tools & capabilities

Remote Agents tools 15

  • execRun a shell command (locally or on a remote agent via `agent_id`)
  • read_fileFile operations (write requires Edit/Bypass)
  • get_infoInspect / change an agent's mode at runtime
  • git_statusGit operations
  • schedule_addCron-style tasks on a host
  • task_dispatchAutonomous AI tasks run with the host's own credentials
  • session_listBrowse the host's AI-chat history (claude / opencode / codex / cline / roo / kilo / zed / cursor / gemini / qwen / goose / continue); `session_get` fetches a transcript or a window around one message
  • session_searchFull-text search over the host's AI-chat history — a local Tantivy (BM25) index of every provider transcript, returning ranked cited snippets with `session_id` + message position (follow up with `session_get { around_seq }` for the context)
  • list_agentsList agents connected to the relay room
  • fleet_execRun an operation across the fleet — `target = all \
  • fleet_session_searchSearch the AI-chat history across the whole fleet: every matched host queries its local index, hits merge by score with host labels
  • file_searchFind files on a host, and move a file host→host (UDP, SHA-256 verified)
  • +3 more on the listing page

Remote Ssh MCP tools 7

  • ssh_hostsList allowed OpenSSH Host aliases discovered from the local ssh_config (and explicit allowlist). Returns only safe connection metadata: alias, hostname, user, port, proxy_jump. Never returns private keys, IdentityFile paths, agent sockets, or ProxyCommand. Pass reload=true after editing ~/.ssh/config to re-parse without restarting the MCP server. Use an alias from this list with ssh_open.
  • ssh_openOpen a new persistent remote bash shell for an allowed ssh_config Host alias from ssh_hosts. Each call creates a clean session with a new id. Credentials come only from local OpenSSH configuration/agent; passwords and private keys are never accepted as arguments and must not be read from disk by the model.
  • ssh_runStart a non-interactive command in the same persistent shell identified by id. cwd and environment changes persist. The call waits at most wait_sec (default 10 seconds); if the command is still active it returns status=running without stopping it. Commands have no automatic execution timeout by default. Only an explicitly provided timeout_sec sends Ctrl-C at that deadline. Never retry a running command: poll with ssh_peek(wait_sec=...) so the MCP call blocks until idle or the wait expires; do not spam peeks with wait_sec=0. Call ssh_interrupt to stop it, or open another session for concurrent work. Only one foreground command may run per id. Do not use vim, top, password prompts, or other interactive TUI/input flows.
  • ssh_peekObserve the current foreground command and its latest output without starting another command. When status=running, optional wait_sec (default 0) long-polls this MCP call until the command finishes or the wait expires—prefer a positive wait_sec over busy-looping. wait_sec never stops the remote command. Returns the newest lines in chronological order, limited independently for stdout and stderr; lines defaults to 50 and is capped to protect model context. Use after ssh_run returns status=running. When idle, returns immediately with cwd, last exit code, and the latest lines from the completed command.
  • ssh_interruptSend Ctrl-C to the current foreground process group and wait for the shell protocol to recover. The session is kept only when recovery is confirmed. Returns nothing_to_interrupt when idle.
  • ssh_listList all live sessions with host, cwd, state, last exit code, idle time, idle-reap countdown, and connection capacity. Use this to recover valid ids; never invent one.
  • ssh_closeClose the remote shell and SSH connection, clean its private temporary directory, and invalidate the id. Close a dirty session and call ssh_open for a clean environment.

Ready-to-paste client configs

Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.

Remote Agents

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "remote-agents": {
      "command": "npx",
      "args": [
        "-y",
        "remote-agents"
      ]
    }
  }
}

Remote Ssh MCP

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "remote-ssh-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@zyluo/remote-ssh-mcp"
      ]
    }
  }
}

Frequently asked questions

Remote Agents is categorized under Command Line and uses a local stdio subprocess. Remote Ssh MCP belongs to Command Line and uses a local stdio subprocess. Pick Remote Agents for command line work and Remote Ssh MCP for command line.

Copy the mcpServers block from the config section on this page into your client's config (for example claude_desktop_config.json or ~/.cursor/mcp.json), then fully restart the client.

Remote Agents has no declared pricing — check the project's own site. Remote Ssh MCP has no declared pricing — check the project's own site. If a server needs environment variables such as API keys, define them under the env key in your client's MCP config.

Yes. MCP clients support multiple servers: add remote-agents and remote-ssh-mcp as separate keys in the same mcpServers object, and your assistant will call tools from either one.

On AllMCPs, Remote Agents has a quality signal of 56/100 (Good) with 1 views, 0 installs and 1 GitHub stars. Remote Ssh MCP has 60/100 (Good) with 1 views, 0 installs and 1 GitHub stars.