Browserstack

io.github.browserstack由 GitHub 帳號 browserstack 發布v2.6.11更新於 Nov 19, 2026

BrowserStack's Official MCP Server

已驗證Streamable HTTP可網頁執行瀏覽器自動化開發者工具安全與監控

概覽

AI 產生的概覽

BrowserStack 官方 MCP 伺服器,讓助理用自然語言執行、除錯與管理 BrowserStack 測試、測試案例及負載測試。

可以做什麼
  • 透過五個核心工具探索並執行 BrowserStack 工作流程:列出產品、說明實體與能力、搜尋能力並加以呼叫
  • 在 BrowserStack 上執行與除錯自動化測試(Playwright、Selenium、Jest),取得日誌與根因分析,並把測試套件移轉到其基礎架構
  • 在真實瀏覽器與裝置上開啟網站和行動應用程式,包括託管於 localhost 的網站
  • 掃描頁面的無障礙問題並取得修正建議
  • 建立與管理測試案例、測試計畫與測試執行,並更新測試結果
  • 執行與分析負載測試、比較多次執行、查看 VU 小時額度,並使用 BrowserStack AI 代理產生測試、低程式碼撰寫與自動修復
適用情境
適合已使用 BrowserStack、希望讓 IDE 或聊天中的助理直接執行與除錯測試套件、在真實裝置上重現缺陷、管理測試案例,或進行負載與無障礙測試而不必切換工具的情境。
執行需求
需要 BrowserStack 帳號及使用者名稱與存取金鑰,託管的遠端伺服器可用 OAuth 登入。遠端端點無需本機安裝;本機 npm 套件需要 Node.js 22.23.5 或更新版本。檔案與應用程式上傳類工具需要設定 MCP_UPLOAD_BASE_DIR 環境變數,指向允許上傳的目錄。
安裝前請注意
伺服器持有 BrowserStack 憑證(BROWSERSTACK_USERNAME 與 BROWSERSTACK_ACCESS_KEY)或 OAuth 工作階段,應視為機密。變更資料的操作需要你核准,但助理仍可建立專案、測試案例與測試執行,並啟動或停止會消耗付費 VU 小時的負載測試。遠端伺服器無法存取 localhost 或僅限 VPN 的應用程式,且工具呼叫依賴大型語言模型,結果可能不確定。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Browserstack,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.browserstack%2Fmcp-server/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "browserstack": {
      "type": "http",
      "url": "https://mcp.browserstack.com/mcp"
    }
  }
}

README

BrowserStack MCP Server

Comprehensive Test Platform

Manage test cases, execute manual or automated tests, debug issues, and even fix code—directly within tools like Cursor, Claude, or any MCP-enabled client, using plain English.

Test from anywhere:

Easily connect the BrowserStack Test Platform to your favourite AI tools, such as IDEs, LLMs, or agentic workflows.

Test with natural language:

Manage, execute, debug tests, and even fix code using plain English prompts.

Reduced context switching:

Stay in flow—keep all project context in one place and trigger actions directly from your IDE or LLM.

⚡️ One Click MCP Setup

Click on the buttons below to install MCP in your respective IDE or assistant:

[Install in VS Code]  [Add to Copilot]  [Add to Cursor]  [Add to Claude]  [Add to ChatGPT]

Note: The hosted Remote MCP server (mcp.browserstack.com) is now fully stateless over Streamable HTTP — any Streamable-HTTP client (Claude, Cursor, VS Code, ChatGPT) connects with no configuration change.

Kiro: a Kiro power for this server lives in integrations/kiro-power. In the Kiro IDE, open the Powers panel → Add Custom Power → Import power from GitHub and enter https://github.com/browserstack/mcp-server/tree/main/integrations/kiro-power, or clone this repository and use Import power from a folder with that directory.

Prerequisites

For manual setup in any MCP client, see Install the MCP server locally or Set up the remote MCP server.

