| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Comprehensive Test Platform
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:
.
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”Click on the buttons below to install MCP in your respective IDE:
Create a BrowserStack Account
Sign up for BrowserStack if you don't have an account already.
ℹ️ If you have an open-source project, we'll be able to provide you with a free plan.
Once you have an account (and purchased appropriate plan), note down your username and access_key from Account Settings.
Install the MCP Server
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>"
}
}
}
}1.Click on the gear icon to Select Tools
2. A tool menu would appear at the top-centre, scroll down on the menu at the top and then Click on Add MCP Server 3. Select NPM package option (Install fron an NPM package) - 3rd in the list 4. Enter NPM Package Name (@browserstack/mcp-server) 5. Enter browserstack user name and access key{
"mcpServers": {
"browserstack": {
"command": "npx",
"args": ["-y", "@browserstack/mcp-server@latest"],
"env": {
"BROWSERSTACK_USERNAME": "<username>",
"BROWSERSTACK_ACCESS_KEY": "<access_key>"
}
}
}
}{
"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 44 tools.
Remote MCP note: Tools marked (not available in Remote MCP) rely on local file/process state and are disabled in the multi-tenant Remote MCP Server. They are available in the local (npx) setup.
Create a new Test Management project named 'Shopping App' with two folders - Login and Checkout
Add a test case named 'Invalid Login Scenario' to the Login folder in the 'Shopping App' project with PR-53617, Folder ID: 117869
Update test case TC-482 in the 'Shopping App' project and set its priority to high
List all high-priority test cases in the 'Shopping App' project with project_identifier: PR-59457
List all folders in the 'Shopping App' project with project_identifier: PR-59457
List the available test case templates in the 'Shopping App' project
Create a test run for the Login folder in the 'Shopping App' project and name it 'Release v1.0 Login Flow'
List all test runs from the 'Shopping App' project that were executed last week and are currently marked in-progress
Update test run ID 1043 in the 'Shopping App' project and mark it as complete with the note 'Regression cycle done'
Mark the test case 'Invalid Login Scenario' as passed in test run ID 1043 of the 'Shopping App' project
Upload test cases from '/Users/xyz/testcases.pdf' to the 'Shopping App' project in Test Management
List all test plans in the 'Shopping App' project with project_identifier: PR-59457
Get the details of test plan TP-120 in the 'Shopping App' project
List sub-test-plans under test plan TP-120 in the 'Shopping App' project
Get sub-test-plan STP-45 under test plan TP-120 in the 'Shopping App' project
Run my Selenium-JUnit5 tests written in Java on Chrome and Firefox.
Get screenshots from Automate session ID abc123xyz for my desktop test run
Get the error logs from the session ID: 21a864032a7459f1e7634222249b316759d6827f, Build ID: dt7ung4wmjittzff8kksrjadjax9gzvbscoyf9qn of App Automate test session
Get the build insights for build UUID <your-build-uuid> on BrowserStack
Open my app on iPhone 15 Pro Max with iOS 17. App path is /Users/xyz/app.ipa
Open www.google.com on the latest version of Microsoft Edge on Windows 11
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.apk
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'
Set up my Appium test suite to run on BrowserStack App Automate
What WCAG guidelines apply to form field error messages on mobile web?
Run accessibility scan for "www.example.com"
Create a basic-auth accessibility config named 'site-login' for https://www.example.com with username testuser and password <password>
Get accessibility auth config with ID <config-id>
Fetch the accessibility issues for scan ID <scan-id> and scan run ID <scan-run-id>
Integrate Percy for this project
Expand Percy coverage for this project
Add Percy snapshot commands to my Cypress test files
List the test files under my ./tests directory
Run this Percy build
Summarize the visual changes Percy detected in my latest build
Approve the latest Percy build
Upload PRD from /Users/xyz/Desktop/login-flow.pdf and use BrowserStack AI to generate test cases
Convert the manual test case 'Add to Cart' in the 'Shopping App' project into LCA steps
Fetch and fix flaky test selectors in Automate session ID session_9482 using MCP
Prepare a self-healing plan from the self-healed selectors for my build
Fetch the root cause analysis for failed test IDs 101 and 102 on BrowserStack
Get the build ID for build 'nightly-regression' in project 'Checkout Flow'
Get the latest build ID for build 'nightly-regression' in project 'Checkout Flow'
List the failed test IDs from build UUID <your-build-uuid> on BrowserStack
Remote MCP comes with all the functionalities of an MCP server without the hassles of complex setup or local installation.
✅ Works seamlessly in enterprise networks without worrying about firewalls or binaries or where local installation is not allowed.
✅ Secure OAuth integration – no password sharing or manual credential handling.
On 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
To setup Remote BrowserStack MCP instead of local BrowserStack MCP you can add the following JSON content :
Step 1.Click on the gear icon to Select Tools
Step 2. A tool menu would appear at the top-centre, scroll down on the menu at the top and then Click on Add MCP Server
Step 3. Click on HTTP option
Step 4. Paste Remote MCP Server URL : https://mcp.browserstack.com/mcp
Step 5. Give server id as : browserstack
Step 6. In VSCode Click on start MCP Server and then click on "Allow"
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.
| Back | FazBrowse Home | New Git URL |