# BrowserStack MCP server

> Run manual and automated tests, accessibility scans, load tests and test management on BrowserStack from your AI assistant.

- Listing: https://mcp.tc/i/browserstack
- Connect: use the server's own URL `https://mcp.browserstack.com/mcp` (OAuth sign-in at the server); clients connect to it directly. The listing link is a page, not an MCP endpoint.
- Type: remote (Streamable HTTP)
- Auth: OAuth sign-in
- Category: [Developer Tools](https://mcp.tc/c/developer-tools)
- Vendor: BrowserStack
- Repository: <https://github.com/browserstack/mcp-server>
- Package: npm `@browserstack/mcp-server`

## About

Connects to the BrowserStack Test Platform so an assistant can open web and mobile apps on real browsers and devices, run and debug automated tests, scan for accessibility issues, manage test cases and runs, and run load tests. It can also fetch root cause analysis for failed tests and returns suggested fixes as proposals only.

Runs as a hosted Streamable HTTP endpoint at mcp.browserstack.com, or locally with the npm package @browserstack/mcp-server (Node 20.9 or newer). The hosted server supports secure OAuth sign-in. The local package uses a BrowserStack username and access key.

## What it can do

- Open websites and mobile apps on real browsers and devices
- Run automated tests (Playwright, Selenium, Jest) on BrowserStack
- Fetch logs and root cause analysis for failed tests
- Scan local or production sites for accessibility issues
- Create test projects, test cases, test runs and update results
- Start, monitor and compare load test runs and check VU-hours
- Generate test cases from PRDs with BrowserStack AI agents

## Example prompts

- "Open my website on localhost:3001 on the latest Edge"
- "My App Automate tests failed, help me fix the new failures"
- "Scan www.bstackdemo.com for accessibility issues"
- "Run checkout-api load test for 5 minutes with 100 virtual users"

## Install

### Claude Code

1. Run this in a terminal, in your project folder:

```bash
claude mcp add --transport http browserstack https://mcp.browserstack.com/mcp
```

2. Start Claude Code, type `/mcp`, pick **browserstack** and choose **Authenticate**. A browser window opens for the BrowserStack sign-in.

Add `--scope user` to make it available in every project, not just this one.

### Claude Desktop

1. Open **Customize → Connectors**, click **+ Add**, then **Add custom connector**.

2. Name it **BrowserStack** and paste this URL:

```url
https://mcp.browserstack.com/mcp
```

3. Click **Add**, then **Connect**, and sign in when BrowserStack asks.

Claude Desktop’s JSON config file only starts local servers. Remote servers go through Connectors, and connectors you add on claude.ai show up here too.

### claude.ai

1. Open the connector form on claude.ai. This button fills in the name and URL for you:

[Add to claude.ai](<https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=BrowserStack&connectorUrl=https%3A%2F%2Fmcp.browserstack.com%2Fmcp>) (opens connector settings)

2. Check that the URL reads `https://mcp.browserstack.com/mcp` and click **Add**.

3. Click **Connect** and sign in when BrowserStack asks.

Free plans allow one custom connector. On Team and Enterprise plans an owner adds it under **Organization settings → Connectors**.

### ChatGPT

1. On chatgpt.com, go to **Plugins**, select **+**, then **Add custom MCP server**.

2. Enter a name for the server.

3. Under **Connection**, paste `https://mcp.browserstack.com/mcp` as the server URL, then for authentication choose **OAuth**. ChatGPT sends you to BrowserStack to sign in.

4. Check **I understand and want to continue**, then select **Create as a plugin**.

Whether you can add a custom MCP server depends on your ChatGPT plan and your workspace permissions (in Business workspaces, admins and owners can).

### Cursor

[Add to Cursor](<https://cursor.com/install-mcp?name=browserstack&config=eyJ1cmwiOiJodHRwczovL21jcC5icm93c2Vyc3RhY2suY29tL21jcCJ9>) (opens Cursor)

Or add it by hand to `~/.cursor/mcp.json` (all projects) or `.cursor/mcp.json` (this project):

`mcp.json`:

```json
{
  "mcpServers": {
    "browserstack": {
      "url": "https://mcp.browserstack.com/mcp"
    }
  }
}
```

Cursor shows **Needs authentication** next to the server. Click the button beside it to sign in.

### VS Code

[Install in VS Code](<https://vscode.dev/redirect/mcp/install?name=browserstack&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.browserstack.com%2Fmcp%22%7D>) (opens VS Code)

Or from a terminal:

```bash
code --add-mcp '{"name":"browserstack","type":"http","url":"https://mcp.browserstack.com/mcp"}'
```

Or commit it to the repo in `.vscode/mcp.json`:

`.vscode/mcp.json`:

```json
{
  "servers": {
    "browserstack": {
      "type": "http",
      "url": "https://mcp.browserstack.com/mcp"
    }
  }
}
```

VS Code asks you to sign in the first time the server starts.

### Devin Desktop

1. Add it to `~/.config/devin/mcp_config.json` (macOS and Linux) or `%APPDATA%\devin\mcp_config.json` (Windows):

`mcp_config.json`:

```json
{
  "mcpServers": {
    "browserstack": {
      "serverUrl": "https://mcp.browserstack.com/mcp"
    }
  }
}
```

2. Refresh the MCP server list in Cascade and sign in when asked.

Devin Desktop is the new name for Windsurf. It reads `serverUrl` (or `url`) for remote servers.

### Codex

```bash
codex mcp add browserstack --url https://mcp.browserstack.com/mcp
codex mcp login browserstack
```

Or edit `~/.codex/config.toml` directly:

`config.toml`:

```toml
[mcp_servers.browserstack]
url = "https://mcp.browserstack.com/mcp"
```

### Gemini CLI

```bash
gemini mcp add --transport http browserstack https://mcp.browserstack.com/mcp
```

Then, inside Gemini CLI, run `/mcp auth browserstack` to sign in.

This adds it to the current project. Add `-s user` to use it everywhere.

### Any client

Most clients accept this shape. Some name the URL field differently: `serverUrl` in Devin Desktop, `httpUrl` in Gemini CLI’s settings file.

```json
{
  "mcpServers": {
    "browserstack": {
      "type": "http",
      "url": "https://mcp.browserstack.com/mcp"
    }
  }
}
```

Zed puts servers under `context_servers` in its settings. Cline needs `"type": "streamableHttp"`, or it assumes SSE.

Client only starts local servers? Bridge it with `npx -y mcp-remote https://mcp.browserstack.com/mcp`.

## Details

- Server version: 2.2.3
- Last checked: 2026-11-18 (reachable, asks for credentials)
- Listed: 2026-10-18
- Updated: 2026-10-18

---
Source: https://mcp.tc/i/browserstack (mcp.tc is an independent directory, not affiliated with this server's publisher). Corrections: https://mcp.tc/report
