Use files and the terminal with Claude Desktop
This guide follows local mode: RemotePilot Desktop runs on your computer, and Claude Desktop calls its tools. No RemotePilot account is required.
1. Install RemotePilot
Check that Node.js 22.12 or later is installed, then run in a terminal:
npx remotepilot@latest setupRestart Claude Desktop. The RemotePilot tools appear in the list of available tools.
2. Choose the accessible folders
By default, the allowedDirectories list is empty, which gives access to the whole file system under your account’s rights. Limit it to your working folders. The settings file is ~/.remotepilot/config.json:
{"allowedDirectories": ["/Users/you/projects"]}Adapt the path to your computer. Settings and their effects are described on the Local mode page.
3. A first read
Ask Claude to read a file in your working folder. If the content appears, the link works.
4. Edit a file with confidence
Ask first for a plan of the changes, then for them to be applied. To approve each write, turn on requireApproval in ~/.remotepilot/config.json: without your agreement, the action is refused. To go back, ask for the last change to be undone (undo_last_change). Restoring depends on the kept changes; it is not a backup of the computer.
5. Run a command in the terminal
Ask Claude to run a command, for example your project’s tests. Here is real server output, on a sample folder, for a test command:
→ start_process python3 -m pytest -q projet/calc.py
1 passed in 0.01s
✅ Process 2273 has finished executionTo follow a long command, ask for its output as it runs. The notifyOnCompletion setting shows a system notification when a command longer than one minute ends (macOS and Linux).
6. Refuse what must not run
blockedCommands: a command in this list is not run, even if requested.allowedCommands: if the list is not empty, only these commands run.readOnly: refuses writes, not commands. Commands must still be controlled separately.
Next
Try ready-to-use requests in the prompt library. The protections and their limits are on the Security page.