> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://platform.bctrl.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://platform.bctrl.ai/_mcp/server.

# Connect Windsurf to BCTRL MCP

> Add the BCTRL MCP server to Windsurf (Cascade) for hosted cloud-browser automation.

Add BCTRL to `~/.codeium/windsurf/mcp_config.json`. Remote servers use `serverUrl`:

```json
{
  "mcpServers": {
    "bctrl": {
      "serverUrl": "https://api.bctrl.ai/mcp"
    }
  }
}
```

Edit it from **Windsurf Settings → Cascade → MCP Servers → View raw config**, then click **Refresh**.

If Windsurf does not prompt you to authenticate the custom server, bridge through `mcp-remote`, which runs the OAuth approval locally and forwards to the endpoint:

```json
{
  "mcpServers": {
    "bctrl": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://api.bctrl.ai/mcp"]
    }
  }
}
```

See [Troubleshooting](/mcp/troubleshooting).