Overview of the BrowserStack MCP server
Integrate BrowserStack’s real device cloud with your AI agent to test, debug, and manage your workflow using natural language.
What is the MCP server?
The BrowserStack MCP server directly connects AI agents and Large Language Models (LLMs) to the BrowserStack’s testing infrastructure and products right from where you code (like VS Code, Claude, Cursor, etc.).
This means you can manage test cases, run manual and automated tests, debug issues, and even get AI-suggested code fixes all by writing simple, natural language prompts. By bringing BrowserStack’s tools directly to your AI agent, the MCP server helps you test faster, reduce context switching, and ship code with confidence.
Key features
The BrowserStack MCP server integrates a wide range of our capabilities directly into your development environment:
-
Natural language testing: Manage, execute, and debug your entire testing workflow using simple English prompts.
-
Manual app & web testing: Instantly launch your mobile apps or websites on thousands of real iOS and Android devices or desktop browsers for manual testing and debugging, including locally hosted projects.
-
AI-powered automated testing: Run your Playwright and Selenium test suites on our infrastructure. Use AI-powered debugging to analyze failures, fetch logs, identify root causes, and apply fixes directly from your IDE.
-
Integrated accessibility scans: Catch and fix accessibility issues early in your development cycle. Run scans on local or production websites to ensure WCAG and ADA compliance with AI-suggested fixes.
-
Comprehensive test management: Create and organize projects, write test cases, trigger test runs, and update results within BrowserStack Test Management using natural language commands.
-
Access to BrowserStack AI agents: Leverage powerful agents to generate test cases from Product Requirement Documents (PRDs), convert manual tests to low-code automation scripts, and automatically heal flaky tests.
How it works
The BrowserStack MCP server creates a secure, stateful connection between your AI model and the BrowserStack platform.
Here’s how it works:
-
AI client (your IDE): You issue a command in natural language to your AI agent (e.g., “run my tests on an iPhone 15”).
-
BrowserStack MCP server (running locally): The MCP server is a process running on your machine. It receives the command, authenticates using your BrowserStack credentials, and translates it into a specific API request for the BrowserStack platform.
-
BrowserStack cloud: The server sends the request to the right BrowserStack product (like App Live or Automate). Our cloud executes the test on a real device and sends back the results, logs, or session links.
-
Response to client: The MCP server forwards the response from BrowserStack back to your AI client, which presents it to you in a human-readable format.
This local server model keeps your BrowserStack credentials secure on your machine while providing a fast, interactive connection to the cloud.
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
Thank you for your valuable feedback!