mcp-playwright

MIT License
9,719
3,179
  • Linux
  • Apple

Integrations

  • Provides the ability to execute arbitrary JavaScript code in the browser context through the playwright_evaluate tool.

개발자를 위한 AI 터미널, 워프

MacOS, Linux 및 Windows에서 사용 가능

극작가 MCP 서버 🎭

Playwright를 사용하여 브라우저 자동화 기능을 제공하는 모델 컨텍스트 프로토콜 서버입니다. 이 서버를 통해 LLM은 웹 페이지와 상호 작용하고, 스크린샷을 찍고, 테스트 코드를 생성하고, 페이지를 웹 스크랩하고, 실제 브라우저 환경에서 JavaScript를 실행할 수 있습니다.

스크린샷

문서 | API 참조

설치

npm, mcp-get 또는 Smithery를 사용하여 패키지를 설치할 수 있습니다.

npm 사용하기:

지엑스피1

mcp-get을 사용합니다.

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

대장간 사용

Smithery를 통해 Claude Desktop용 Playwright MCP를 자동으로 설치하려면:

npx -y @smithery/cli install @executeautomation/playwright-mcp-server --client claude
VS Code에 설치

다음 버튼 중 하나를 사용하여 VS Code에 Playwright MCP 서버를 설치하세요.

또는 VS Code CLI를 사용하여 Playwright MCP 서버를 설치할 수 있습니다.

# 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"]}'

설치 후 ExecuteAutomation Playwright MCP 서버를 VS Code의 GitHub Copilot 에이전트와 함께 사용할 수 있습니다.

Playwright Server를 사용하기 위한 구성

Playwright 서버를 사용하기 위한 Claude Desktop 구성은 다음과 같습니다.

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

테스트

이 프로젝트에서는 Jest를 사용하여 테스트합니다. 테스트는 src/__tests__ 디렉터리에 있습니다.

테스트 실행

다음 명령 중 하나를 사용하여 테스트를 실행할 수 있습니다.

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

테스트 커버리지 보고서는 coverage 디렉토리에 생성됩니다.

스타 역사

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.

Playwright를 사용하여 브라우저 자동화 기능을 제공하는 모델 컨텍스트 프로토콜 서버입니다. 이 서버를 통해 LLM은 실제 브라우저 환경에서 웹 페이지와 상호 작용하고, 스크린샷을 찍고, JavaScript를 실행할 수 있습니다.

  1. Playwright MCP Server 🎭
    1. Screenshot
    2. Documentation | API reference
    3. Installation
    4. Configuration to use Playwright Server
    5. Testing
    6. Star History

Related MCP Servers

  • A
    security
    F
    license
    A
    quality
    A server that enables browser automation using Playwright, allowing interaction with web pages, capturing screenshots, and executing JavaScript in a browser environment through LLMs.
    Last updated -
    12
    9,719
    1
    TypeScript
  • -
    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
    F
    license
    -
    quality
    A Model Context Protocol server that provides browser automation capabilities using BrowserCat's cloud browser service. This server enables LLMs to interact with web pages, take screenshots, and execute JavaScript in a real browser environment without needing to install browsers locally.
    Last updated -
    39
  • -
    security
    F
    license
    -
    quality
    A Model Context Protocol server that provides browser automation capabilities using Puppeteer, enabling LLMs to interact with web pages, take screenshots, and execute JavaScript in a real browser environment.
    Last updated -
    15,502
    JavaScript

View all related MCP servers

ID: yh4lgtwgbe