MCP-Server-Playwright
목차
Related MCP server: Playwright MCP Server for Security
특징
🌐 전체 브라우저 자동화 기능
📸 전체 페이지 또는 특정 요소의 스크린샷 캡처
🖱️ 포괄적인 웹 상호작용(탐색, 클릭, 양식 작성)
📊 콘솔 로그 모니터링
🔧 브라우저 컨텍스트에서의 JavaScript 실행
설치
Smithery를 통해 설치
Smithery를 통해 Claude Desktop용 MCP Server Playwright를 자동으로 설치하려면:
지엑스피1
npx 또는 mcp-get을 사용하여 패키지를 설치할 수 있습니다.
npx 사용:
npx @automatalabs/mcp-server-playwright install이 명령은 다음을 수행합니다.
운영 체제 호환성 확인(Windows/macOS)
Claude 구성 파일을 생성하거나 업데이트합니다.
Playwright 서버 통합 구성
구성 파일은 다음 위치에서 자동으로 생성/업데이트됩니다.
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
mcp-get을 사용합니다.
npx @michaellatman/mcp-get@latest install @automatalabs/mcp-server-playwright구성
설치 과정에서 다음 구성이 Claude 구성 파일에 자동으로 추가됩니다.
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": ["-y", "@automatalabs/mcp-server-playwright"]
}
}
}구성 요소
도구
browser_navigate
브라우저에서 모든 URL로 이동합니다.
{
"url": "https://stealthbrowser.cloud"
}browser_screenshot
전체 페이지 또는 특정 요소의 스크린샷을 캡처합니다.
{
"name": "screenshot-name", // required
"selector": "#element-id", // optional
"fullPage": true // optional, default: false
}browser_click
CSS 선택기를 사용하여 페이지의 요소를 클릭합니다.
{
"selector": "#button-id"
}browser_click_text
페이지의 텍스트 콘텐츠를 클릭하여 요소를 클릭합니다.
{
"text": "Click me"
}browser_hover
CSS 선택기를 사용하여 페이지의 요소 위에 마우스를 올려놓으세요
{
"selector": "#menu-item"
}browser_hover_text
페이지의 텍스트 콘텐츠에 있는 요소 위에 마우스를 올려 놓으세요.
{
"text": "Hover me"
}browser_fill
입력 필드를 작성하세요
{
"selector": "#input-field",
"value": "Hello World"
}browser_select
CSS 선택기를 사용하여 SELECT 요소에서 옵션 선택
{
"selector": "#dropdown",
"value": "option-value"
}browser_select_text
SELECT 요소의 텍스트 내용을 통해 옵션을 선택합니다.
{
"text": "Choose me",
"value": "option-value"
}browser_evaluate
브라우저 콘솔에서 JavaScript 실행
{
"script": "document.title"
}자원
콘솔 로그 (
console://logs)텍스트 형식으로 브라우저 콘솔 출력에 액세스합니다.
브라우저의 모든 콘솔 메시지를 포함합니다.
스크린샷 (
screenshot://<n>)캡처된 스크린샷의 PNG 이미지에 액세스
캡처 중에 지정된 이름으로 참조됨
특허
이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여되었습니다. 자세한 내용은 라이선스 파일을 참조하세요.
Available Tools
10 toolsbrowser_clickB
Click an element on the page using CSS selector
Inputs: selector (required).
browser_click_textB
Click an element on the page by its text content
Inputs: text (required).
browser_evaluateC
Execute JavaScript in the browser console
Inputs: script (required).
browser_fillB
Fill out an input field
Inputs: selector (required), value (required).
browser_hoverA
Hover an element on the page using CSS selector
Inputs: selector (required).
browser_hover_textB
Hover an element on the page by its text content
Inputs: text (required).
browser_screenshotB
Take a screenshot of the current page or a specific element
Inputs: name (required), selector, fullPage.
browser_selectC
Select an element on the page with Select tag using CSS selector
Inputs: selector (required), value (required).
browser_select_textC
Select an element on the page with Select tag by its text content
Inputs: text (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 10 tools
Each tool has a clearly distinct purpose. Pairwise similar tools like click and click_text are differentiated by CSS selector vs text content, making ambiguity minimal.
All tools follow a consistent 'browser_verb' pattern, with optional '_text' suffix for text-based selectors. Snake_case is used uniformly.
10 tools is an appropriate number for browser automation, covering essential actions without being overwhelming. The scope is well-defined.
The set covers core browser interactions (navigation, click, fill, select, hover, evaluate, screenshot). Missing operations like waiting, scrolling, or keyboard input are minor gaps.
Maintenance
Related MCP Connectors
Control a real browser from AI agents: navigate, click, type, screenshot, read the page.
A real browser for your agent: screenshots, page checks, Markdown and PDFs.
Hosted browser for agents: open pages, search the web, extract data, read PDFs and take screenshots.
Provides cloud browser automation capabilities using Stagehand and Browserbase, enabling LLMs to i…
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables LLMs to perform web browsing tasks, take screenshots, and execute JavaScript using Puppeteer for browser automation.41MIT
- 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.23 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to drive a real browser for web scraping, page interaction, screenshots, JavaScript execution, automated test generation, and responsive device emulation through natural language tool calls.13,875 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to control a browser through tools for web automation, including navigation, typing, clicking, and taking screenshots.Apache 2.0