# Set up sandbox.co

You are an AI agent, and your user asked you to connect sandbox.co, the marketplace of growth plays. Its MCP server is remote: Streamable HTTP at https://mcp.sandbox.co/mcp. The user signs in with OAuth in their browser.

Rules:

- Install nothing. There is no package, CLI or local server to install.
- Never ask for an API key, token or password, and never make one. Sign-in happens in the browser.
- Name the server `sandbox`.
- When you edit a config file, merge: keep every server already in it and add only the `sandbox` entry. Create the file if it does not exist.
- If `sandbox` does not show up or does not connect, find its state in section 2.

## 1. Connect

First work out which app you are running in. Then follow exactly one section below: the one for that app.

### Claude Code

1. Check whether `sandbox` tools (such as `sandbox_auth_status`, including tools synced from claude.ai connectors) are already available in this session. If they are, skip adding a duplicate server and go straight to section 2.
2. Otherwise, run:

   ```
   claude mcp add --transport http --scope user sandbox https://mcp.sandbox.co/mcp
   ```

3. Tell the user: run `/mcp`, pick sandbox and choose Authenticate. Their browser opens to sign in to sandbox.co.

### Gemini CLI

1. Run:

   ```
   gemini mcp add --transport http -s user sandbox https://mcp.sandbox.co/mcp
   ```

2. Gemini CLI connects to no MCP server in a folder the user has not trusted. If this folder is not trusted, ask the user to run `/permissions trust` and trust it. That is their choice: do not change trust settings yourself.
3. Tell the user to run `/mcp auth sandbox`. Their browser opens to sign in to sandbox.co. Until they sign in, `gemini mcp list` shows `sandbox` as Disconnected, which is expected. If it is still Disconnected after sign-in, go back to step 2.

### Codex

1. Run:

   ```
   codex mcp add sandbox --url https://mcp.sandbox.co/mcp
   ```

   It adds `sandbox` for all projects, in Codex's user config: `~/.codex/config.toml` (Windows: `%USERPROFILE%\.codex\config.toml`). With network access, the command starts browser sign-in at once and returns only after the user approves (if your shell would time out first, give the user the command to run in their own terminal). In a sandboxed shell without network access, the command finishes right away without opening a browser and asks you to run `codex mcp login sandbox`.

2. If no browser sign-in opened, or sign-in was skipped, closed or failed, run `codex mcp login sandbox`, or ask the user to run it in their own terminal. It opens the browser sign-in.

### Antigravity (app, IDE or CLI)

1. Edit `~/.gemini/config/mcp_config.json` yourself (Windows: `%USERPROFILE%\.gemini\config\mcp_config.json`; for one workspace only, use `.agents/mcp_config.json` in it instead). Merge this in:

   ```
   {
     "mcpServers": {
       "sandbox": { "serverUrl": "https://mcp.sandbox.co/mcp" }
     }
   }
   ```

   Do not ask the user to edit the file. If it is not at that path, Antigravity IDE opens the right one from its agent panel menu: MCP Servers, then Manage MCP Servers, then View raw config.

2. Reload MCP servers. In the Antigravity CLI, run `/mcp`.
3. Tell the user to sign in when Antigravity asks. In the app: Customizations, then Installed, then Authenticate next to sandbox. They finish in the browser and paste the code back.

### Cursor

1. Merge this into `~/.cursor/mcp.json` (Windows: `%USERPROFILE%\.cursor\mcp.json`):

   ```
   {
     "mcpServers": {
       "sandbox": { "url": "https://mcp.sandbox.co/mcp" }
     }
   }
   ```

   Or give the user this Add to Cursor link: cursor://anysphere.cursor-deeplink/mcp/install?name=sandbox&config=eyJ1cmwiOiJodHRwczovL21jcC5zYW5kYm94LmNvL21jcCJ9

2. Tell the user to sign in when Cursor asks.

### VS Code (Copilot agent mode)

