Run automated browser tests across real devices and browsers on BrowserStack. For developers integrating cross-browser testing into their CI/CD pipelines and local workflows.
io.github.browserstack/mcp-server
Local install
STDIO
2 required env vars
How models use it and what it is built for.
Run automated browser tests across real devices and browsers on BrowserStack. For developers integrating cross-browser testing into their CI/CD pipelines and local workflows.
Local install — runs as a subprocess.
Configuration this server reads at startup.
BrowserStack Username
BrowserStack Access Key
Where to find authoritative docs and source for Browserstack.
Paste any of these into Agent Studio after connecting Browserstack.
Common questions about connecting and running Browserstack.
What does the BrowserStack MCP server do?
It provides an MCP interface to BrowserStack's testing platform, allowing you to automate browser testing across real devices and browsers. You can integrate it into your development workflow to run tests without leaving your IDE or chat interface.
How do I authenticate with BrowserStack?
Set two required environment variables: BROWSERSTACK_USERNAME and BROWSERSTACK_ACCESS_KEY. You can find these credentials in your BrowserStack account settings. The MCP server uses these to authenticate all requests to BrowserStack's API.
Do I need a BrowserStack account to use this MCP server?
Yes, you need an active BrowserStack account with valid credentials. The server requires your username and access key to function, which you can obtain by signing up at browserstack.com.
Can I use this server locally or only in CI/CD?
You can use it both locally and in CI/CD pipelines. Set the required environment variables in your local shell or CI/CD platform, and the MCP server will connect to BrowserStack's infrastructure.
What version should I install?
The current stable version is 1.2.7, installed via `npx @browserstack/mcp-server@1.2.7`. Check the official BrowserStack documentation or npm registry for the latest version and release notes.
MCP Playground runs 10,000+ hosted MCP servers — GitHub, Linear, Notion, Stripe, Sentry and more — across Claude, GPT, Gemini, DeepSeek and 30+ AI models. Compare model answers side-by-side, save agent presets, share runs. Zero install.
Open Agent Studio