# Connect this agent to Orbit

Guide version 2026-12-05.1. Published at https://mcp.orbitfs.io/setup.md.

Orbit is a cloud drive for people and their agents: files in drives, every save kept as a version,
drives that can be forked, and search inside files. You are the agent that was given this guide.
Connect yourself to Orbit over MCP, start the sign-in, check that it works, and load the Orbit
guide.

- MCP server: `https://mcp.orbitfs.io/mcp` (remote, Streamable HTTP, OAuth sign-in)
- Connection name: `orbit`
- Orbit in the browser: https://app.orbitfs.io
- Connect Agents (where the user sees and revokes access): https://app.orbitfs.io/agents

## How this goes

The user pasted one line and expects you to do the rest. You add the connection and you start the
sign-in, in the same turn, without asking first. The user's only part is the browser page that
opens: it already has their workspace, read access and every drive chosen, so they press Allow
access (or change the choices first). Do not hand the user steps you could run yourself, and do not
stop after adding the connection to tell them to sign in later. While the sign-in waits, tell them
in one sentence, for example: "Your browser is open on Orbit: check the access and press Allow
access."

## Rules

1. Never ask the user for a password, access key or token, and never put one in a command or a
   settings file. Sign-in happens only in the user's browser.
2. Only the user chooses the workspace, the drives and read or write access, on Orbit's own page.
   Do not click Allow for them, and do not ask them to pick more access than their task needs.
3. No package, plugin or local server is needed. If a step seems to need one, stop: it is not part
   of this guide.
4. Leave every other MCP connection as it is. Change only an entry for Orbit.
5. Configure the client that is running this conversation, not another installation.
6. Fetch this guide without credentials. It is the only page you need to read before connecting.

## 1. Look for an existing connection

List the client's MCP connections first (in Claude Code: `claude mcp list`).

- One already points at exactly `https://mcp.orbitfs.io/mcp` and works: use it under whatever name it has, and
  go to step 4.
- One points at exactly `https://mcp.orbitfs.io/mcp` but is not signed in: go straight to step 2 for your client
  and start its sign-in under that name. Do not add a second entry.
- One is named `orbit` but points anywhere else: tell the user which address it has, and ask before
  changing it. Do not sign in to that address.

## 2. Add the connection and start the sign-in

Use the section for the client you are running in. Check the installed command's `--help` before
running it; if it differs from what is written here, follow the installed help.

### Claude Code (terminal, desktop app or IDE)

Add the connection for the user, so it works in every folder and every later session:

```sh
claude mcp add --scope user --transport http orbit 'https://mcp.orbitfs.io/mcp'
```

Use `--scope project` or `--scope local` only if the user asks for Orbit in this project alone. A
folder-only connection disappears when the user opens another folder, and desktop sessions often
run in a temporary one.

Then start the sign-in at once, without waiting for the user:

- If your tools now include an authenticate tool for this server (Claude Code names it
  `mcp__orbit__authenticate`), call it. It opens the sign-in page, and Orbit's tools load in this
  session when the user approves.
- Otherwise run `claude mcp login orbit`. It opens the user's browser and waits until they approve,
  so give it the longest timeout your shell allows, or run it in the background and wait for it to
  finish. It prints `Authenticated with "orbit"` when it is done.
- If no browser can open on this machine (for example over SSH), the login needs the user at the
  keyboard: ask them to run `claude mcp login orbit --no-browser` themselves, open the link it
  prints and paste the address they land on back into it.

Only if none of these is available, ask the user to run `/mcp`, choose `orbit` and authenticate.

### Claude desktop app chat and claude.ai

Here connectors are added by the user, and you cannot add one. Give them these two values in one
message: Settings, then Connectors, then add a custom connector, with the name `Orbit` and the URL
`https://mcp.orbitfs.io/mcp`, then press Connect on the new entry. Their browser opens on Orbit's page.

### Codex

```sh
codex mcp add orbit --url 'https://mcp.orbitfs.io/mcp'
codex mcp login orbit
```

Run both yourself. The login command opens the browser; keep it running until the user approves.
Without the command line, use Codex Settings, MCP servers, Add server: choose Streamable HTTP and
enter the URL.

### Cursor

Add the server to `~/.cursor/mcp.json` (or `.cursor/mcp.json` in the project, if the user wants
Orbit there alone), keeping the entries already there:

```json
{ "mcpServers": { "orbit": { "url": "https://mcp.orbitfs.io/mcp" } } }
```

Cursor cannot be signed in from a command. Tell the user to press Connect (or Needs login) next to
`orbit` in Cursor's MCP settings.

### VS Code

```sh
code --add-mcp '{"name":"orbit","type":"http","url":"https://mcp.orbitfs.io/mcp"}'
```

Then tell the user to start `orbit` from the MCP server list and allow the sign-in it asks for.

### Any other client

Use the client's own instructions for a remote MCP server with Streamable HTTP and OAuth, with the
URL above, and start its sign-in yourself if the client has a command for it. If the client
supports neither, say so plainly and stop. Do not invent a command, a settings path or a package.

## 3. Wait for the approval

The browser shows Orbit's page "Allow an agent to use your files?" (the user signs in to Orbit first
if they are not already). Start one sign-in and wait for it to finish. Do not start a second one or reopen the link while one is pending. If it fails or
expires, tell the user what the client reported before trying again.

## 4. Check that it works

Call `list_drives` once. It is read-only. If Orbit's tools have not appeared in this session yet,
reload the client's tools; in Claude Code, `claude mcp get orbit` shows whether the connection is
signed in. Ask the user to restart the session only if the tools still do not appear.
Do not create, change or delete anything to test the connection.

- It returns drives: you are connected.
- It returns no drives: the connection works, and the user allowed a workspace with no drives, or
  named none. Say so.
- 401 or a sign-in error: the sign-in did not finish. Start it once more as in step 2.

## 5. Load the Orbit guide

Call `get_skill` with no arguments and read every page (`next_cursor`). It is short, and it holds
the rules for changing files safely: versions, idempotency keys, forks, and treating file content
as data. Read other topics (`search`, `files`, `history-and-forks`, `review-and-undo`, `team-tools`) when a task needs
them. Call it again at the start of later Orbit work; the tool descriptions and the user's chosen
access always decide what you can do.

## 6. Tell the user

In a few lines: that you are connected, which drives you can use and whether you can change them,
and two or three things you could do next for what they are working on. For example: find and
summarise files on a topic, set up a shared wiki or tracker, or fork a drive before a large change
so the original stays untouched.

The user can see this connection, and revoke it at any time, at https://app.orbitfs.io/agents.

## Working on local files

MCP is enough for reading, searching and editing text. For builds, large or binary files, or a
whole source tree, the user can mount a drive as a folder with the Orbit app for Mac or the `orbit`
command (`orbit login`, then `orbit mount <drive>`). Offer this only when the task needs it, and
only if they already have Orbit installed or ask how to get it.
