Playwright Tools
БесплатноНе проверенPlaywright browser automation tools for MCP enabling navigation, interaction, content extraction, and semantic locators.
Описание
Playwright browser automation tools for MCP enabling navigation, interaction, content extraction, and semantic locators.
README
MCP server for browser automation and GUI testing with Playwright.
Control a browser via chat: navigate, click, fill forms, take screenshots — and record everything as pytest test code.
Features
- Browser automation — Navigation, interaction, content extraction
- Test recording — Record actions → generate pytest code
- Dual transport — stdio (Claude Desktop) + Streamable HTTP (remote MCP)
- OAuth 2.0 — Authentication for HTTP access (optional)
Quickstart
stdio (Claude Desktop)
git clone https://github.com/cuber-it/mcp_playwright_tools.git
cd mcp_playwright_tools
python -m venv .venv
.venv/bin/pip install -r requirements.txt
.venv/bin/playwright install chromium --with-deps
./run.sh
Claude Desktop config (~/.config/Claude/claude_desktop_config.json):
{
"mcpServers": {
"playwright": {
"command": "/path/to/mcp_playwright_tools/run.sh"
}
}
}
Streamable HTTP
./run.sh --http # Port 12201 (default)
./run.sh --http 12201 # Explicit port
./run.sh --http --headed # With browser GUI
Tools
Navigation
navigate— Open URLcurrent_url— Current URLgo_back/go_forward— Browser historyreload— Reload page
Content
get_title— Page titleget_text/get_all_texts— Text from elementsget_page_content— Visible page textget_html— HTML of an elementget_links— All links on the pageget_attribute— Read element attribute
Interaction
click— Click elementfill— Fill input fieldtype_text— Type character by characterpress— Press keyselect_option/select_option_by_text— Dropdowncheck/uncheck— Checkboxhover/focus/clear
Browser
screenshot/screenshot_element— Screenshotswait_for/wait_for_hidden/wait_for_url— Wait for elements/stateset_headless— Toggle headless/headed modeset_viewport— Viewport sizescroll_to/scroll_page— Scrollingget_browser_info— Status info
Recording
start_recording— Start recording actionsstop_recording— Stop recording (shows preview)save_test— Save as pytest filerecording_status— Current status
Configuration
Environment Variables
| Variable | Default | Description |
|---|---|---|
MCP_HOST |
127.0.0.1 |
Bind address (HTTP mode) |
MCP_PORT |
12201 |
Server port |
PLAYWRIGHT_HEADLESS |
true |
Browser headless/headed |
MCP_OAUTH_ENABLED |
false |
Enable OAuth |
MCP_OAUTH_SERVER_URL |
– | OAuth server URL |
MCP_PUBLIC_URL |
– | Public server URL |
Port Schema
12201— MCP Server (Streamable HTTP)12202— Health endpoint
Version
v0.2.0 — See CHANGELOG.md
Установка Playwright Tools
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/cuber-it/mcp_playwright_toolsFAQ
Playwright Tools MCP бесплатный?
Да, Playwright Tools MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Playwright Tools?
Нет, Playwright Tools работает без API-ключей и переменных окружения.
Playwright Tools — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Playwright Tools в Claude Desktop, Claude Code или Cursor?
Открой Playwright Tools на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Playwright
Browser automation, scraping, screenshots
автор: MicrosoftPuppeteer
Browser automation and web scraping.
автор: modelcontextprotocolopentabs-dev/opentabs
Plugin-based MCP server + Chrome extension that gives AI agents access to web applications through the user's authenticated browser session. 100+ plugins with a
автор: opentabs-devrobhunter/agentdeals
1,500+ developer infrastructure deals, free tiers, and startup programs across 54 categories. Search deals, compare vendors, plan stacks, and track pricing chan
автор: robhunterCompare Playwright Tools with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории browse
