# sendblue-browser-use MCP server

> Provides a stealth-patched Chromium daemon that allows AI agents to navigate websites, take screenshots, and execute JavaScript via an HTTP API or CDP.

- Repository: https://github.com/sendblue-api/sendblue-browser-use
- Page: https://hostedmcp.org/servers/sendblue-api/sendblue-browser-use
- Transport: stdio
- Stars: 3
- License: MIT
- Latest version: 0.2.3

## Install

### Claude Code

```sh
claude mcp add --env 'BROWSER_USE_API_KEY=<YOUR_BROWSER_USE_API_KEY>' sendblue-browser-use -- npx -y sendblue-browser-mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "sendblue-browser-use": {
      "command": "npx",
      "args": [
        "-y",
        "sendblue-browser-mcp"
      ],
      "env": {
        "BROWSER_USE_API_KEY": "<YOUR_BROWSER_USE_API_KEY>"
      }
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "sendblue-browser-use": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "sendblue-browser-mcp"
      ],
      "env": {
        "BROWSER_USE_API_KEY": "<YOUR_BROWSER_USE_API_KEY>"
      }
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"sendblue-browser-use","type":"stdio","command":"npx","args":["-y","sendblue-browser-mcp"],"env":{"BROWSER_USE_API_KEY":"<YOUR_BROWSER_USE_API_KEY>"}}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "sendblue-browser-use": {
      "command": "npx",
      "args": [
        "-y",
        "sendblue-browser-mcp"
      ],
      "env": {
        "BROWSER_USE_API_KEY": "<YOUR_BROWSER_USE_API_KEY>"
      }
    }
  }
}
```

### Codex

```sh
codex mcp add sendblue-browser-use --env 'BROWSER_USE_API_KEY=<YOUR_BROWSER_USE_API_KEY>' -- npx -y sendblue-browser-mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.sendblue-browser-use]
command = "npx"
args = ["-y", "sendblue-browser-mcp"]

[mcp_servers.sendblue-browser-use.env]
BROWSER_USE_API_KEY = "<YOUR_BROWSER_USE_API_KEY>"
```

### Gemini CLI

```sh
gemini mcp add -s user -e 'BROWSER_USE_API_KEY=<YOUR_BROWSER_USE_API_KEY>' sendblue-browser-use npx -- -y sendblue-browser-mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "sendblue-browser-use": {
      "command": "npx",
      "args": [
        "-y",
        "sendblue-browser-mcp"
      ],
      "env": {
        "BROWSER_USE_API_KEY": "<YOUR_BROWSER_USE_API_KEY>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `BROWSER_USE_API_KEY` | yes | yes | Bearer token the sendblue-browser-use daemon was started with. |
| `BROWSER_USE_URL` | no | no | Base URL of the sendblue-browser-use daemon. |

## FAQ

### Can I reuse logged-in sessions?

Yes, you can create named persistent profiles so that cookies and session data are saved and reused in subsequent runs.

### How does the browser avoid detection?

It uses a stealth-patched Chromium via patchright that hides navigator.webdriver and removes CDP detection vectors to pass checks like Cloudflare Turnstile.

### How do I clear a session's data without deleting the session itself?

You can use the purge endpoint to clear cookies and active-page storage while keeping the session ID intact.