Note : Ensure you are using Node version >= 22.23.5
  • Check your node version using node --version. Recommended version: v24.22.3 (current), minimum v22.23.5.
  • To Upgrade Node :
    1. On macOS (Homebrew) - brew update && brew upgrade node or if using (nvm) - nvm install 24.22.3 && nvm use 24.22.3 && nvm alias default 24.22.3
    1. On Windows (nvm-windows) : nvm install 24.22.3 && nvm use 24.22.3
  • 👉 Or directly download the Node.js LTS Installer

🪄 Agent-assisted setup

Most AI agents can add the BrowserStack MCP server, connect to it, and walk you through sign-in without manual config. Paste this prompt into your agent:

text
Add the BrowserStack MCP server to this agent, following the setup guide athttps://www.browserstack.com/docs/browserstack-mcp-server/get-started/remote-mcp-serverand using the server URL https://mcp.browserstack.com/mcp. Once it is added, start theBrowserStack sign-in flow so I can log in.

To add it yourself, use your client's command or menu:

ClientCommand or configuration
Claude Codeclaude mcp add --scope user --transport http browserstack https://mcp.browserstack.com/mcp, then run /mcp in a session and sign in
Claude Desktop / claude.aiSettings → Connectors → Add custom connector, with the URL https://mcp.browserstack.com/mcp
ChatGPTInstall the BrowserStack plugin
Codexcodex mcp add browserstack --url https://mcp.browserstack.com/mcp, then codex mcp login browserstack to sign in
VS Code / GitHub Copilotcode --add-mcp '{"name":"browserstack","type":"http","url":"https://mcp.browserstack.com/mcp"}', then start the server from the MCP view and sign in
CursorAdd "browserstack": { "url": "https://mcp.browserstack.com/mcp" } under mcpServers in ~/.cursor/mcp.json, then sign in from Cursor Settings → MCP
Any other MCP clientPoint it at https://mcp.browserstack.com/mcp

💡 Usage Examples

📱 Manual App Testing

Test mobile apps on real devices across the latest OS versions. Reproduce bugs and debug crashes without setup hassles. Below are some sample prompts to use your mobile apps on BrowserStack's extensive cloud of real devices

bash
# 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!

bash
# Test your websites"open my website hosted on localhost:3001 on Edge""open browserstack.com on latest version of Chrome"
  • 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..)

Auto-analyze, diagnose, and even fix broken test scripts right in your IDE or LLM. Instantly fetch logs, identify root causes, and apply context-aware fixes. No more debugging loops. Below are few example prompts to run/debug/fix your automated tests on BrowserStack's Test Platform.

Note: When fetching Root Cause Analysis (RCA) for a test, the server returns the suggested fix as a proposal only. It never applies code changes automatically — your assistant must present the suggestion and wait for your explicit approval before editing any files.

bash
#Port test suite to BrowserStack"Setup test suite to run on BrowserStack infra"
#Run tests on BrowserStack“Run my tests on BrowserStack”
#AI powered debugging of test failures"My App Automate tests have failed, can you help me fix the new failures?"
  • 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

Catch accessibility issues early with automated, local a11y scans. Get one-click, AI-suggested fixes. No docs hunting, no CI surprises. Ensure WCAG and ADA compliance with our Accessibility Testing tool

bash
#Scan accessibility issues while development"Scan & help fix accessibility issues for my website running locally on localhost:3000"
#Scan accessibility issues on production site“Run accessibility scan & identify issues on my website - www.bstackdemo.com”

📋 Test Management

Create and manage test cases, create test plans and trigger test runs using natural language. Below are a few example prompts to utilise capabilities of BrowserStack's Test Management with MCP server.

bash
# Create project & folder structure"create new Test management project named My Demo Project with two sub folders - Login & Checkout"
# Add test cases"add invalid login test case in Test Management project named My Demo Project"
# List added test cases "list high priority Login test cases from Test Management project - My Demo Project"
# Create test run"create a test run for Login tests from Test Management project - My Demo Project"
# Update test results"update test results as passed for Login tests test run from My Demo Project"

⚡ Load Testing

Run and analyse load tests at scale without leaving your IDE or chat — find tests, start and stop runs, read reports and AI Insights, compare runs, and check your VU-hours. Works with API (JMeter, k6, Gatling, Locust), browser (Playwright, Selenium, WebdriverIO, Nightwatch) and hybrid load tests on BrowserStack's Load Testing. These go through the core tools.

