MCP Playwright CDP
MCP 극작가 CDP
Chrome DevTools Protocol(CDP)을 지원하는 Playwright를 사용하여 브라우저 자동화 기능을 제공하는 모델 컨텍스트 프로토콜 서버입니다. 이 서버를 통해 LLM은 실제 브라우저 환경에서 웹 페이지와 상호 작용하고, 스크린샷을 찍고, JavaScript를 실행할 수 있으며, CDP를 통해 기존 Chrome 인스턴스에 연결할 수 있습니다.
이는 실행 중인 Chrome 인스턴스에 연결하기 위한 CDP 지원이 강화된 executeautomation/mcp-playwright v0.2.7의 포크입니다.
주요 특징
🔗 CDP를 통해 기존 Chrome 인스턴스에 연결
🌐 전체 브라우저 자동화 기능
📸 전체 페이지 또는 특정 요소의 스크린샷 캡처
🖱️ 포괄적인 웹 상호작용(탐색, 클릭, 양식 작성)
📊 콘솔 로그 모니터링
🔧 브라우저 컨텍스트에서의 JavaScript 실행
🌍 HTTP API 테스트 지원
Related MCP server: Browser Manager MCP Server
설치
npm이나 Smithery를 사용하여 패키지를 설치할 수 있습니다.
Smithery를 통해 설치
Smithery를 통해 Claude Desktop용 MCP Playwright CDP를 자동으로 설치하려면:
지엑스피1
수동 설치
npm 사용하기:
npm install구성
Claude Desktop 구성 파일에 다음을 추가하세요.
{
"mcpServers": {
"playwright": {
"command": "node",
"args": ["/path/to/mcp-playwright/dist/index.js"]
}
}
}/path/to/mcp-playwright 저장소의 실제 경로로 바꾸세요.
CDP 연결
이 포크는 CDP를 통해 기존 Chrome 인스턴스에 연결할 수 있는 기능을 추가합니다. 이 기능을 사용하려면 다음 단계를 따르세요.
원격 디버깅을 활성화하여 Chrome을 실행합니다.
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222서버는 새 브라우저를 시작하기 전에 먼저 실행 중인 Chrome 인스턴스에 자동으로 연결을 시도합니다.
크레딧
이 프로젝트는 executeautomation/mcp-playwright 의 포크로, 실행 중인 Chrome 인스턴스에 연결하기 위한 CDP 지원이 강화되었습니다.
특허
이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여되었습니다. 자세한 내용은 라이선스 파일을 참조하세요.
Available Tools
12 toolsplaywright_clickC
Click an element on the page
Inputs: selector (required).
playwright_deleteC
Perform an HTTP DELETE request
Inputs: url (required).
playwright_evaluateC
Execute JavaScript in the browser console
Inputs: script (required).
playwright_fillC
fill out an input field
Inputs: selector (required), value (required).
playwright_getC
Perform an HTTP GET request
Inputs: url (required).
playwright_hoverC
Hover an element on the page
Inputs: selector (required).
playwright_patchC
Perform an HTTP PATCH request
Inputs: url (required), value (required).
playwright_postC
Perform an HTTP POST request
Inputs: url (required), value (required).
playwright_putC
Perform an HTTP PUT request
Inputs: url (required), value (required).
playwright_screenshotC
Take a screenshot of the current page or a specific element
Inputs: name (required), selector, width, height, +3 more.
playwright_selectC
Select an element on the page with Select tag
Inputs: selector (required), value (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Most tools have distinct purposes, but there is some overlap between playwright_click and playwright_select as both interact with page elements, which could cause minor confusion. The HTTP methods (GET, POST, PUT, PATCH, DELETE) are clearly differentiated, and other tools like playwright_navigate, playwright_screenshot, and playwright_evaluate have unique functions.
All tool names follow a consistent 'playwright_' prefix with a verb or action (e.g., click, get, navigate), using snake_case uniformly. This predictable pattern makes it easy for agents to understand and navigate the tool set without naming conflicts or style variations.
With 12 tools, the count is well-scoped for a Playwright CDP server, covering essential web automation tasks like navigation, interaction, HTTP requests, and debugging. Each tool serves a specific purpose, avoiding bloat while providing comprehensive functionality for the domain.
The tool set covers key areas: navigation, element interaction, HTTP methods, and debugging (screenshot, evaluate). Minor gaps exist, such as missing tools for handling cookies, waiting for elements, or managing browser contexts, but core workflows are well-supported, allowing agents to perform most common automation tasks.
Maintenance
Related MCP Connectors
Playwright browser automation — navigate, click, fill forms, extract, screenshot — 17 agent tools.
Control a real browser from AI agents: navigate, click, type, screenshot, read the page.
Give AI agents a real cloud Chrome: open sessions, navigate, read pages, click, type and screenshot.
Provides cloud browser automation capabilities using Stagehand and Browserbase, enabling LLMs to i…
Related MCP Servers
AlicenseNot gradedqualityDmaintenanceEnables comprehensive browser automation and web interaction through Playwright with 50+ specialized functions for navigation, form filling, data extraction, and Chrome DevTools Protocol support. Designed specifically for AI agents to perform complex web workflows including scraping, testing, and automated browsing tasks.14 npm1Apache 2.0- AlicenseNot gradedqualityDmaintenanceEnables comprehensive browser automation and control through Playwright, including launching browsers, managing tabs, web navigation, element interaction, and screenshot capture. Supports detecting and controlling external browsers with remote debugging capabilities.ISC
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to perform browser automation tasks including web scraping, taking screenshots, and executing JavaScript using Playwright. It facilitates real-time interaction with web pages and the generation of automated test code.27 npmMIT
- -licenseNot gradedqualityNot gradedmaintenanceEnables AI coding assistants to control and inspect a live Chrome browser for automated debugging, performance analysis, and web interaction. It leverages Puppeteer and Chrome DevTools to provide capabilities like network monitoring, console logging, and automated browser actions.-