BrowserStack MCP
by BrowserStack
Bring BrowserStack's full testing platform to AI tools — cross-browser and device testing at scale
testing Node.js Intermediate Self-hostable Verified
⭐ 200 stars 📅 Updated: 1mo ago
Description
Official BrowserStack MCP server that connects AI assistants to the full BrowserStack testing infrastructure. Run cross-browser tests, test on real mobile devices, capture screenshots across browser/OS combinations, and execute visual regression tests — all driven by natural language from your AI assistant. Leverages BrowserStack's cloud of real browsers and devices to validate web applications without maintaining local testing infrastructure. Perfect for teams that need comprehensive cross-browser compatibility testing integrated into their AI-powered development workflow.
✅ Best for
Teams needing AI-driven cross-browser and cross-device testing on real infrastructure
⏭️ Skip if
You only test on a single browser or prefer local testing without cloud dependencies
💡 Use cases
- Running cross-browser compatibility tests on real browsers from AI assistants
- Testing web applications on real mobile devices (iOS and Android) through conversational AI
- Capturing and comparing screenshots across multiple browser/OS combinations
- Automating visual regression testing as part of AI-driven development workflows
👍 Pros
- ✓ Access to BrowserStack's massive real device and browser cloud
- ✓ Official integration maintained by the BrowserStack team
- ✓ Simple npx installation with username/key authentication
- ✓ Eliminates need for local browser and device testing infrastructure
👎 Cons
- ✗ Requires paid BrowserStack account for meaningful usage
- ✗ Test execution depends on BrowserStack cloud availability and queue times
- ✗ Screenshot and visual test results may generate large payloads for AI context
🔧 Exposed tools (6 tools)
| Tool | Category | Description |
|---|---|---|
| list_browsers | discovery | List available browsers and versions for testing |
| list_devices | discovery | List available real devices for mobile testing |
| get_test_results | reporting | Retrieve results from a completed test session |
| run_test | testing | Run a test on a specified browser and OS combination |
| capture_screenshot | visual | Capture a screenshot on a specific browser/device combination |
| run_visual_test | visual | Run a visual regression test comparing against baseline |
⚡ Installation
Prerequisites:
- • Node.js v18+
- • BrowserStack username and access key
- • API key required
Check Claude Code documentation to configure this MCP server.
💡 Tips & tricks
Set BROWSERSTACK_USERNAME and BROWSERSTACK_ACCESS_KEY environment variables before starting. Use list_browsers and list_devices to discover available testing targets. Combine capture_screenshot with visual testing to catch UI regressions early.
🔄 Alternatives
Quick info
- Author
- BrowserStack
- License
- MIT
- Runtime
- Node.js 18+
- Transport
- stdio
- Category
- testing
- Difficulty
- Intermediate
- Self-hostable
- ✅
- Auth
- —
- Docker
- —
- Version
- latest
- Updated
- Feb 28, 2026
Client compatibility
- ✅ Claude Code
- ✅ Cursor
- ✅ VS Code Copilot
- ❓ Gemini CLI
- ✅ Windsurf
- ✅ Cline
- ❓ JetBrains AI
- ❓ Warp
Platforms
🍎 macOS 🐧 Linux 🪟 Windows