BrowserStack

v1.0.0Browser Automationstable

** – Bring the full power of BrowserStack’s [Test Platform](https://www.browserstack.com/test-platform) to your AI tools, making testing faster and easier for every developer and tester on your team.

accessibilityautomationbrowserstackmcp-serverquality-assurance
Share:
140
Stars
0
Downloads
0
Weekly
0/5

What is BrowserStack?

BrowserStack is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to ** – bring the full power of browserstack’s [test platform](https://www.browserstack.com/test-platform) to your ai tools, making testing faster and easier for every developer and tester on your team.

** – Bring the full power of BrowserStack’s [Test Platform](https://www.browserstack.com/test-platform) to your AI tools, making testing faster and easier for every developer and tester on your team.

This server falls under the Browser Automation category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • MCP protocol support

Use Cases

Automate testing across browsers and devices
Verify accessibility compliance
Run quality assurance tests remotely
browserstack

Maintainer

LicenseAGPL 3.0
Languagetypescript
Versionv1.0.0
UpdatedMay 21, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y @browserstack/mcp-server

Manual Installation

npx -y @browserstack/mcp-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use BrowserStack

The BrowserStack MCP Server brings BrowserStack's cloud testing platform into AI-powered development workflows by exposing 20 tools covering test management, browser and device automation, accessibility scanning, and AI-assisted test generation. It lets AI assistants in Claude Desktop, Cursor, VS Code Copilot, and other MCP clients create test projects, run automated tests across hundreds of browsers and real devices, retrieve error logs, launch live manual testing sessions, and generate test cases from product requirement documents — all through natural language. Teams can accelerate QA cycles by letting AI orchestrate cross-browser test execution without leaving their AI assistant.

Prerequisites

  • Node.js 18.0 or higher (v22.15.0 LTS recommended)
  • A BrowserStack account — sign up at browserstack.com
  • BrowserStack username and access key from Account Settings > Profile Details
  • An MCP-compatible client: Claude Desktop, Cursor, VS Code with GitHub Copilot, or Windsurf
1

Obtain your BrowserStack credentials

Log in to BrowserStack and navigate to Account Settings > Profile Details to find your Username and Access Key. These are required for all API calls the MCP server makes.

2

Test the server works before configuring your client

Run the MCP server directly with npx to verify your Node.js version is compatible and the package downloads correctly.

BROWSERSTACK_USERNAME=your_username BROWSERSTACK_ACCESS_KEY=your_access_key npx -y @browserstack/mcp-server@latest
3

Add the server to Claude Desktop configuration

Edit your claude_desktop_config.json to add the BrowserStack MCP server with your credentials set as environment variables.

{
  "mcpServers": {
    "browserstack": {
      "command": "npx",
      "args": ["-y", "@browserstack/mcp-server@latest"],
      "env": {
        "BROWSERSTACK_USERNAME": "your_username",
        "BROWSERSTACK_ACCESS_KEY": "your_access_key"
      }
    }
  }
}
4

Restart Claude Desktop and verify the tools are available

Fully quit and relaunch Claude Desktop. The BrowserStack tools should appear in the tools list. Try asking Claude to list your BrowserStack projects to confirm connectivity.

5

Configure for VS Code / Cursor (alternative clients)

For VS Code with GitHub Copilot, add the configuration to .vscode/mcp.json in your project. For Cursor, add to .cursor/mcp.json. The JSON structure uses the same env keys.

{
  "servers": {
    "browserstack": {
      "command": "npx",
      "args": ["-y", "@browserstack/mcp-server@latest"],
      "env": {
        "BROWSERSTACK_USERNAME": "your_username",
        "BROWSERSTACK_ACCESS_KEY": "your_access_key"
      }
    }
  }
}

BrowserStack Examples

Client configuration (Claude Desktop)

Complete claude_desktop_config.json entry for the BrowserStack MCP Server using the official npm package.

{
  "mcpServers": {
    "browserstack": {
      "command": "npx",
      "args": ["-y", "@browserstack/mcp-server@latest"],
      "env": {
        "BROWSERSTACK_USERNAME": "your_browserstack_username",
        "BROWSERSTACK_ACCESS_KEY": "your_browserstack_access_key"
      }
    }
  }
}

Prompts to try

Example natural language prompts that leverage BrowserStack's 20 MCP tools.

- "Create a new Test Management project called 'E-Commerce Checkout' with subfolders for Login and Payment flows."
- "Run my Selenium test suite on BrowserStack across Chrome 120, Firefox 121, and Safari 17."
- "Open my app on a real iPhone 15 Pro Max for manual testing."
- "Scan https://example.com for WCAG 2.1 Level AA accessibility issues."
- "Fetch the error logs from my last BrowserStack automation session."
- "Generate test cases from my PRD document for the new user registration feature."

Troubleshooting BrowserStack

Authentication errors: 401 Unauthorized when tools are called

Verify your BROWSERSTACK_USERNAME and BROWSERSTACK_ACCESS_KEY are correct. The username is your BrowserStack account email or username (not your email login), and the access key is found specifically on the Account Settings > Profile Details page, not the API keys page.

npx command not found or Node.js version mismatch

Ensure Node.js 18.0 or higher is installed and that npx is available (`npx --version`). If using nvm, activate the correct Node version with `nvm use 22` before launching your MCP client.

Tools appear but return empty results for test projects or sessions

Ensure your BrowserStack account plan includes the features you are trying to use. Test Management and AI tools may require specific plan tiers. Check your BrowserStack dashboard to confirm you have active sessions and existing test projects to query.

Frequently Asked Questions about BrowserStack

What is BrowserStack?

BrowserStack is a Model Context Protocol (MCP) server that ** – bring the full power of browserstack’s [test platform](https://www.browserstack.com/test-platform) to your ai tools, making testing faster and easier for every developer and tester on your team. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install BrowserStack?

Install via npm with the command: npx -y @browserstack/mcp-server. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).

Which AI clients work with BrowserStack?

BrowserStack works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is BrowserStack free to use?

Yes, BrowserStack is open source and available under the AGPL 3.0 license. You can use it freely in both personal and commercial projects.

Browse More Browser Automation MCP Servers

Explore all browser automation servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "browserstack-mcp-server": { "command": "npx", "args": ["-y", "@browserstack/mcp-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use BrowserStack?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides