BrowserStack MCP Server

Browser Automationstdio
Repository

BrowserStack's official MCP server for AI-assisted testing. Lets agents manage test cases, run manual and automated tests across real browsers and devices, access debugging artifacts such as logs and session details, and triage failures using plain English. Useful for cross-platform QA and browser-compatibility workflows from MCP-enabled clients.

Connect

Add this configuration to .claude/mcp.json

{
  "mcpServers": {
    "browserstack": {
      "command": "npx",
      "args": [
        "-y",
        "@browserstack/mcp-server"
      ],
      "env": {
        "BROWSERSTACK_USERNAME": "<YOUR_BROWSERSTACK_USERNAME>",
        "BROWSERSTACK_ACCESS_KEY": "<YOUR_BROWSERSTACK_ACCESS_KEY>"
      }
    }
  }
}

Tools (2)

run_automated_test

Run an automated test session on BrowserStack across a target browser or device.

{
  "type": "object",
  "required": [
    "url"
  ],
  "properties": {
    "os": {
      "type": "string",
      "description": "Target operating system"
    },
    "url": {
      "type": "string",
      "description": "URL under test"
    },
    "browser": {
      "type": "string",
      "description": "Target browser name"
    }
  }
}

get_session_details

Retrieve details, logs, and artifacts for a BrowserStack test session.

{
  "type": "object",
  "required": [
    "session_id"
  ],
  "properties": {
    "session_id": {
      "type": "string",
      "description": "ID of the test session"
    }
  }
}

Resources

This server does not expose any resources.

Prompts

This server does not expose any prompts.

Server Information

Author
BrowserStack (@browserstack)
Repository
https://github.com/browserstack/mcp-server
Stars
0
Last Updated
July 12, 2026