Labsco
browserstack logo

BrowserStack

145

from browserstack

Bring the full power of BrowserStack’s Test Platform to your AI tools, making testing faster and easier for every developer and tester on your team.

🔥🔥🔥🔥✓ VerifiedPaid serviceNeeds API keys

BrowserStack MCP Server

BrowserStack Logo MCP Server Logo

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.

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.

🧾 Test Management

  1. 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
  1. 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
  1. listTestCases — 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-59457
  1. 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'
  1. 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
  1. updateTestRun — 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'
  1. 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
  1. createTestCasesFromFile — 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 Management

🔍 Observability

  1. getFailureLogs — 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 session

📱 App Live

  1. runAppLiveSession — 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.ipa

💻 Live

  1. runBrowserLiveSession — 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 11

📲 App Automate

  1. takeAppScreenshot — 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.apk
  1. runAppTestsOnBrowserStack — 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'

♿ Accessibility

  1. 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?
  1. startAccessibilityScan — Start a web accessibility scan and return the result link. Prompt example
Run accessibility scan for "www.example.com"

🤖 BrowserStack AI Agents

  1. 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 MCP
  1. createLCASteps — 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 steps
  1. uploadProductRequirementFile — 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 cases

🚀 Remote MCP Server

Remote MCP comes with all the functionalities of an MCP server without the hassles of complex setup or local installation.

Key benefits:

  • ✅ 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.

Limitations:

  • ❌ No Local Testing support (cannot test apps behind VPNs, firewalls, or localhost). If you have to do Local Testing, you would have to use a BrowserStack Local MCP server.
  • ❌ Latency can be slightly higher, but nothing considerable — you generally won’t notice it in normal use.

Installation Steps:

  • 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 :

      Remote MCP JSON file

      Alternative way to Setup Remote MCP

    • Step 1.Click on the gear icon to Select Tools

      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

    Add MCP Server
    • Step 3. Click on HTTP option

      HTTP Option
    • Step 4. Paste Remote MCP Server URL : https://mcp.browserstack.com/mcp

      Remote MCP Server URL
    • Step 5. Give server id as : browserstack

      Remote MCP Server ID
    • Step 6. In VSCode Click on start MCP Server and then click on "Allow"

      authentication1
      authentication2
      Sign_in_success
  • We recommend using Github Copilot or Cursor for automated testing + debugging use cases.
  • For manual testing use cases (Live Testing), we recommend using Claude Desktop.

⚠️ Important Notes

  • The BrowserStack MCP Server is under active development and currently supports a subset of the MCP spec. More features will be added soon.
  • Tool invocations rely on the MCP Client which in turn relies on an LLM, hence there can be some non-deterministic behaviour that can lead to unexpected results. If you have any suggestions or feedback, please open an issue to discuss.

📝 Contributing

We welcome contributions! Please open an issue to discuss any changes you'd like to make. 👉 Click here to view our Contributing Guidelines

📞 Support

For support, please:

🚀 More Features Coming Soon

Stay tuned for exciting updates! Have any suggestions? Please open an issue to discuss.