Open a space in VS Code, Cursor or Claude Desktop
Open a space in your own editor, or start a Claude Desktop session inside it, with one click. Your app connects over SSH and lands in the space’s workspace folder, with the agent’s files, terminal and tools right there. Pick your app once and Marshal remembers it.
Before you start
- VS Code or Cursor on your computer, with its Remote-SSH extension, or Claude Desktop, signed in to your Claude account.
- The Marshal CLI, signed in to your Marshal server. See Install the CLI and sign in.
- The Marshal daemon on the same computer:
marshal daemon install. It adds your spaces to your SSH config, so your editor can reach them. - A space you own, in your active organization, that is ready.
- For VS Code or Cursor, the space’s manifest includes the allow-list package for your editor:
egress-vscode(VS Code Remote-SSH) oregress-cursor(Cursor Remote-SSH). Your editor downloads its server into the space on the first connection, and this package lets it through. See Install a package into a manifest. - For Claude Desktop, the space can reach
api.anthropic.com. See Network policy.
Steps
- Open the space in the web app.
- In the bar at the top of the space, click Open in VS Code.
- Your browser asks to open your editor. Allow it.
- Your editor opens a new window and connects to the space.
To use another app, click the arrow next to the button and pick Open in VS Code, Open in Cursor or Open in Claude Desktop. The app you pick opens right away and becomes your default, so the main button opens it from then on. Your default is saved on your account, so it is the same in every browser you sign in from.
Claude Desktop
Open in Claude Desktop starts a new Claude Code session in Claude Desktop that runs inside the space. Claude Desktop shows the conversation on your computer. Claude Code, its tools and its commands run in the space, on the space’s files and network.
- Claude Desktop asks you to confirm the connection to
<space-slug>.<org-slug>.marshal. The first time you open a space, give the connection a name, for example the space’s name, and confirm. - The message box is filled in with
Marshal space <space name>:. Finish the message with what you want to do and send it. Claude Desktop names the session from your first message.
The first connection takes a little longer while Claude Desktop installs Claude Code in the space, under ~/.claude/remote/.
The session uses your own Claude account and plan, the same as Claude Desktop on your computer. While the session runs, your Claude sign-in is stored in the space, so open Claude Desktop in spaces that only you use.
The first time your browser talks to the daemon, it may ask to let the page access devices on your local network. Allow it. This is how the web app finds the daemon on your computer.
When the button is greyed out
Hover over the button to see what it needs. It tells you the exact command to run.
| The button says | What to do |
|---|---|
| The Marshal daemon is not connected | Install the CLI from your user menu under Download CLI, then run marshal login and marshal daemon install. |
| SSH config is not set up | Run marshal ssh-config install. The daemon is running, and this adds your spaces to your SSH config. |
| Space is starting | Wait until the space is ready. The button turns on by itself. |
The button checks again every 10 seconds, so there is no need to reload the page.
What you should see
- Your editor opens a window connected to
<space-slug>.<org-slug>.marshal. Claude Desktop opens a new session in the same place. - The editor’s file explorer shows
/home/agent/workspace, the space’s workspace folder. - The first connection takes a few extra seconds while your editor installs its server in the space. Later connections are quick.
- After you pick an app from the arrow menu, the main button shows its name, for example Open in Claude Desktop.
Next
Prefer the terminal? marshal spaces connect <space-slug> attaches your own shell to the space. See the CLI reference.