BrowserStack's Official MCP Server
SaferSkills independently audited Mcp Server (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
<div align="center"> <img src="assets/browserstack-logo.png" alt="BrowserStack Logo" height="100"> <img src="assets/mcp-logo.png" alt="MCP Server Logo" width="100"> </div>
<div align="center"> <a href="https://www.npmjs.com/package/@browserstack/mcp-server"> <img alt="NPM Version" src="https://img.shields.io/npm/v/%40browserstack%2Fmcp-server"> </a>
</div>
<p align="center">Comprehensive Test Platform</p>
<div align="center"> <a href="https://glama.ai/mcp/servers/@browserstack/mcp-server"> <img width="380" height="200" src="https://glama.ai/mcp/servers/@browserstack/mcp-server/badge" alt="BrowserStack server MCP server" /> </a> </div>
<div> <a href="https://www.youtube.com/watch?v=sLA7K9v7qZc&list=PL1vH6dHT3H7oy8w9CY6L_nxGxCc89VXMX&index=5"> <img src="assets/thumbnail.webp"> </a> </div>
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. #### Test from anywhere: Easily connect the BrowserStack Test Platform to your favourite AI tools, such as IDEs, LLMs, or agentic workflows. #### Test with natural language: Manage, execute, debug tests, and even fix code using plain English prompts. #### Reduced context switching: 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:
<a href="http://mcp.browserstack.com/one-click-setup?client=vscode"><img src="assets/one-click-vs-code.png" alt="Install in VS Code" width="160" height="80"></a> <a href="http://mcp.browserstack.com/one-click-setup?client=cursor"><img src="assets/one-click-cursor.png" alt="Install in Cursor" width="150" height="70"></a>
#### Note : Ensure you are using Node version >= 18.0
node --version. Recommended version: v22.15.0 (LTS)(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(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?"Similar to the app testing, you can use the following prompts to test your websites on 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"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's Test 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?"
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's Test Management with 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
node --version. Recommended version: v22.15.0 (LTS)Click on the buttons below to install MCP in your respective IDE:
<a href="http://mcp.browserstack.com/one-click-setup?client=vscode"><img src="assets/one-click-vs-code.png" alt="Install in VS Code" width="160" height="80"></a> <a href="http://mcp.browserstack.com/one-click-setup?client=cursor"><img src="assets/one-click-cursor.png" alt="Install in Cursor" width="150" height="70"></a>
username and access_key from Account Settings.18.0node --version. Recommended version: v22.15.0 (LTS).vscode/mcp.json: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.
{
"servers": {
"browserstack": {
"command": "npx",
"args": ["-y", "@browserstack/mcp-server@latest"],
"env": {
"BROWSERSTACK_USERNAME": "<username>",
"BROWSERSTACK_ACCESS_KEY": "<access_key>"
}
}
}
}Start button in the MCP Server to start the server.Start MCP Server
#### ** Alternate way to setup MCP on VSCode Copilot
1.Click on the gear icon to Select Tools <div align="center"> <img src="assets/select_tools.png" alt="Select Tools" height="100"> </div>
<div align="center"> <img src="assets/add_mcp_server.png" alt="Add MCP Server" height="100"> </div>
<div align="center"> <img src="assets/select_npm_package.png" alt="Select NPM Package" height="100"> </div>
<div align="center"> <img src="assets/enter_npm_package.png" alt="Enter NPM Package" height="100"> </div>
.cursor/mcp.json: {
"mcpServers": {
"browserstack": {
"command": "npx",
"args": ["-y", "@browserstack/mcp-server@latest"],
"env": {
"BROWSERSTACK_USERNAME": "<username>",
"BROWSERSTACK_ACCESS_KEY": "<access_key>"
}
}
}
}~/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>"
}
}
}
}As of now we support 20 tools.
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 CheckoutcreateTestCase — 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: 117869listTestCases — List test cases for a project (supports filters like priority, status, tags).Prompt example
List all high-priority test cases in the 'Shopping App' project with project_identifier: PR-59457createTestRun — 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-progressupdateTestRun — Partially update a test run (status, tags, notes, associated test cases).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' projectcreateTestCasesFromFile — Bulk-create test cases from an uploaded file (e.g., PDF).Prompt example
Upload test cases from '/Users/xyz/testcases.pdf' to the 'Shopping App' project in Test ManagementsetupBrowserStackAutomateTests — Integrate BrowserStack SDK and run web tests on BrowserStack (optionally enable Percy).Prompt example
Run my Selenium-JUnit5 tests written in Java on Chrome and Firefox. Enable Percy for visual testing.fetchAutomationScreenshots — Fetch screenshots captured during a given Automate/App Automate session.Prompt example
Get screenshots from Automate session ID abc123xyz for my desktop test rungetFailureLogs — Retrieve error logs for Automate/App Automate sessions (optionally by Build ID for App Automate).Prompt example
Get the error logs from the session ID: 21a864032a7459f1e7634222249b316759d6827f, Build ID: dt7ung4wmjittzff8kksrjadjax9gzvbscoyf9qn of App Automate test sessionrunAppLiveSession — Start a manual app testing session on a real device in the cloud.Prompt example
Open my app on iPhone 15 Pro Max with iOS 17. App path is /Users/xyz/app.iparunBrowserLiveSession — Start a Live session for website testing on desktop or mobile browsers.Prompt example
Open www.google.com on the latest version of Microsoft Edge on Windows 11takeAppScreenshot — Launch the app on a specified device and captures a quick verification screenshot. This tool is just to verify whether your app has been launched.Prompt example
Take a screenshot of my app on Google Pixel 6 with Android 12 while testing on App Automate. App file path: /Users/xyz/app-debug.apkrunAppTestsOnBrowserStack — Run automated mobile tests (Espresso/XCUITest, etc.) on real devices.Prompt example
Run Espresso tests from /tests/checkout.zip on Galaxy S21 and Pixel 6 with Android 12. App path is /apps/beta-release.apk under project 'Checkout Flow'accessibilityExpert — Ask A11y Expert (WCAG 2.0/2.1/2.2, mobile/web usability, best practices).Prompt example
What WCAG guidelines apply to form field error messages on mobile web?startAccessibilityScan — Start a web accessibility scan and return the result link.Prompt example
Run accessibility scan for "www.example.com"fetchSelfHealedSelectors — Retrieve AI self-healed selectors to fix flaky tests due to DOM changes.Prompt example
Fetch and fix flaky test selectors in Automate session ID session_9482 using MCPcreateLCASteps — Generate Low Code Automation steps from a manual test case in Test Management.Prompt example
Convert the manual test case 'Add to Cart' in the 'Shopping App' project into LCA stepsuploadProductRequirementFile — Upload a PRD/screenshot/PDF and get a file mapping ID (used with createTestCasesFromFile).Prompt example
Upload PRD from /Users/xyz/Desktop/login-flow.pdf and use BrowserStack AI to generate test casesRemote MCP comes with all the functionalities of an MCP server without the hassles of complex setup or local installation.
.vscode/mcp.json:<div align="center"> <img src="assets/remotemcp_json_file.png" alt="Remote MCP JSON file" height="300" width="300"> </div>
<div align="center"> <img src="assets/select_tools.png" alt="Select Tools" height="300" width="300"> </div>
<div align="center"> <img src="assets/add_mcp_server.png" alt="Add MCP Server" height="300" width="300"> </div>
<div align="center"> <img src="assets/http_option.png" alt="HTTP Option" height="300" width="300"> </div>
<div align="center"> <img src="assets/server_url.png" alt="Remote MCP Server URL" height="300" width="300"> </div>
<div align="center"> <img src="assets/server_id.png" alt="Remote MCP Server ID" height="300" width="300"> </div>
<div align="center"> <img src="assets/authentication1.png" alt="authentication1" height="300" width="300"> </div>
<div align="center"> <img src="assets/authentication2.png" alt="authentication2" height="300" width="300"> </div>
<div align="center"> <img src="assets/signin_success.png" alt="Sign_in_success" height="300" width="300"> </div>
We welcome contributions! Please open an issue to discuss any changes you'd like to make. 👉 Click here to view our Contributing Guidelines
For support, please:
Stay tuned for exciting updates! Have any suggestions? Please open an issue to discuss.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.