BrowserStack
About
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.
Details
- Author
- MCP-Mirror
- Downloads
- 325
- Categories
- Developer Tools, Automation, Other
Jump to
- Manual app testing on real devices
- Manual web testing on real browsers and devices
- Automated testing with Playwright, Selenium, and more
- Test Observability for debugging CI/CD failures
- Accessibility testing for WCAG and ADA compliance
- Supports local website testing without remote deployment
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
BrowserStackCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Create a BrowserStack account, note your username and access key, and ensure Node.js >=18.0. Install the server via npx -y @browserstack/mcp-server@latest and configure it in your MCP client’s JSON file (VSCode, Cursor, or Claude Desktop) by setting BROWSERSTACK_USERNAME and BROWSERSTACK_ACCESS_KEY environment variables. Alternatively, install via Smithery for Claude Desktop. Then use prompts like “open my app on a iPhone 15 Pro Max” or “run my test suite on BrowserStack infra.”
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"browserstack": {
"browserstack_mcp-server": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@browserstack/mcp-server",
"--client",
"claude"
]
}
}
}
}
McpServers
{
"browserstack_mcp-server": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@browserstack/mcp-server",
"--client",
"claude"
]
}
}
- Create and manage test cases— Add, update, list, and bulk-generate test cases within Test Management projects usingcreateTestCase,listTestCases, orcreateTestCasesFromFile.
- Run manual app and browser tests on real devices— Start live testing sessions on specific device/OS/browser combinations viarunAppLiveSessionandrunBrowserLiveSession.
- Execute and debug automated test suites— Set up SDK-based test runs, fetch failure logs, and retrieve AI root cause analysis withsetupBrowserStackAutomateTests,getFailureLogs, andfetchRCA.
- Scan for accessibility issues— Run WCAG compliance scans on a URL and retrieve flagged issues usingstartAccessibilityScanandfetchAccessibilityIssues.
- Integrate Percy visual testing— Add visual snapshot commands, run Percy builds, and review detected visual changes withaddPercySnapshotCommands,runPercyScan, andfetchPercyChanges.
Manage test cases, execute manual or automated tests, debug issues, and even fix code—directly within tools like Cursor, Claude, or any MCP-enabled client, using plain English.
Easily connect the BrowserStack Test Platform to your favourite AI tools, such as IDEs, LLMs, or agentic workflows.
Manage, execute, debug tests, and even fix code using plain English prompts.
Stay in flow—keep all project context in one place and trigger actions directly from your IDE or LLM.
Click on the buttons below to install MCP in your respective IDE:
Note : Ensure you are using Node version >=18.0
- Check your node version usingnode --version. Recommended version:v22.15.0(LTS)
- To Upgrade Node :
-
- On macOS(Homebrew) - brew update && brew upgrade node or if using (nvm) - nvm install 22.15.0 && nvm use 22.15.0 && nvm alias default 22.15.0
- On Windows(nvm-windows) : nvm install 22.15.0 && nvm use 22.15.0
Test mobile apps on real devices across the latest OS versions. Reproduce bugs and debug crashes without setup hassles. Below are some sample prompts to use your mobile apps on BrowserStack's extensive cloud of real devices
# Open app on specific device "open my app on a iPhone 15 Pro Max" # Debug app crashes "My app crashed on Android 14 device, can you help me debug?"
- Unlike emulators, test your app's real-world performance on actual devices. With advancedApp-Profiling features, you can debug crashes and performance issues in real-time.
- Access all major devices and OS versions from ourdevice grid, We have strict SLAs to provision our global datacenters with newly released devices onlaunch day.
Similar to the app testing, you can use the following prompts to test yourwebsiteson BrowserStack's extensive cloud of real browsers and devices. Don't have Edge browser installed on your machine ? We've got you covered!
# Test your websites "open my website hosted on localhost:3001 on Edge" "open browserstack.com on latest version of Chrome"
- Test websites across different browsers and devices. We supportevery major browseracross every major OS.
- Seamlessly test websites hosted locally on your machine, no need to deploy to a remote server!
🧪 Automated Testing (Playwright, Selenium, A11y and more..)
Auto-analyze, diagnose, and even fix broken test scripts right in your IDE or LLM. Instantly fetch logs, identify root causes, and apply context-aware fixes. No more debugging loops. Below are few example prompts to run/debug/fix your automated tests on BrowserStack'sTest Platform.
Note:When fetching Root Cause Analysis (RCA) for a test, the server returns the suggested fix as a proposal only. It never applies code changes automatically — your assistant must present the suggestion and wait for your explicit approval before editing any files.
#Port test suite to BrowserStack "Setup test suite to run on BrowserStack infra" #Run tests on BrowserStack “Run my tests on BrowserStack” #AI powered debugging of test failures "My App Automate tests have failed, can you help me fix the new failures?"
- Fix test failures reported by your CI/CD pipeline by utilising our industry leadingTest Observabilityfeatures. Find more infohere.
- Run tests written in Jest, Playwright, Selenium, and more on BrowserStack'sTest Platform
Catch accessibility issues early with automated, local a11y scans. Get one-click, AI-suggested fixes. No docs hunting, no CI surprises. Ensure WCAG and ADA compliance with our Accessibility Testing tool
#Scan accessibility issues while development "Scan & help fix accessibility issues for my website running locally on localhost:3000" #Scan accessibility issues on production site “Run accessibility scan & identify issues on my website - www.bstackdemo.com”
Create and manage test cases, create test plans and trigger test runs using natural language. Below are a few example prompts to utilise capabilities of BrowserStack'sTest Managementwith MCP server.
# Create project & folder structure "create new Test management project named My Demo Project with two sub folders - Login & Checkout" # Add test cases "add invalid login test case in Test Management project named My Demo Project" # List added test cases "list high priority Login test cases from Test Management project - My Demo Project" # Create test run "create a test run for Login tests from Test Management project - My Demo Project" # Update test results "update test results as passed for Login tests test run from My Demo Project"
Generate test cases from PRDs, convert manual tests to low-code automation, and auto-heal flaky scripts powered by BrowserStack’s AI agents, seamlessly integrated into your workflow. Below are few example prompts to access Browserstack AI agents
#Test case generator agent "With Browserstack AI, create relevant test cases for my PRD located at /usr/file/location" #Low code authoring agent “With Browserstack AI, automate my manual test case X, added in Test Management” #Self healing agent “Help fix flaky tests in my test script with Browserstack AI self healing”
Note : Ensure you are using Node version >=18.0
- Check your node version usingnode --version. Recommended version:v22.15.0(LTS)
Click on the buttons below to install MCP in your respective IDE:
-
Sign up forBrowserStackif you don't have an account already.
ℹ️ If you have an open-source project, we'll be able to provide you with afree plan.
Once you have an account (and purchased appropriate plan), note down yourusernameandaccess_keyfromAccount Settings.
Note : Ensure you are using Node version >=18.0
- Check your node version usingnode --version. Recommended version:v22.15.0(LTS)
-
VSCode (Copilot - Agent Mode):.vscode/mcp.json:
-
Locate or Create the Configuration File: In the root directory of your project, look for a folder named .vscode. This folder is usually hidden so you will need to find it as mentioned in the expand.
If this folder doesn't exist, create it.
Inside the .vscode folder, create a new file named mcp.json
Add the Configuration: Open the mcp.json file and then add the following JSON content.
Replace the username and <access_key> with your BrowserStack credentials.
{ "servers": { "browserstack": { "command": "npx", "args": ["-y", "@browserstack/mcp-server@latest"], "env": { "BROWSERSTACK_USERNAME": "<username>", "BROWSERSTACK_ACCESS_KEY": "<access_key>" } } } }
- In VSCode, make sure to click onStartbutton in the MCP Server to start the server.
Alternate way to setup MCP on VSCode Copilot
1.Click on the gear icon to Select Tools
{ "mcpServers": { "browserstack": { "command": "npx", "args": ["-y", "@browserstack/mcp-server@latest"], "env": { "BROWSERSTACK_USERNAME": "<username>", "BROWSERSTACK_ACCESS_KEY": "<access_key>" } } } }
- Claude Desktop:~/claude_desktop_config.json:
{ "mcpServers": { "browserstack": { "command": "npx", "args": ["-y", "@browserstack/mcp-server@latest"], "env": { "BROWSERSTACK_USERNAME": "<username>", "BROWSERSTACK_ACCESS_KEY": "<access_key>" } } } }
Click the “MCP Servers” icon in the navigation bar Select the “Installed” tab. Click the “Configure MCP Servers” button at the bottom of the pane.
{ "mcpServers": { "browserstack": { "command": "npx", "args": ["-y", "@browserstack/mcp-server@latest"], "env": { "BROWSERSTACK_USERNAME": "<username>", "BROWSERSTACK_ACCESS_KEY": "<access_key>" } } } }
Remote MCP note:Tools marked(not available in Remote MCP)rely on local file/process state and are disabled in the multi-tenantRemote MCP Server. They are available in the local (npx) setup.
- createProjectOrFolder— Create a Test Management project and/or folders to organize test cases. Returns with Folder ID, Project ID and Test Management Link to access the TM Project Dashboard.Prompt example
Create a new Test Management project named 'Shopping App' with two folders - Login and Checkout
- createTestCase— Add a manual test case under a specific project/folder (uses project identifier like PR-xxxxx and a folder ID).Prompt example
Add a test case named 'Invalid Login Scenario' to the Login folder in the 'Shopping App' project with PR-53617, Folder ID: 117869
- updateTestCase— Update an existing test case. Any subset of fields may be changed (name, priority, status, steps, tags, etc.); only supplied fields are modified.Prompt example
Update test case TC-482 in the 'Shopping App' project and set its priority to high
- listTestCases— List test cases for a project, optionally scoped to a folder (supports filters like case_type, priority, and pagination).Prompt example
List all high-priority test cases in the 'Shopping App' project with project_identifier: PR-59457
- listFolders— List folders in a Test Management project (returns each folder's id, name, case counts, and sub-folder counts). Pass a parent_id to list sub-folders.Prompt example
List all folders in the 'Shopping App' project with project_identifier: PR-59457
- listTestCaseTemplates— List test-case templates with their numeric template_id, for use withcreateTestCaseto apply a custom template.Prompt example
List the available test case templates in the 'Shopping App' project
- createTestRun— Create a test run (suite) for selected test cases in a project.Prompt example
Create a test run for the Login folder in the 'Shopping App' project and name it 'Release v1.0 Login Flow'
- listTestRuns— List test runs for a project (filter by dates, assignee, state).Prompt example
List all test runs from the 'Shopping App' project that were executed last week and are currently marked in-progress
- updateTestRun— Update a test run's name/state and/or add test cases to it.Prompt example
Update test run ID 1043 in the 'Shopping App' project and mark it as complete with the note 'Regression cycle done'
- addTestResult— Add a manual execution result (passed/failed/blocked/skipped) for a test case within a run.Prompt example
Mark the test case 'Invalid Login Scenario' as passed in test run ID 1043 of the 'Shopping App' project
- createTestCasesFromFile— Generate test cases in bulk from an uploaded file using the Test Case Generator AI Agent.(not available in Remote MCP)Prompt example
Upload test cases from '/Users/xyz/testcases.pdf' to the 'Shopping App' project in Test Management
- listTestPlans— List test plans (TP-) in a project, with name, status, dates, and active/closed run counts. Supports pagination.Prompt example
List all test plans in the 'Shopping App' project with project_identifier: PR-59457
- getTestPlan— Fetch a test plan by identifier (TP-) with its metadata, linked test runs, total test-case count, and status summary.Prompt example
Get the details of test plan TP-120 in the 'Shopping App' project
- listSubTestPlans— List sub-test-plans (STP-) under a parent test plan (TP-). Supports pagination.Prompt example
List sub-test-plans under test plan TP-120 in the 'Shopping App' project
- getSubTestPlan— Fetch a sub-test-plan (STP-) under a parent plan, with its metadata and linked test runs.Prompt example*
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.


