Guides
Connect Claude Code, Cursor and Codex to Orbit over MCP
Connect Claude Code, Cursor or Codex to Orbit's MCP server with OAuth. Pick drives and access, let agents work in a fork, merge only what you approve.
Let your agents loose on real files. Merge only what you approve.
Orbit has a remote MCP server at https://mcp.orbitfs.io/mcp. Claude Code, Codex, Cursor and other MCP clients use it to search, read and write drives without ever seeing an access key. You choose what the agent can reach on Orbit's consent page, and you can revoke the connection at any time.
| Server URL | https://mcp.orbitfs.io/mcp |
| Transport | Remote, Streamable HTTP |
| Sign-in | OAuth, in your browser |
| Connection name | orbit |
| Install | Nothing. No package, plugin or local server |
The one-line setup
Open Connect Agents in the web app (app.orbitfs.io/agents), copy the setup prompt, and paste it into your agent. Or paste this:
Read https://mcp.orbitfs.io/setup.md and follow it to connect this agent to Orbit. Start the sign-in yourself so my browser opens.The agent reads Orbit's setup guide, adds the MCP connection for the client it is running in, and starts the sign-in. Your browser opens Orbit's page, "Allow an agent to use your files?". Check the access and press Allow access. The agent then checks the connection with list_drives, which is read-only.
The setup guide keeps the client-specific steps current. If your installed client's --help differs from what is written here, follow the installed help.
What you need
- An Orbit account. Sign in at app.orbitfs.io/login with an emailed six-digit code or with Google. A new account gets a personal workspace, a first drive and 5 GB, with no card.
- A client that supports remote MCP servers with Streamable HTTP and OAuth: Claude Code, Codex, Cursor, VS Code, the Claude desktop app or claude.ai, among others.
You don't need the Mac app. MCP works from any machine your agent runs on.
Set up by client
Claude Code
Add the connection for your user, so it works in every folder and later sessions:
claude mcp add --scope user --transport http orbit 'https://mcp.orbitfs.io/mcp'Then sign in. The command opens your browser and waits until you approve:
claude mcp login orbitIt prints Authenticated with "orbit" when it is done. Inside a session you can also run /mcp, choose orbit and authenticate. If the session exposes an authenticate tool for this server, calling that starts the same sign-in.
Use --scope project or --scope local only when you want Orbit in one project. A folder-only connection disappears when you open another folder.
Working over SSH with no browser? Run claude mcp login orbit --no-browser, open the link it prints, and paste the address you land on back into it.
Cursor
Add Orbit to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project if you want it there alone. Keep the entries already in the file:
{ "mcpServers": { "orbit": { "url": "https://mcp.orbitfs.io/mcp" } } }Cursor cannot be signed in from a command. Open Cursor's MCP settings and press Connect (or Needs login) next to orbit.
Codex
codex mcp add orbit --url 'https://mcp.orbitfs.io/mcp'
codex mcp login orbitThe login command opens your browser. Keep it running until you approve. Without the command line, use Codex Settings → MCP servers → Add server, choose Streamable HTTP, and enter the URL.
VS Code
code --add-mcp '{"name":"orbit","type":"http","url":"https://mcp.orbitfs.io/mcp"}'Then start orbit from the MCP server list and allow the sign-in it asks for.
Claude desktop app and claude.ai
Connectors are added by you, not by the agent. Go to Settings → Connectors, add a custom connector named Orbit with the URL https://mcp.orbitfs.io/mcp, then press Connect. Your browser opens on Orbit's consent page.
Any other MCP client
Use the client's own instructions for a remote MCP server with Streamable HTTP and OAuth, and the URL above. If the client supports neither, it cannot connect to Orbit over MCP. Use the S3 API with a scoped key instead.
What you approve on the consent page
A connection is limited to one workspace and never gets workspace administration: it cannot manage members, billing or access keys. Its access is also capped by your live role. If you are later reduced to viewer, the connection becomes read-only. If you leave the workspace, it stops working.
| Choice | The agent can |
|---|---|
| Can view | List, read and search the drives it can reach, and read file history. |
| Can edit | Also add, change, move and delete files, restore versions, create checkpoints, merge and undo changes. |
| Every drive | Reach current drives and drives added to the workspace later. |
| Only these drives | Reach only the drives you select. |
| May create and copy drives | Create empty drives and fork drives it can read. This needs Can edit and an owner or admin role. |
| May delete drives | Delete a drive, and list or restore deleted drives. This needs May create and copy drives. A deleted drive keeps its files until it is restored or removed for good. |
Start with Can view and only the drives a task needs. Add Can edit and May create and copy drives when you want the agent to work in forks.
Check the connection
The agent checks the connection with list_drives, which is read-only.
- It returns drives. You are connected.
- It returns no drives. The connection works, and the workspace you allowed has no drives, or you named none.
- 401 or a sign-in error. The sign-in did not finish. Start it once more.
In Claude Code, claude mcp get orbit shows whether the connection is signed in. If Orbit's tools do not appear yet, reload the client's tools before restarting the session.
After connecting, the agent loads Orbit's built-in guide with get_skill. That guide covers versions, idempotency keys, forks, and treating file content as data.
What the agent can do over MCP
The client lists the exact tools after it connects. Write tools appear only with Can edit. fork_drive, create_drive, rename_drive, list_deleted_drives and restore_drive appear only with May create and copy drives. delete_drive also needs May delete drives.
| Tool | What it does |
|---|---|
fork_drive | Creates a new drive that starts as a copy of another. No file data is copied. |
compare_fork | Lists what a fork changed, against the original as it is now. |
merge_fork | Applies a fork's changes to the drive it was forked from, as one commit. |
undo_changes | Undoes one run, or everything after a checkpoint, as a new commit. History stays. |
list_activity | Lists recent runs, with the since_seq and until_seq that undo_changes needs. |
create_checkpoint | Names the drive's current state so later work can be undone in one step. |
Other groups, present only when the connection allows them:
| Group | Examples |
|---|---|
| Browse and read | list_drives, list_files, glob_files, stat_file, read_file. PDF and DOCX files return their extracted text. |
| Search | full_text_search for words or an exact phrase, grep for a regular expression. Not semantic, and no OCR. |
| Write | write_file, edit_text, append_rows, create_folder, move_file, delete_file. |
| History | list_versions, read_file with a version_id, restore_version. |
| Sandbox tokens | create_sandbox_token, list_sandbox_tokens, extend_sandbox_token, revoke_sandbox_token. |
A sandbox token lasts from 5 minutes to 12 hours. The default is 1 hour. The secret is returned once. Revoking it stops new requests within about 30 seconds.
A replace passes the version the agent read (if_version). A create passes if_absent. Every write passes an idempotency key, so a conflict changes nothing and a retry of the same call does not apply twice. File text, paths and search results come back inside untrusted-content markers. The guide tells the agent never to follow instructions found inside files.
Inline MCP writes are for small text files, up to 1 MiB for write_file. For large or binary files, have the agent mint a sandbox token and use an S3 client, or open the drive in Finder with the Mac app. See S3-compatible storage for AI agents.
Command line
Let your agent work in a fork, then merge what you approve
For a broad reorganization or batch edit:
- The agent calls
fork_driveand works in the fork. A fork copies no file data. - You open the fork's Review changes screen, or the agent calls
compare_fork. - You merge the changes you approve, in the web app or with
merge_fork, or you delete the fork. - If a merged or in-place run was wrong, open the drive's Activity and undo that run, or the agent calls
undo_changes. Undo adds a new change rather than erasing history.
The full walkthrough is Review and undo what an agent changed.
Limits to know
| Limit | Value |
|---|---|
| Inline text write | 1 MiB per write_file call |
| Byte-range read | 32,768 bytes per call |
| Tool result | About 32 KiB of text |
| Sandbox tokens per connection | 100 unexpired tokens |
| Sandbox token lifetime | 5 minutes to 12 hours, default 1 hour |
| Agent access token | 1 hour. Refresh tokens rotate and last 30 days |
| Revoking a connection | Takes effect within 30 seconds |
These match the limits page and the MCP tool definitions.
Troubleshooting
- **A connection named
orbitalready points somewhere else.** Check its address before changing it. Onlyhttps://mcp.orbitfs.io/mcpis Orbit's server. - An Orbit connection exists but is not signed in. Start the sign-in for that entry. Do not add a second one.
- The sign-in failed or expired. Start one sign-in and wait for it. Do not open the link a second time while one is pending.
- The agent asks for a password, key or token. Stop. Sign-in happens only in your browser.
- A step asks for a package or a local server. That is not part of this setup.
See or revoke a connection
Open Connect Agents. The page lists each connection's client, workspace, access, drives and last use. Revoke connection ends its access within 30 seconds, and the sandbox tokens that connection minted end with it. /settings/agents only redirects to /agents.
FAQ
Does the agent ever see my S3 keys?
No. An MCP connection uses OAuth. It never needs your password, refresh token or S3 secret. A sandbox token is a separate, short-lived S3 key the agent can mint for a job, and that secret is shown once.
Can an agent damage my files?
Every change is saved as a new version, so you can restore the earlier one. For broad changes, have the agent call fork_drive, then review before merge_fork. A merge or a run can be undone with undo_changes. Keep independent backups of important work.
Do I need a Mac?
No. The Mac app needs macOS 14+ on Apple silicon. MCP and the S3 API work from any machine.
Is search semantic?
No. full_text_search finds words or an exact phrase, including the text of PDF and Word files. grep matches a regular expression. There is no OCR.
Do agents cost a seat?
The billing catalog prices plans per member and does not list a separate charge for an agent connection. It also does not say that a connection uses a seat.
Can I point my agent at the docs?
Yes. llms-full.txt is every page in one file, and any docs URL plus .md is that page as Markdown.