About BrowserStack
BrowserStack is an MCP server published by browserstack in the Developer Tools category: browserStack's Official MCP Server. Conduid read 49 tools from its source: addPercySnapshotCommands, addTestResult, askBrowserStackAI, createAccessibilityAuthConfig, createLCASteps, createProjectOrFolder and 43 more. No package is published for it, so it installs from a source checkout.
The repository has 155 stars and 60 forks, is licensed AGPL-3.0, and its last commit was on 1 Dec 2026. The latest release is v2.2.3 (16 Oct 2026): Added 478 docs(tools): list the TRA capabilities & other doc improvements Fixed 488 Fix/screenshots size cap 487 Fix/mcp registry publish npm propagation 484 fix(testman… It follows v2.2.2 (12 Oct 2026), and the 5 most recent releases go back to v2.1.1 (5 Oct 2026). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Its topics include devtools, accessibility, automation, quality-assurance, browserstack and testing.
Install
git clone https://github.com/browserstack/mcp-serverTools (49)
addPercySnapshotCommandsaddTestResultAdd a test result to a test run.askBrowserStackAIcreateAccessibilityAuthConfigCreate an authentication configuration for accessibility scans. Supports both form-based and basic authentication.| Parameter | Type | Description |
|---|---|---|
| name * | string | Name for the auth config |
| password | string | Site password; omit to have it requested from the user. |
| passwordSelector | string | CSS selector for password field (required for form auth) |
| submitSelector | string | CSS selector for submit button (required for form auth) |
| type * | string | 'form' for a login form, 'basic' for HTTP basic auth |
| url * | string | URL of the login page |
| username | string | Site username; omit to have it requested from the user. |
| usernameSelector | string | CSS selector for username field (required for form auth) |
createLCAStepsGenerate Low Code Automation (LCA) steps for a test case.createProjectOrFolderCreate a project and/or folder in BrowserStack Test Management.createTestCaseCreate a test case in BrowserStack Test Management.createTestRunCreate a test run in BrowserStack Test Management.describeCapabilityReturns the full details of one capability, such as its parameters, request body and response formatdescribeEntityExplains one entity: its aliases, ID format, parent and related entities, and the capabilities that act on itexpandPercyVisualTestingfetchAccessibilityIssuesFetch a web or app accessibility report's issues. Remove the saved false positives it marks before reporting any.| Parameter | Type | Description |
|---|---|---|
| appReportId | string | Manual App Accessibility report UUID, from its /report/ link. |
| buildId | string | Web/App Accessibility build id: SDK testhub id or a link's thBuildId. |
| compareWith | string | "previous" (any report), or a run of the same scan or a web/app build: its id or link. |
| cursor | number | The next_page value from the previous answer (default 0), not an issue index. |
| exportTaskId | string | Continue a CSV export that is still being generated. |
| fixWorkflow | boolean | true: the steps to follow before editing code to fix accessibility issues (not for advice). Alone: only the steps. |
| pageUrl | string | Only the issues on this page URL. |
| reportUrl | string | Any web/app accessibility report, scanner share, or Automate link. |
| scanId | string | Website Scanner scan id (startAccessibilityScan or searchCapability). |
| scanRunId | string | Website Scanner run id (startAccessibilityScan or searchCapability). |
| workflowReportId | string | Workflow Analyzer report id, from its link or searchCapability. |
fetchAutomationScreenshotsFetch screenshots captured during an Automate/App Automate session.| Parameter | Type | Description |
|---|---|---|
| sessionId * | string | Session id from listSessions or listTestIds. |
| sessionType * | string | Product the session ran on. |
fetchBuildInsightsFetch build details and quality gate results for a TRA build. Includes hashed_id and session_type for listSessions.| Parameter | Type | Description |
|---|---|---|
| buildId * | string | TRA build id from listBuildId (Automate ids are mapped). |
fetchPercyChangesRetrieves and summarizes all visual changes detected by Percy AI between the latest and previous builds, helping quickly review what has changed in your project.fetchRCAAI root cause for failed Automate/App Automate tests. Suggests fixes only; never auto-apply, require explicit user approval.fetchSelfHealedSelectorsFetch self-healed selectors and the test source. Pass exactly one of `sessionId` or `buildUuid`; give the pairs to prepareSelfHealingPlan.| Parameter | Type | Description |
|---|---|---|
| buildUuid | string | TRA build id (listBuildId). Fetches its healing report. |
| sessionId | string | Session ID. Mutually exclusive with buildUuid. |
| sessionType | string | Used with sessionId. Defaults to automate. |
getAccessibilityAuthConfigGet an accessibility auth config by ID.| Parameter | Type | Description |
|---|---|---|
| configId * | number | ID of the auth config |
getBuildIdLike listBuildId, but a build-name lookup tries the caller's own builds first, then anyone's.getFailureLogsFetch logs or the video URL for an Automate/App Automate session.| Parameter | Type | Description |
|---|---|---|
| buildId | string | App Automate build ID. Optional — resolved from the session if omitted. |
| logTypes * | array | The types of logs to fetch. |
| sessionId * | string | Session id from listSessions or listTestIds. |
| sessionType * | string | Product the session ran on; corrected if wrong. |
getFailuresInLastRunUse this tool to debug failures in the last run of the test suite on BrowserStack. Use only when browserstack.yml file is present in the project root.| Parameter | Type | Description |
|---|---|---|
| buildName * | string | Name of the build to get failures for. This is the 'build' key in the browserstack.yml file. If not sure, ask the user for the build name. |
| projectName * | string | Name of the project to get failures for. This is the 'projectName' key in the browserstack.yml file. If not sure, ask the user for the project name. |
getSubTestPlanGet a sub-plan (STP-*): metadata and linked runs.getTestPlanGet a test plan (TP-*): metadata, linked runs, case count and status summary.invokeCapabilityRuns one capability and returns the product's response unchanged. Changes to data need your approvallistBuildIdFind a TRA build id, any user: project + build name (latest run), + build number, or a dashboard link.listFoldersList folders (id, name, counts) in a project; parent_id lists sub-folders.listProductsLists the BrowserStack products in the catalog, with a short summary of what each product coverslistSessionsList a build's sessions: session IDs, status, OS, browser/device, dashboard URL. Takes an Automate or a TRA build id.| Parameter | Type | Description |
|---|---|---|
| buildId * | string | Automate hashed build id, or TRA id from listBuildId. |
| limit | number | Max sessions to return. Defaults to ${DEFAULT_SESSION_LIST_LIMIT}. |
| offset | number | Pagination offset for the REST session list. |
| sessionType * | string | Product the build ran on; the other is also tried. |
| status | string | Optional session status filter (e.g. done, running, error). Applied client-side. |
listSubTestPlansList sub-plans under a test plan (TP-*); paginated.listTestCaseTemplatesList test-case templates with their numeric template_id. Use the id with createTestCase to apply a custom template (the 'template' slug only selects system templates).listTestCasesList test cases in a project or one folder (see listFolders). Filters: id, case_type, priority, paging.listTestFileslistTestIdsList all tests of a BrowserStack build (each with its status and session id); optional status filter.listTestPlansList test plans (TP-*) with status, dates and run counts; paginated.listTestRunsList test runs with filters (dates, assignee, state).managePercyBuildApprovalApprove or reject a Percy buildpercyVisualTestIntegrationAgentprepareSelfHealingPlanBuild an edit plan from healed locator pairs plus test source; it does NOT modify files. `sessions`: [{sessionId, locators: [{original, healed}]}] or the raw healing report.runAppLiveSessionOpen a manual App Live session for the user to operate by hand; the agent cannot drive it.| Parameter | Type | Description |
|---|---|---|
| appPath | string | Local .apk/.ipa in MCP_UPLOAD_BASE_DIR. Check applive list_apps first; if already uploaded pass browserstackAppUrl. |
| browserstackAppUrl | string | bs:// app_url from applive list_apps. |
| desiredPhone * | string | Exact device name, e.g. 'iPhone 15 Pro Max'. Ask the user; never assume. |
| desiredPlatform * | string | Platform the app targets. |
runAppTestsOnBrowserStackrunBrowserLiveSessionOpen a manual Live browser session for the user to operate by hand; the agent cannot drive it.runPercyScanRun a Percy visual test scan. Example prompts : Run this Percy build/scan. Never run percy scan/build without this toolsearchCapabilityFinds the capabilities that match a plain-language request, with everything your assistant needs to run each onesetupBrowserStackAppAutomateTestssetupBrowserStackAutomateTestsstartAccessibilityScanScan a web page URL for accessibility issues and get a CSV report. For a mobile app, run it on App Automate with accessibility on (setupBrowserStackAppAutomateTests), then fetchAccessibilityIssues.| Parameter | Type | Description |
|---|---|---|
| advancedRules | boolean | Run advanced rules (default true if the plan has them). |
| authConfigId | number | Auth config ID, for a page behind a login |
| bestPractices | boolean | Also report best-practice issues (default false). |
| experimentalRules | boolean | Run experimental rules (default true if the plan has them). |
| localIdentifier | string | BrowserStack Local tunnel ID, for localhost or internal URLs. |
| name * | string | Name of the scan |
| needsReview | boolean | Also report "needs review" issues to check by hand (default true). |
| pageURL * | string | URL of the page to scan |
| scanId | string | Only to re-run an earlier scan of this same page (e.g. after a fix), with its saved settings, so runs can be compared. |
| scanScope | object | Only the first element matched, e.g. {"type":"css","value":"main"}. |
| screenReader | string | Also run a screen reader (VO: VoiceOver); the plan needs it. |
| wcagVersion | string | WCAG level, e.g. "wcag22aa" or "rgaa41" (default "wcag21aa"). |
takeAppScreenshotTake a screenshot of an app running on a BrowserStack device.| Parameter | Type | Description |
|---|---|---|
| appPath * | string | Local .apk/.ipa path inside MCP_UPLOAD_BASE_DIR. |
| desiredPhone * | string | Exact device name, e.g. 'iPhone 15 Pro Max'. Ask the user. |
| desiredPlatform * | string | Platform to run the app on. Either 'android' or 'ios'. |
updateTestCaseUpdate an existing test case; only the supplied fields change.updateTestRunUpdate a test run or add test cases to it.Security checks
Static checks derived from the repository 11 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 2.4K words.
- ✓License declaredThe repository declares the AGPL-3.0 license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
- !No dynamic code executionScanned 219 source files and found 6 calls to eval or shell execution, in src/lib/local.ts:11 and src/lib/local.ts:22 among others. Review how tool inputs reach them before granting credentials.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdiosrc/index.ts:3
- Starts other programs
- 6 callssrc/lib/local.ts:11, src/lib/local.ts:22, src/lib/local.ts:52
- Outbound network calls
- 3 callssrc/lib/apiClient.ts:152, src/lib/upstream-status.ts:55, src/tools/capability-registry/egress.ts:277
- Writes or deletes files
- 4 callssrc/lib/device-cache.ts:40, src/lib/device-cache.ts:75, src/lib/device-cache.ts:87
- Lockfile
- package-lock.json
Pattern matches on the source text of 219 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 2.4K words, fetched a month ago. The original in the repository is authoritative.
Read full README