Skip to main content
Glama
BrowserStack MCP server

BrowserStack MCP server

Official
by browserstack

Servidor MCP de BrowserStack

Habilite a todos los desarrolladores y testers de su equipo, ya sea que realicen pruebas manuales, inicien su proceso de automatización o escalen la automatización de pruebas. BrowserStack MCP Server le permite usar nuestra innovadora plataforma de pruebas directamente desde sus herramientas de IA favoritas.

¿Por qué BrowserStack?

💡 Ejemplos de uso

Pruebas manuales de aplicaciones

Usa las siguientes indicaciones para usar tus aplicaciones móviles en la extensa nube de dispositivos reales de BrowserStack. ¡Deja de usar emuladores!

# 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?"

Pruebas web manuales

Al igual que con las pruebas de aplicaciones, puedes usar las siguientes indicaciones para probar tus sitios web en la extensa nube de navegadores y dispositivos reales de BrowserStack. ¿No tienes el navegador Edge instalado en tu equipo? ¡Nosotros te ayudamos!

# Test your local websites
"open my website hosted on localhost:3001 on Edge"
  • Pruebe sitios web en diferentes navegadores y dispositivos. Somos compatibles con todos los navegadores principales y los principales sistemas operativos.

  • Pruebe sin problemas sitios web alojados localmente en su máquina, ¡sin necesidad de implementarlos en un servidor remoto!

🧪 Pruebas automatizadas (Playwright, Selenium, A11y y más...)

Utilice las siguientes indicaciones para ejecutar/depurar/reparar sus pruebas automatizadas en la plataforma de pruebas de BrowserStack.

# 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"

📋 Gestión de pruebas

Utilice las siguientes indicaciones para utilizar las capacidades de gestión de pruebas de BrowserStack con el servidor MCP.

# 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"

Related MCP server: Portainer MCP

🛠️ Instalación

  1. Crear una cuenta de BrowserStack

    • Regístrese en BrowserStack si aún no tiene una cuenta.

    • ℹ️ Si tienes un proyecto de código abierto, podremos ofrecerte un plan gratuito .

    • Una vez que tenga una cuenta (y haya comprado el plan apropiado), anote su username y access_key en Configuración de la cuenta .

  2. Asegúrese de usar la versión de Node ≥ 18.0 . Compruebe la versión de su nodo con node --version . Versión recomendada: v22.15.0 (LTS)

  3. Instalar el servidor MCP

    • VSCode (Copiloto - Modo Agente): .vscode/mcp.json :

    {
      "servers": {
        "browserstack": {
          "command": "npx",
          "args": ["-y", "@browserstack/mcp-server@latest"],
          "env": {
            "BROWSERSTACK_USERNAME": "<username>",
            "BROWSERSTACK_ACCESS_KEY": "<access_key>"
          }
        }
      }
    }
    • En VSCode, asegúrese de hacer clic en el botón Start en el servidor MCP para iniciar el servidor.Iniciar el servidor MCP

    • Para el cursor: .cursor/mcp.json :

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

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

Instalación mediante herrería

Para instalar BrowserStack Test Platform Server para Claude Desktop automáticamente a través de Smithery :

npx -y @smithery/cli install @browserstack/mcp-server --client claude

🤝 Clientes MCP recomendados

  • Recomendamos utilizar Github Copilot o Cursor para casos de uso de pruebas y depuración automatizadas.

  • Para casos de uso de pruebas manuales (pruebas en vivo), recomendamos utilizar Claude Desktop .

⚠️ Notas importantes

  • El servidor MCP de BrowserStack se encuentra en desarrollo activo y actualmente es compatible con un subconjunto de la especificación MCP. Próximamente se añadirán más funciones.

  • Las invocaciones de herramientas dependen del cliente MCP, que a su vez depende de un LLM. Por lo tanto, puede haber comportamientos no deterministas que generen resultados inesperados. Si tiene alguna sugerencia o comentario, abra un problema para discutirlo.

📝 Contribuyendo

¡Agradecemos sus contribuciones! Abra un problema para comentar cualquier cambio que desee realizar. 👉 Haga clic aquí para consultar nuestras Pautas de Contribución.

📞 Soporte

Para obtener ayuda, por favor:

🚀 Próximamente más funciones

¡Estén atentos a las novedades! ¿Tienen alguna sugerencia? Por favor, abran un problema para discutirlo.

🔗 Recursos

Available Tools

5 tools
getFailuresInLastRunAInspect

Use 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.

Inputs: buildName (required), projectName (required).

runAppLiveSessionBInspect

Use this tool when user wants to manually check their app on a particular mobile device using BrowserStack's cloud infrastructure. Can be used to debug crashes, slow performance, etc.

Inputs: appPath (required), desiredPhone (required), desiredPlatform (required), desiredPlatformVersion (required).

runBrowserLiveSessionBInspect

Use this tool when user wants to manually check their website on a particular browser and OS combination using BrowserStack's cloud infrastructure. Can be used to debug layout issues, compatibility problems, etc.

Inputs: desiredBrowser (required), desiredBrowserVersion (required), desiredOS (required), desiredOSVersion (required), +1 more.

runTestsOnBrowserStackCInspect

Use this tool to get instructions for running tests on BrowserStack.

Inputs: desiredPlatforms (required), detectedBrowserAutomationFramework (required), detectedLanguage (required), detectedTestingFramework (required).

startAccessibilityScanCInspect

Use this tool to start an accessibility scan for a list of URLs on BrowserStack.

Inputs: name (required), pageURL (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose with no overlap: getFailuresInLastRun is for debugging test failures, runAppLiveSession is for manual mobile app testing, runBrowserLiveSession is for manual website testing, runTestsOnBrowserStack is for test execution instructions, and startAccessibilityScan is for accessibility scanning. The descriptions reinforce these distinct use cases, making tool selection unambiguous.

    Naming Consistency3/5

    The naming follows a mixed pattern: three tools use 'run' as a verb (runAppLiveSession, runBrowserLiveSession, runTestsOnBrowserStack), while getFailuresInLastRun uses 'get' and startAccessibilityScan uses 'start'. All tools use camelCase consistently, but the verb choices vary, creating a readable but not fully consistent convention across the set.

    Tool Count5/5

    With 5 tools, this is well-scoped for a BrowserStack testing server. Each tool serves a distinct and essential function in the testing workflow—debugging, manual testing (app and browser), test execution, and accessibility scanning—making the count appropriate without being too sparse or bloated.

    Completeness4/5

    The toolset covers key BrowserStack functionalities: debugging failures, manual testing for apps and browsers, test execution guidance, and accessibility scanning. Minor gaps might include automated test reporting or configuration management, but the core workflows are well-covered, allowing agents to perform most common testing tasks effectively.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers