BrowserStack
** – 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.
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
Maintainer
Works with
Installation
NPM
npx -y @browserstack/mcp-serverManual Installation
npx -y @browserstack/mcp-serverConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
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
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.
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@latestAdd 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"
}
}
}
}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.
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.
BrowserStack Alternatives — Similar Browser Automation Servers
Looking for alternatives to BrowserStack? Here are other popular browser automation servers you can use with Claude, Cursor, and VS Code.
Chrome DevTools MCP
★ 40.6kAI-powered Chrome automation server with natural language element detection. Control Chrome browser through MCP protocol for testing, debugging, and performance analysis. Features 91% accuracy in element location, works with free AI models, and suppo
UI TARS Desktop
★ 34.9k📇 🏠 - Browser automation capabilities using Puppeteer, both support local and remote browser connection.
Playwright
★ 32.8kA production-ready browser automation server that enables AI assistants to interact with web pages using tools for navigation, element interaction, and data extraction. It features a built-in Inspector UI and robust crash recovery for reliable automa
Page Agent
★ 18.0kJavaScript in-page GUI agent. Control web interfaces with natural language.
Chrome
★ 11.7kAn extension-based MCP server that enables AI assistants to control your browser, leveraging existing sessions and login states for automation and content analysis. It provides over 20 tools for semantic tab search, interactive element manipulation,
LAMDA
★ 7.8kThe most powerful Android RPA agent framework, next generation mobile automation.
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.
Set Up BrowserStack in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
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.