Skip to main content

BrowserStack Advanced

BrowserStack Advanced is a QuilrAI-built MCP for BrowserStack account discovery, browser and device inventories, Automate and App Automate sessions, diagnostic data, app uploads, and Test Management workflows. It uses a BrowserStack username and access key instead of an OAuth Client ID and Client Secret.

Use this guide when BrowserStack Advanced is available in your MCP Store and the QuilrAI setup screen asks for BrowserStack credentials. QuilrAI administrators handle the MCP server registration.

What This MCP Can Do

CapabilityExamplesAccess
Account and environmentsDiscover enabled products, browsers, operating systems, and real devicesRead only
Automate and App AutomateList builds, read sessions, retrieve logs and screenshot metadata, create diagnostic briefsRead only
Build and session lifecycleUpdate or delete builds and sessionsWrite or destructive
App uploadsUpload an HTTPS-hosted app for App AutomateWrite
Test ManagementProjects, folders, templates, cases, histories, runs, results, plans, and sub-test plansRead and write
Bulk operationsEdit, move, archive, create, update, read, or record results for multiple itemsRead, write, or destructive

The MCP provides 48 tools. It favors native BrowserStack bulk endpoints when available and otherwise runs bounded batches with ordered, per-item outcomes.

note

The hosted MCP does not run BrowserStack Local tunnels or access files and processes on a user's computer. Local Testing requires an agent-side BrowserStack Local process and is intentionally outside this remote MCP.

Before You Start

You need:

  • A BrowserStack account with access to the products you plan to use.
  • The BrowserStack Username and Access Key from account settings.
  • Permission to store those credentials in QuilrAI.

For a company-wide integration, use a BrowserStack service account where your plan supports it. This avoids tying the shared MCP connection to an employee's personal access key.

Get The BrowserStack Credentials

  1. Sign in to BrowserStack.
  2. Open Account > Settings.
  3. Find the account credentials or Local Testing credentials section.
  4. Copy both Username and Access Key.

The username may not be the account email address. Use the exact BrowserStack username shown next to the access key.

Credential Format

Enter the username and access key as one value separated by a colon:

YOUR_BROWSERSTACK_USERNAME:YOUR_BROWSERSTACK_ACCESS_KEY

For example:

company_service_user_abc123:replace-with-access-key

Do not add spaces, quotes, Basic, or Bearer to the value.

tip

You do not need to Base64-encode this value. BrowserStack Advanced accepts the raw username:access-key value, separates the two fields, and constructs BrowserStack HTTP Basic authentication inside the MCP.

The MCP also accepts Base64-encoded username:access-key for clients that cannot safely submit a colon in a credential field. Base64 is encoding, not encryption, and must still be handled as a secret.

Optional Base64 compatibility format

On macOS or Linux:

printf '%s' 'YOUR_BROWSERSTACK_USERNAME:YOUR_BROWSERSTACK_ACCESS_KEY' | base64 | tr -d '\n'

On PowerShell:

[Convert]::ToBase64String(
[Text.Encoding]::UTF8.GetBytes(
"YOUR_BROWSERSTACK_USERNAME:YOUR_BROWSERSTACK_ACCESS_KEY"
)
)

Paste only the encoded output when the BrowserStack credential prompt appears.

Connect BrowserStack Advanced

  1. Open BrowserStack Advanced from the MCP Store.
  2. When prompted for the upstream credential, paste the raw username:access-key value. Use the optional Base64 form only when the client cannot submit a colon safely.
  3. Choose Admin shared for an approved service account, or User required when each user must provide separate BrowserStack credentials.
  4. Complete the setup and start with the read-only capability request below.

If BrowserStack Advanced is not available in your MCP Store, contact your QuilrAI administrator.

Choose Credential Ownership

ModeUse when
Admin sharedThe organization has a BrowserStack service account or another approved shared credential.
User requiredEach user's BrowserStack permissions and activity must remain separate.

For Admin shared, prefer a BrowserStack service account scoped to the required team or organization. Limit access in both BrowserStack and QuilrAI.

Verify The Connection

Start with a read-only capability request:

Using BrowserStack Advanced, show the BrowserStack products and capabilities
available to this account. This is strictly read-only.

Then verify environment discovery:

Using BrowserStack Advanced, list five available desktop browser environments
and five real mobile devices. Do not start a session or change anything.

To verify batch reads:

Using BrowserStack Advanced, retrieve details for these BrowserStack session IDs
in one batch. Preserve the input order and report per-session errors. This is
read-only: <session-id-1>, <session-id-2>.

Use It Effectively

  • Prefer batch and bulk tools for multiple builds, sessions, cases, runs, or results.
  • Use account capability discovery before requesting a product-specific operation.
  • Use the session diagnostic brief for a bounded summary of metadata, logs, and failure context.
  • Keep destructive tools disabled unless the workflow explicitly needs deletion or archival.
  • Require user confirmation before deleting builds, sessions, test runs, or test cases.
  • Use HTTPS URLs for app uploads. The hosted MCP cannot upload a file from a user's local disk.
  • Expect product and plan permissions to affect which tools succeed even when the credential is valid.

Troubleshooting

ErrorLikely causeFix
401 Unauthorized or QuilrAI cannot list toolsWrong username, wrong access key, malformed composite value, or a rotated keyCopy both values from BrowserStack again, update the saved credential with exactly username:access-key, and retry.
Raw composite is rejected before reaching the MCPA client or intermediary does not accept a colon in the credential fieldUse the optional Base64 compatibility format above.
403 Forbidden while credentials are validThe account authenticated but lacks the required product, role, team, or API entitlementCheck BrowserStack product access and role assignments. Contact BrowserStack support for restricted APIs.
Some tool groups are missingThe connected account does not have the corresponding BrowserStack productEnable the product for the user or service account, then refresh MCP tools.
Local Testing request cannot runBrowserStack Local requires a process and network tunnel near the target applicationRun BrowserStack Local through an approved agent-side deployment; it is not provided by this hosted MCP.
A batch partially failsIndividual IDs are invalid, inaccessible, or in a different productInspect the per-item outcomes and retry only corrected inputs.
Requests are throttledBrowserStack rate limits were reachedReduce batch size or request frequency and retry after the reported delay.

Rotate The Access Key

Rotating a BrowserStack access key invalidates the old credential.

  1. Rotate or reset the access key in BrowserStack.
  2. Update the saved credential for BrowserStack Advanced in QuilrAI using the same username and new key.
  3. Re-run the read-only capability test.
  4. Remove any old encoded copies from local notes, shell history, or secret stores.

If a credential appears in a screenshot, chat, ticket, or repository, rotate it immediately.

References