1. Merge this into the user `mcp.json` (command MCP: Open User Configuration) or the workspace `.vscode/mcp.json`:

   ```
   {
     "servers": {
       "sandbox": { "type": "http", "url": "https://mcp.sandbox.co/mcp" }
     }
   }
   ```

   Or give the user this Add to VS Code link: https://vscode.dev/redirect?url=vscode%3Amcp%2Finstall%3F%257B%2522name%2522%253A%2522sandbox%2522%252C%2522type%2522%253A%2522http%2522%252C%2522url%2522%253A%2522https%253A%252F%252Fmcp.sandbox.co%252Fmcp%2522%257D

2. Start the server and tell the user to sign in when VS Code asks.

### Claude (claude.ai or the desktop app), ChatGPT, Grok Bot and other chat apps that cannot edit their own setup

Do not try to install anything. Give the user the steps for their app below, word for word, and the server URL: https://mcp.sandbox.co/mcp. Then stop: skip sections 2 and 3.

#### Claude

1. In Claude on the web or desktop, click Customize in the left sidebar, then the Connectors tab. If your sidebar says Plugins, open Plugins.
2. Click + Add, then Add custom connector.
3. Name it sandbox.co, paste the server URL and continue. Sign in to sandbox.co when asked.

On a Team or Enterprise plan an owner adds it under Organization settings, then Connectors (Add, Custom, Web), and members then open Customize, then Connectors, and click Connect.

#### ChatGPT

1. In ChatGPT on the web, open chatgpt.com/plugins, click the plus button and choose Add custom MCP server. Whether you can add one depends on your account or workspace settings.
2. Give it a name and enter the server URL under Connection. When it asks you to configure authentication, sandbox.co uses OAuth.
3. Read the risk warning, choose I understand and want to continue, then Create as a plugin. Install it, start a new chat and type @ to pick it.

#### Grok Bot

1. In Grok Bot, open Connect apps from the sidebar and choose Add custom connector at the bottom.
2. Name it sandbox.co, pick Remote HTTPS and paste the server URL. Then choose Add plugin.
3. Confirm sandbox.co appears under Installed. When Grok Bot asks you to Authorize or Authenticate, finish the sandbox.co sign-in in your browser.

#### Any other chat app

Tell the user to add the server URL as a custom connector in the app's settings and sign in with OAuth.

### Any other app that supports remote MCP

Add a Streamable HTTP server named `sandbox` at https://mcp.sandbox.co/mcp. Sign-in is OAuth, with discovery at https://mcp.sandbox.co/.well-known/oauth-protected-resource/mcp (the server supports dynamic client registration and client ID metadata documents). Then follow your app's own sign-in step.

## 2. Check

After the user signs in, call the read-only tool `sandbox_auth_status` once, with no arguments. It returns who is signed in and changes nothing. Your app may show it with a prefix, such as `mcp__sandbox__sandbox_auth_status`. If the only sandbox tools you have are `sandbox_search_tools`, `sandbox_describe_tool` and `sandbox_call_tool`, call `sandbox_call_tool` with `{"name": "sandbox_auth_status", "arguments": {}}` instead.

If `sandbox` is missing or the call fails, look at its state in your app's MCP list, fix that, then call once more:

- **Not listed:** the app has not loaded the config. Check the file path in your app's section, then ask the user to reload MCP servers or restart the app.
- **Disconnected or needs sign-in:** run your app's sign-in step from section 1 again (Codex: `codex mcp login sandbox`).
- **Disabled:** ask the user to turn `sandbox` on in the app's MCP settings. In Gemini CLI, a folder the user has not trusted turns every server off (`/permissions trust`), and `/mcp enable sandbox` turns a disabled one back on. In Cursor, switch it on in Customize in the sidebar.
- **Sign-in fails:** repeat the sign-in once. If it fails again, tell the user what failed, in the app's own words, and stop.

## 3. Report

Tell the user, in one line, what they gained: you can now find a sandbox.co play for their goal and read its steps, apps and results. Then offer them this first prompt:

> Help me find playbooks that fit my business. Ask what I sell and who I sell to, then show me two or three playbooks, with what each one does and what it costs, and help me choose. Do not try to approve or pay. I do that in sandbox.co.
