# remote-assist-tool [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/kegechen/remote-assist-tool  
**GitHub Stars:** 5  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/remote-assist-tool

## Description
Remote assistance with a one-time code: let your AI agent (Claude Code, Codex…) debug a remote machine via MCP, or open an SSH tunnel. Relay / LAN / P2P, no public IP needed.

## Tools
Capabilities this server exposes over MCP:

- **connect** — Pair with the remote side using the assist code; must be called first; optional `server=` overrides the relay address (for standalone/LAN)
- **exec** — Run a command on the remote side by argv (not through a shell)
- **read_file** — Read / write remote files (limited to the `--root` subtree if set; at most 1 MiB per call)
- **list_dir** — Explore the remote file system
- **process_list** — List remote processes
- **tail_log** — Read the last N lines of a remote log
- **upload_file** — Push a local file to the remote side in chunks (512 KiB) — binaries such as DLL/EXE/zip
- **download_file** — Pull a remote file to the local machine in chunks — crash dumps / log archives, etc.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/kegechen/remote-assist-tool), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
curl -fsSL https://raw.githubusercontent.com/kegechen/remote-assist-tool/master/install.sh | sh
```

2. Install:

```sh
wget -qO- https://raw.githubusercontent.com/kegechen/remote-assist-tool/master/install.sh | sh
```

3. Install:

```sh
curl -fsSL https://raw.githubusercontent.com/kegechen/remote-assist-tool/master/install.sh | sh -s -- share --standalone
```

4. Install:

```sh
curl -fsSL https://raw.githubusercontent.com/kegechen/remote-assist-tool/master/install.sh | REMOTE_INSTALL_NO_RUN=1 sh
```

## Documentation

## What remote-assist-tool does

remote-assist-tool gives an MCP-capable AI agent a controlled channel to a remote machine. The remote side shares access and displays a one-time assist code; the agent uses that code to establish the session. After pairing, the agent can inspect the machine, run commands, read or modify files, examine processes, collect log output, and transfer files.

The project supports two separate assistance paths. The classic path provides an SSH tunnel for conventional remote assistance. The MCP path exposes remote operations as tools for agents such as Claude Code or Codex. A relay can carry the connection when the machines are not directly reachable, while LAN direct mode and NAT-traversing P2P can avoid routing traffic through a public relay when the network permits it.

## How it works

The MCP client starts the remote-assist command as its MCP entry point and calls `connect` with the assist code. That call must happen before other remote operations. The optional `server` argument selects a specific relay address, which is useful with a standalone or self-hosted relay. Without that override, the client can use the configured relay-selection behavior.

The connection can use a public relay, an in-process relay for LAN use, or P2P hole punching with relay fallback. Relay traffic uses TLS. The MCP tool channel adds XChaCha20-Poly1305 authenticated encryption with a key derived from the assist code. The relay remains a trust boundary, so deployments that require control of that boundary should use a relay operated by the user.

## Setup and configuration

Install the latest release with the project’s shell installer, which places the client in `~/.local/bin` by default. `REMOTE_INSTALL_DIR` changes the installation directory, and `REMOTE_INSTALL_NO_RUN=1` installs or updates without starting the program. The installer supports amd64 and arm64 on Linux, macOS, and Windows environments using Git Bash, MSYS2, or Cygwin.

The installer verifies the downloaded binary against the matching `SHA256SUMS` file. Set `REMOTE_INSTALL_SKIP_CHECKSUM=1` only when intentionally bypassing that check. The project also provides build scripts for Linux, macOS, and Windows, with compiled artifacts written to `bin/`.

On the remote machine, start the sharing role and provide the resulting assist code to the MCP client. Use `--server` to select a relay explicitly or `--standalone` for the in-process LAN relay. The `--root` option limits file tools to a subtree, while command execution can be controlled with execution allow and deny lists.

## Tools and capabilities

- `connect` pairs with the remote side using the assist code and must be called first. Its optional `server` parameter overrides the relay address.
- `exec` runs a command from an argument vector rather than through a shell.
- `read_file` reads or writes remote files, with a maximum of 1 MiB per call and optional `--root` confinement.
- `list_dir` explores directories on the remote file system.
- `process_list` returns the remote process list.
- `tail_log` reads the last requested number of lines from a remote log.
- `upload_file` sends local files in 512 KiB chunks, including binary files such as archives or executables.
- `download_file` retrieves remote files in chunks, including crash dumps and log archives.

## Limitations and notes

The `--root` setting applies to file tools only; it does not restrict commands run through `exec`, so it should not be treated as a security boundary. File operations are limited to 1 MiB per call, and transfers use fixed-size chunks. The relay is part of the trust model even though the MCP channel has additional authenticated encryption. Relay deployments also include connection rate limits, I/O timeouts, and per-message size limits to reduce resource-exhaustion risks.

_Full upstream README: https://allmcps.com/mcp/remote-assist-tool/readme_

