The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the MCP Server listing page.
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:
Note: The hosted Remote MCP server (
mcp.browserstack.com) is now fully stateless over Streamable HTTP — any Streamable-HTTP client (Claude, Cursor, VS Code, ChatGPT) connects with no configuration change.
18.0node --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
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!
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.
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
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.
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
18.0node --version. Recommended version: v22.15.0 (LTS)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.
18.0node --version. Recommended version: v22.15.0 (LTS)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.
Start button in the MCP Server to start the server.

1.Click on the gear icon to Select Tools
.cursor/mcp.json:~/claude_desktop_config.json: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.
As of now we support 45 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.
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 examplecreateTestCase — Add a manual test case under a specific project/folder (uses project identifier like PR-xxxxx and a folder ID).
Prompt exampleupdateTestCase — Update an existing test case. Any subset of fields may be changed (name, priority, status, steps, tags, etc.); only supplied fields are modified.
Prompt examplelistTestCases — List test cases for a project, optionally scoped to a folder (supports filters like case_type, priority, and pagination).
Prompt examplelistFolders — 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 examplelistTestCaseTemplates — List test-case templates with their numeric template_id, for use with createTestCase to apply a custom template.
Prompt examplecreateTestRun — Create a test run (suite) for selected test cases in a project.
Prompt examplelistTestRuns — List test runs for a project (filter by dates, assignee, state).
Prompt exampleupdateTestRun — Update a test run's name/state and/or add test cases to it.
Prompt exampleaddTestResult — Add a manual execution result (passed/failed/blocked/skipped) for a test case within a run.
Prompt examplecreateTestCasesFromFile — Generate test cases in bulk from an uploaded file using the Test Case Generator AI Agent. (not available in Remote MCP)
Prompt examplelistTestPlans — List test plans (TP-*) in a project, with name, status, dates, and active/closed run counts. Supports pagination.
Prompt examplegetTestPlan — Fetch a test plan by identifier (TP-*) with its metadata, linked test runs, total test-case count, and status summary.
Prompt examplelistSubTestPlans — List sub-test-plans (STP-) under a parent test plan (TP-). Supports pagination.
Prompt examplegetSubTestPlan — Fetch a sub-test-plan (STP-*) under a parent plan, with its metadata and linked test runs.
Prompt examplesetupBrowserStackAutomateTests — Integrate BrowserStack SDK and run web tests on BrowserStack. For visual testing/Percy, use the dedicated Percy tools.
Prompt examplefetchAutomationScreenshots — Fetch screenshots captured during a given Automate/App Automate session.
Prompt examplelistSessions — List the sessions in an Automate/App Automate build. Each record carries sessionId, name, status, os, osVersion, browser, device, and browserUrl (dashboard link), with optional limit / offset paging and a client-side status filter. Takes the hashed build ID from the dashboard URL — not the observability UUID returned by getBuildId / listBuildId; if you only have that UUID, use hashed_id from fetchBuildInsights when present. Returned sessionId values work with getFailureLogs, fetchAutomationScreenshots, and fetchSelfHealedSelectors.
Prompt examplegetFailureLogs — Retrieve error logs for Automate/App Automate sessions. App Automate log endpoints are build-scoped, so a hashed build ID is required there — pass one if you have it, otherwise it is resolved from the session automatically.
Prompt examplefetchBuildInsights — Fetch insights about a BrowserStack build by combining build details and quality-gate results. Includes hashed_id (the hashed build id listSessions takes) when the build payload reports one.
Prompt examplerunAppLiveSession — Start a manual app testing session on a real device in the cloud.
Prompt examplerunBrowserLiveSession — Start a Live session for website testing on desktop or mobile browsers.
Prompt exampletakeAppScreenshot — Launch the app on a specified device and capture a quick verification screenshot to confirm your app has launched.
Prompt examplerunAppTestsOnBrowserStack — Run pre-built native mobile test suites (Espresso/XCUITest) by direct upload of compiled .apk/.ipa test files.
Prompt examplesetupBrowserStackAppAutomateTests — Set up BrowserStack App Automate SDK integration for Appium-based mobile app testing.
Prompt exampleaccessibilityExpert — Ask the A11y Expert (WCAG 2.0/2.1/2.2, mobile/web usability, best practices).
Prompt examplestartAccessibilityScan — Start a web accessibility scan and retrieve a local CSV report path.
Prompt examplecreateAccessibilityAuthConfig — Create an authentication configuration (form-based or basic) for accessibility scans behind a login.
Prompt examplegetAccessibilityAuthConfig — Retrieve an existing accessibility authentication configuration by ID.
Prompt examplefetchAccessibilityIssues — Fetch accessibility issues from a completed scan, with pagination support.
Prompt examplepercyVisualTestIntegrationAgent — Integrate Percy visual testing into a new project and demonstrate visual change detection with a step-by-step simulation.
Prompt exampleexpandPercyVisualTesting — Set up or expand Percy visual testing coverage for existing projects (Percy Web Standalone and Percy Automate).
Prompt exampleaddPercySnapshotCommands — Add Percy snapshot commands to the specified test files. (not available in Remote MCP)
Prompt examplelistTestFiles — List all test files for a given set of directories. (not available in Remote MCP)
Prompt examplerunPercyScan — Run a Percy visual test scan. (not available in Remote MCP)
Prompt examplefetchPercyChanges — Retrieve and summarize visual changes detected by Percy AI between the latest and previous builds.
Prompt examplemanagePercyBuildApproval — Approve or reject a Percy build.
Prompt exampleuploadProductRequirementFile — Upload a PRD/screenshot/PDF and get a file mapping ID (used with createTestCasesFromFile). (not available in Remote MCP)
Prompt examplecreateLCASteps — Generate Low Code Automation (LCA) steps from a manual test case in Test Management.
Prompt examplefetchSelfHealedSelectors — Retrieve AI self-healed selectors (plus test source) to fix flaky tests caused by DOM changes.
Prompt exampleprepareSelfHealingPlan — Build a self-healing edit plan that bundles locator pairs with test source for your LLM to apply. Does NOT modify files itself.
Prompt examplefetchRCA — Fetch AI Root Cause Analysis for your failed Automate/App-Automate tests (by numeric test ID). Suggests fixes only; never auto-applies.
Prompt examplegetBuildId — Get the BrowserStack build ID for a given project and build name, scoped to your builds.
Prompt examplelistBuildId — Get the latest build ID for a project and build name, across all users (no user filter).
Prompt examplelistTestIds — List test IDs from a BrowserStack Automate build, filtered by status (passed/failed/pending/skipped).
Prompt exampleRemote 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.