BP

blackwhite084/playwright-plus-python-mcp

Browser automation

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

188 stars 28 forks 품질 64 트렌드 17Apache-2.0

blackwhite084/playwright-plus-python-mcp는 [[T0]에서 가져온 MCP 서버 후보입니다.

개요

blackwhite084/playwright-plus-python-mcp는 [[T0]에서 가져온 MCP 서버 후보입니다.

개요(AI 번역)

\극작가 도구가 있는 MCP 서버\

구성 요소

자료

서버는 다음과 같은 간단한 노트 저장 시스템을 구현합니다:

  • 개별 노트에 접근하기 위한 맞춤형 note:// URI 방식
  • 각 노트 리소스는 이름, 설명, 텍스트/평범 모임타입을 가집니다

프롬프트

서버는 단 하나의 프롬프트를 제공합니다:

  • 요약 노트: 저장된 모든 노트의 요약을 생성합니다
  • 세부 수준 제어를 위한 선택적 “style” 인자(간략/상세)
  • 현재 모든 노트와 스타일 선호도를 결합하여 프롬프트 생성

도구

서버는 다음과 같은 도구를 구현합니다:

  • playwright_navigate: 지정된 URL로 이동합니다. 활성 세션이 없으면 자동으로 새 세션을 생성합니다.
  • url 인수(문자열)가 필요합니다.
  • playwright_screenshot: 현재 페이지나 특정 요소의 스크린샷을 찍습니다.
  • 스크린샷 파일 이름에 대해 name 인수(문자열)가 필요합니다.
  • 스크린샷할 요소의 CSS 셀렉터를 지정하는 선택적 selector 인자(문자열). 셀렉터가 제공되지 않으면 전체 페이지 스크린샷을 촬영합니다.
  • playwright_click: CSS 셀렉터를 사용해 페이지의 요소를 클릭합니다.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

playwright-server MCP server

\A MCP server with playwright tools\

Components

Resources

The server implements a simple note storage system with:

  • Custom note:// URI scheme for accessing individual notes
  • Each note resource has a name, description and text/plain mimetype

Prompts

The server provides a single prompt:

  • summarize-notes: Creates summaries of all stored notes
    • Optional “style” argument to control detail level (brief/detailed)
    • Generates prompt combining all current notes with style preference

Tools

The server implements the following tools:

  • playwright_navigate: Navigates to a specified URL. This operation will automatically create a new session if there is no active session.
    • Requires a url argument (string).
  • playwright_screenshot: Takes a screenshot of the current page or a specific element.
    • Requires a name argument (string) for the screenshot file name.
    • Optional selector argument (string) to specify a CSS selector for the element to screenshot. If no selector is provided, a full-page screenshot is taken.
  • playwright_click: Clicks an element on the page using a CSS selector.
    • Requires a selector argument (string) to specify the CSS selector for the element to click.
  • playwright_fill: Fills out an input field.
    • Requires a selector argument (string) to specify the CSS selector for the input field.
    • Requires a value argument (string) to specify the value to fill.
  • playwright_evaluate: Executes JavaScript code in the browser console.
    • Requires a script argument (string) to specify the JavaScript code to execute.
  • playwright_click_text: Clicks an element on the page by its text content.
    • Requires a text argument (string) to specify the text content of the element to click.
  • playwright_get_text_content: Get the text content of all visiable elements.
  • playwright_get_html_content: Get the HTML content of the page.
    • Requires a selector argument (string) to specify the CSS selector for the element.

Configuration

[TODO: Add configuration details specific to your implementation]

Quickstart

Install

Claude Desktop

On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

"mcpServers": {
  "playwright-server": {
    "command": "uvx",
    "args": [
GitHub에서 전체 README 보기

설치

uvx playwright-server
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →