Skip to content

Set up your agent

Commands to connect Claude Code, Claude, Cursor, Codex, VS Code, Gemini CLI, and other agents to Reachloom.

Updated View as Markdown

Pick your agent below. Each tab shows how to connect with OAuth (sign in) and with an API key.

Every example uses the hosted server address:

https://app.reachloom.app/mcp

If you use another Reachloom address, copy yours from the workspace’s Settings → MCP.

Before you start

  • OAuth: nothing to prepare. You sign in in your browser and choose a workspace.
  • API key: create a key in the workspace’s Settings → Developer API. Then save it in an environment variable, so it does not end up in a config file or in Git:
export REACHLOOM_API_KEY="rl_live_..."

Choose your agent

OAuth

claude mcp add --transport http reachloom https://app.reachloom.app/mcp

Then sign in. Inside Claude Code run /mcp, choose reachloom, and follow the browser sign-in. Or run this in your shell:

claude mcp login reachloom

API key

claude mcp add --transport http reachloom https://app.reachloom.app/mcp \
  --header "Authorization: Bearer $REACHLOOM_API_KEY"

Share it with a project (optional)

Add --scope project to save the server in .mcp.json. Use a variable so the key is not written into the file:

{
  "mcpServers": {
    "reachloom": {
      "type": "http",
      "url": "https://app.reachloom.app/mcp",
      "headers": { "Authorization": "Bearer ${REACHLOOM_API_KEY}" }
    }
  }
}

Check it

claude mcp list

You should see reachloom as connected.

The Claude app and claude.ai use custom connectors. They connect with OAuth.

  1. Open Settings, then Connectors.
  2. Choose Add custom connector.
  3. Enter the name Reachloom and the server address https://app.reachloom.app/mcp.
  4. Click Add, then Connect. Sign in to Reachloom and click Allow.

Claude on the web needs an address it can reach from the internet. It cannot reach localhost.

Custom connectors are not on every Claude plan. If you do not see the option, check your plan or ask your workspace admin.

OAuth

Add the server to .cursor/mcp.json in your project, or to ~/.cursor/mcp.json for all projects:

{
  "mcpServers": {
    "reachloom": {
      "url": "https://app.reachloom.app/mcp"
    }
  }
}

Cursor shows a sign-in prompt for the server. Click it and allow access in your browser.

API key

Cursor can read environment variables in headers:

{
  "mcpServers": {
    "reachloom": {
      "url": "https://app.reachloom.app/mcp",
      "headers": { "Authorization": "Bearer ${env:REACHLOOM_API_KEY}" }
    }
  }
}

Start Cursor from a shell where REACHLOOM_API_KEY is set, or the variable will be empty.

You can also add the server in Cursor under Settings, then MCP.

OAuth

codex mcp add reachloom --url https://app.reachloom.app/mcp
codex mcp login reachloom

The second command opens your browser. Sign in, choose a workspace, and click Allow.

API key

Add the server to ~/.codex/config.toml, or to .codex/config.toml in a project you trust:

[mcp_servers.reachloom]
url = "https://app.reachloom.app/mcp"
bearer_token_env_var = "REACHLOOM_API_KEY"

Codex reads the key from the REACHLOOM_API_KEY environment variable. The key itself is not stored in the file.

Check it

codex mcp list

VS Code uses GitHub Copilot’s agent mode for MCP.

OAuth

Run this in a terminal. It adds the server to your VS Code user profile:

code --add-mcp '{"name":"reachloom","type":"http","url":"https://app.reachloom.app/mcp"}'

Or open the Command Palette and run MCP: Add Server, choose HTTP, and enter the address. VS Code asks you to sign in when it first connects.

API key

Add this to .vscode/mcp.json. VS Code asks for the key the first time the server starts, and stores it safely:

{
  "inputs": [
    {
      "type": "promptString",
      "id": "reachloom-key",
      "description": "Reachloom API key",
      "password": true
    }
  ],
  "servers": {
    "reachloom": {
      "type": "http",
      "url": "https://app.reachloom.app/mcp",
      "headers": { "Authorization": "Bearer ${input:reachloom-key}" }
    }
  }
}

The top-level key is servers, not mcpServers.

OAuth

gemini mcp add --transport http reachloom https://app.reachloom.app/mcp

Then start Gemini CLI and run:

/mcp auth reachloom

OAuth needs a browser on the same computer. It does not work over plain SSH or in a container with no browser. Use an API key there.

API key

gemini mcp add --transport http reachloom https://app.reachloom.app/mcp \
  --header "Authorization: Bearer $REACHLOOM_API_KEY"

This saves the key in your Gemini settings file. By default the server is saved for the current project. Add --scope user to save it for all projects.

Check it

gemini mcp list

Any agent that supports remote MCP over Streamable HTTP can connect. You need two things:

  • The server address: https://app.reachloom.app/mcp.
  • A way to sign in: OAuth, or the header Authorization: Bearer YOUR_API_KEY.

If your agent supports OAuth, add the server with no header. The agent gets a 401 answer, finds the sign-in page, and opens your browser.

If it only supports headers, add the header with an API key.

If your agent only supports local (stdio) MCP servers, it cannot connect to Reachloom directly. Use a bridge tool that turns a remote server into a local one, such as mcp-remote:

npx -y mcp-remote https://app.reachloom.app/mcp

For the exact details of how the server checks credentials, see Authentication.

Check that it works

After you connect, ask your agent:

Show my Reachloom workspace status and list its campaigns.

It should call get_status and list_campaigns. Then try an example workflow.

If something goes wrong

Navigation

Type to search…

↑↓ navigate↵ selectEsc close