SuperAPI AI Directory

mcp-server

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.

Open website

About this tool

Purpose

BrowserStack MCP Server is an official MCP (Model Context Protocol) server launched by BrowserStack, with the goal of connecting the capabilities of the BrowserStack testing platform to various AI tools that support MCP, such as IDEs, LLMs, or agent workflows, allowing users to manage, execute, and debug tests, and even fix code, with plain English prompts, thereby reducing switching between tools and keeping project context centralized.

Main capabilities

  • Manual App testing: Test mobile apps on BrowserStack's real device cloud, covering the latest OS versions, supporting defect reproduction, crash debugging, and using App-Profiling capabilities to troubleshoot crashes and performance issues in real time. The materials state that major devices and OS versions are accessible, and promise that new devices will be available in the data center on the day of release.
  • Manual Web testing: Test websites on real browsers and device clouds, covering major browsers and operating systems; you can directly test locally hosted websites on your machine without deploying to a remote server.
  • Automated testing: Supports Playwright, Selenium, Jest, etc., and can automatically analyze, diagnose, and fix broken test scripts in an IDE or LLM, pull logs, locate root causes, and apply context-relevant fixes; it can also be combined with Test Observability to fix test failures reported by CI/CD.
  • Accessibility testing: Discover issues early through local automated a11y scans, get one-click AI fix suggestions, and help meet WCAG and ADA compliance requirements.
  • Test management: Create and manage test cases, create test plans, and trigger test runs with natural language.
  • Load testing: Run and analyze large-scale load tests in an IDE or chat, supporting API (JMeter, k6, Gatling, Locust), browser (Playwright, Selenium, WebdriverIO, Nightwatch), and hybrid load tests, and can find tests, start and stop runs, read reports and AI Insights, compare runs, and view VU-hours.
  • Access BrowserStack AI agents: Generate test cases from PRDs, convert manual tests into low-code automation, and automatically fix flaky scripts.

Usage and installation

Prerequisites: Node.js version >= 20.9 (v22.15.0 LTS recommended), and a BrowserStack account (username and access_key can be obtained from Account Settings). Open source projects can apply for a free plan.

One-click installation: Can be completed through the Install in VS Code / Install in Cursor buttons on the page.

Manual configuration example (VS Code Copilot Agent Mode, file .vscode/mcp.json): { "servers": { "browserstack": { "command": "npx", "args": ["-y", "@browserstack/mcp-server@latest"], "env": { "BROWSERSTACK_USERNAME": "<username>", "BROWSERSTACK_ACCESS_KEY": "<access_key>" } } } }

Cursor (.cursor/mcp.json) and Claude Desktop (~/claude_desktop_config.json) are configured similarly, using the mcpServers field to wrap the same browserstack configuration.

Remote MCP Server: Hosted at mcp.browserstack.com, now fully stateless, based on Streamable HTTP, any Streamable-HTTP client (Claude, Cursor, VS Code, ChatGPT) can connect without modifying configuration. During installation, select the HTTP option in VS Code and paste https://mcp.browserstack.com/mcp,服务器 Set id to browserstack. Its advantages include: adapts to enterprise networks, no need to worry about firewalls or binaries, suitable for environments that do not allow local installation; uses OAuth integration, no need to share passwords or manually handle credentials. Limitations: Local Testing is not supported (cannot test applications located behind a VPN, firewall, or localhost; for this scenario, the BrowserStack Local MCP server must be used); latency may be slightly higher, but it is usually unnoticeable in normal use.

Core tool mechanism: five core tools enable the AI assistant to find and run any BrowserStack workflow. Because the assistant loads all tools exposed by the MCP server at the start of each session, one tool per workflow would fill up the context window, so the assistant instead uses core tools to search the BrowserStack tool catalog in natural language and run the required tools. For approval methods involving data changes, see the Core tools documentation. For all tools (organized by product), see docs/TOOLS.md. File and application upload tools (uploadProductRequirementFile, takeAppScreenshot, runAppTestsOnBrowserStack, runAppLiveSession) require setting the MCP_UPLOAD_BASE_DIR environment variable to point to the directory containing these files; uploads are restricted to that directory.

Applicable scenarios

Suitable for developers and testers using MCP-supporting clients such as Cursor, Claude, VS Code, and ChatGPT to directly perform App/Web manual testing, automated testing and debugging, accessibility checks, test management, load testing, and invoke BrowserStack AI agents within the IDE or LLM to complete tasks such as test case generation, manual-to-low-code automation, and automatic script repair.

Limitations and notes

  • This project is under active development and currently supports only a subset of the MCP specification; more features will be added gradually.
  • Tool invocation depends on the MCP Client, and the MCP Client depends on the LLM, so non-deterministic behavior may occur, leading to unexpected results.
  • When pulling test root cause analysis (RCA), the server only returns suggested fixes and does not automatically apply code changes; the assistant must present the suggestions and wait for explicit user approval before editing files.files.
  • Remote MCP does not support Local Testing, and latency may be slightly higher.
  • You need your own BrowserStack account and must purchase the corresponding plan (open source projects can apply for a free plan).
  • The relevant materials do not provide specific pricing, feature differences between plans, and other information, so these are not provided for now.