Sponsored by Deepsite.site

BrowserStack MCP Server

Created By
MCP-Mirror7 months ago
Mirror of
Content

BrowserStack MCP Server

BrowserStack Logo MCP Server Logo

One Platform For All Your Testing Needs

Enable every developer and tester in your team, whether they are testing manually, starting their automation journey, or scaling test automation. BrowserStack MCP Server allows you to use our cutting-edge Test Platform directly from your favourite AI tools.

Why BrowserStack ?

overview

💡 Usage Examples

📱 Manual App Testing

Use the following prompts to use your mobile apps on BrowserStack's extensive cloud of real devices. Stop using emulators!

# Open app on specific device
"open my app on a iPhone 15 Pro Max"

# Debug app crashes
"My app crashed on Android 14 device, can you help me debug?"
  • Unlike emulators, test your app's real-world performance on actual devices. With advanced App-Profiling features, you can debug crashes and performance issues in real-time.
  • Access all major devices and OS versions from our device grid, We have strict SLAs to provision our global datacenters with newly released devices on launch day.

🌐 Manual Web Testing

Similar to the app testing, you can use the following prompts to test your websites on BrowserStack's extensive cloud of real browsers and devices. Don't have Edge browser installed on your machine ? We've got you covered!

# Test your local websites
"open my website hosted on localhost:3001 on Edge"
  • Test websites across different browsers and devices. We support every major browser across every major OS.
  • Seamlessly test websites hosted locally on your machine, no need to deploy to a remote server!

🧪 Automated Testing (Playwright, Selenium, A11y and more..)

Use the following prompts to run/debug/fix your automated tests on BrowserStack's Test Platform.

# Port test suite to BrowserStack
"run my test suite on BrowserStack infra"

# Debug test failures
"My test suite failed, can you help me fix the new failures?"

# Accessibility testing
"check for accessibility issues on my www.mywebsite.com"
  • Fix test failures reported by your CI/CD pipeline by utilising our industry leading Test Observability features. Find more info here.
  • Run tests written in Jest, Playwright, Selenium, and more on BrowserStack's Test Platform
  • Accessibility Testing: Ensure WCAG and ADA compliance with our Accessibility Testing tool

🛠️ Installation

  1. Create a BrowserStack Account

    • Sign up for BrowserStack if you don't have an account already.

    • ℹ️ If you have an open-source project, we'll be able to provide you with a free plan.

    Open Source Plan
    • Once you have an account (and purchased appropriate plan), note down your username and access_key from Account Settings.
  2. Ensure you are using Node version >= 18.0. Check your node version using node --version. Recommended version: v22.15.0 (LTS)

  3. Install the MCP Server

    • VSCode (Copilot - Agent Mode): .vscode/mcp.json:
    {
      "servers": {
        "browserstack": {
          "command": "npx",
          "args": ["-y", "@browserstack/mcp-server@latest"],
          "env": {
            "BROWSERSTACK_USERNAME": "<username>",
            "BROWSERSTACK_ACCESS_KEY": "<access_key>"
          }
        }
      }
    }
    
    • In VSCode, make sure to click on Start button in the MCP Server to start the server. Start MCP Server

    • For Cursor: .cursor/mcp.json:
    {
      "mcpServers": {
        "browserstack": {
          "command": "npx",
          "args": ["-y", "@browserstack/mcp-server@latest"],
          "env": {
            "BROWSERSTACK_USERNAME": "<username>",
            "BROWSERSTACK_ACCESS_KEY": "<access_key>"
          }
        }
      }
    }
    
    • Claude Desktop: ~/claude_desktop_config.json:
    {
      "mcpServers": {
        "browserstack": {
          "command": "npx",
          "args": ["-y", "@browserstack/mcp-server@latest"],
          "env": {
            "BROWSERSTACK_USERNAME": "<username>",
            "BROWSERSTACK_ACCESS_KEY": "<access_key>"
          }
        }
      }
    }
    

Installing via Smithery

To install BrowserStack Test Platform Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @browserstack/mcp-server --client claude
  • 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.

🔗 Resources

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Tavily Mcp
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
WindsurfThe new purpose-built IDE to harness magic
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Serper MCP ServerA Serper MCP Server
Playwright McpPlaywright MCP server
Amap Maps高德地图官方 MCP Server
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
DeepChatYour AI Partner on Desktop
CursorThe AI Code Editor
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
ChatWiseThe second fastest AI chatbot™