Skip to main content
Glama

Playwright MCP Server

by pvinis

Servidor MCP de dramaturgo 🎭

Un servidor de Protocolo de Contexto de Modelo que proporciona funciones de automatización del navegador mediante Playwright. Este servidor permite a los LLM interactuar con páginas web, tomar capturas de pantalla, generar código de prueba, extraer fragmentos web de la página y ejecutar JavaScript en un entorno de navegador real.

Captura de pantalla

Dramaturgo + Claude

Documentación | Referencia de API

Instalación

Puede instalar el paquete utilizando npm, mcp-get o Smithery:

Usando npm:

npm install -g @executeautomation/playwright-mcp-server

Usando mcp-get:

npx @michaellatman/mcp-get@latest install @executeautomation/playwright-mcp-server

Uso de herrería

Para instalar Playwright MCP para Claude Desktop automáticamente a través de Smithery :

npx -y @smithery/cli install @executeautomation/playwright-mcp-server --client claude
Instalación en VS Code

Instale el servidor Playwright MCP en VS Code usando uno de estos botones:

Alternativamente, puede instalar el servidor Playwright MCP usando la CLI de VS Code:

# For VS Code code --add-mcp '{"name":"playwright","command":"npx","args":["@executeautomation/playwright-mcp-server"]}'
# For VS Code Insiders code-insiders --add-mcp '{"name":"playwright","command":"npx","args":["@executeautomation/playwright-mcp-server"]}'

Después de la instalación, el servidor ExecuteAutomation Playwright MCP estará disponible para su uso con su agente GitHub Copilot en VS Code.

Configuración para utilizar Playwright Server

Aquí está la configuración de Claude Desktop para utilizar el servidor Playwright:

{ "mcpServers": { "playwright": { "command": "npx", "args": ["-y", "@executeautomation/playwright-mcp-server"] } } }

Pruebas

Este proyecto utiliza Jest para las pruebas. Las pruebas se encuentran en el directorio src/__tests__ .

Ejecución de pruebas

Puede ejecutar las pruebas utilizando uno de los siguientes comandos:

# Run tests using the custom script (with coverage) node run-tests.cjs # Run tests using npm scripts npm test # Run tests without coverage npm run test:coverage # Run tests with coverage npm run test:custom # Run tests with custom script (same as node run-tests.cjs)

El informe de cobertura de la prueba se generará en el directorio coverage .

Historia de las estrellas

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Un servidor de protocolo de contexto de modelo que permite a los LLM interactuar con páginas web, tomar capturas de pantalla, generar código de prueba, extraer páginas web y ejecutar JavaScript en un entorno de navegador real.

  1. Captura de pantalla
    1. Documentación | Referencia de API
      1. Instalación
        1. Instalación en VS Code
      2. Configuración para utilizar Playwright Server
        1. Pruebas
          1. Ejecución de pruebas
        2. Historia de las estrellas

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            A Model Context Protocol server that provides browser automation capabilities using Playwright. This server enables LLMs to interact with web pages, take screenshots, and execute JavaScript in a real browser environment.
            Last updated -
            13
            9,457
            3,642
            TypeScript
            MIT License
            • Linux
            • Apple
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol server that provides browser automation capabilities using Playwright, enabling LLMs to interact with web pages, take screenshots, and execute JavaScript in a real browser environment.
            Last updated -
            3
            Python
            Apache 2.0
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol server that allows LLMs to interact with web content through standardized tools, currently supporting web scraping functionality.
            Last updated -
            Python
            MIT License
            • Linux
            • Apple
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol server that enables LLMs to automate web browsers using Puppeteer, allowing navigation, screenshots, form filling, and JavaScript execution in a real browser environment.
            Last updated -
            JavaScript
            MIT License

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/pvinis/mcp-playwright-stealth'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server