bash
# Find a test"find my load test called checkout-api"
# Run it"run checkout-api for 5 minutes with 100 virtual users"
# Check on it"is my checkout-api run finished yet?"
# Read the results"what was the p95 response time and error rate of the last checkout-api run?"
# Compare two runs of the same test"did the latest checkout-api run regress compared with the previous one?"
# Check quota before a big run"how many VU-hours do I have left, and what would a 30-minute run with 500 VUs cost?"

🧪 Access BrowserStack AI agents

Generate test cases from PRDs, convert manual tests to low-code automation, and auto-heal flaky scripts powered by BrowserStack’s AI agents, seamlessly integrated into your workflow. Below are few example prompts to access Browserstack AI agents

bash
#Test case generator agent"With Browserstack AI, create relevant test cases for my PRD located at /usr/file/location"

#Low code authoring agent“With Browserstack AI, automate my manual test case X, added in Test Management”

#Self healing agent“Help fix flaky tests in my test script with Browserstack AI self healing”

🧭 Core Tools

Five core tools let your AI assistant find and run any BrowserStack workflow. Your assistant loads every tool an MCP server exposes at the start of each session, so one tool per workflow would fill your context window and slow down the whole session. Instead, your assistant uses the core tools to search a catalog of BrowserStack tools in plain language and run the one it needs.

ToolDescription
listProductsLists the BrowserStack products in the catalog, with a short summary of what each product covers
describeEntityExplains one entity: its aliases, ID format, parent and related entities, and the capabilities that act on it
searchCapabilityFinds the capabilities that match a plain-language request, with everything your assistant needs to run each one
describeCapabilityReturns the full details of one capability, such as its parameters, request body and response format
invokeCapabilityRuns one capability and returns the product's response unchanged. Changes to data need your approval

See Core tools for parameters and how changes to data are approved.

All tools — See docs/TOOLS.md for every tool organised by product, or BrowserStack MCP tools & workflows for product workflows.

File & app uploads: tools that upload a local file/app (uploadProductRequirementFile, takeAppScreenshot, runAppTestsOnBrowserStack, runAppLiveSession) require the MCP_UPLOAD_BASE_DIR env var set to a directory containing those files; uploads are restricted to it.

🚀 Remote MCP Server

Remote MCP comes with all the functionalities of an MCP server without the hassles of complex setup or local installation.

Key benefits:

  • ✅ Works seamlessly in enterprise networks without worrying about firewalls or binaries or where local installation is not allowed.

  • ✅ Secure OAuth integration – no password sharing or manual credential handling.

Limitations:

  • ❌ No Local Testing support (cannot test apps behind VPNs, firewalls, or localhost). If you have to do Local Testing, you would have to use a BrowserStack Local MCP server.
  • ❌ Latency can be slightly higher, but nothing considerable — you generally won’t notice it in normal use.

⚠️ 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.

來源:README.md,提交 577c98f

工具

0
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

24
  1. v2.6.11最新Nov 19, 2026
  2. v2.6.10Nov 19, 2026
  3. v2.6.9Nov 16, 2026
  4. v2.6.8Nov 12, 2026
  5. v2.6.7Nov 12, 2026
  6. v2.6.6Nov 11, 2026
  7. v2.6.5Nov 7, 2026
  8. v2.6.1Nov 4, 2026
  9. v2.6.0Nov 4, 2026
  10. v2.5.0Nov 3, 2026
  11. v2.4.5Oct 30, 2026
  12. v2.4.1Oct 29, 2026
  13. v2.2.8Oct 26, 2026
  14. v2.2.7Oct 23, 2026
  15. v2.2.6Oct 23, 2026
  16. v2.2.5Oct 22, 2026
  17. v2.2.4Oct 19, 2026
  18. v2.2.3Oct 16, 2026
  19. v2.2.2Oct 14, 2026
  20. v2.1.1Oct 5, 2026
  21. v2.1.0Sep 30, 2026
  22. v2.0.0Sep 29, 2026
  23. v1.5.1Sep 28, 2026
  24. v1.0.0Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分