Browser Automation
БесплатноНе проверенAn MCP server for generic browser automation using Playwright. Enables MCP clients to navigate pages, inspect elements, execute JavaScript, capture screenshots,
Описание
An MCP server for generic browser automation using Playwright. Enables MCP clients to navigate pages, inspect elements, execute JavaScript, capture screenshots, and monitor console logs and network traffic via a headless Chromium instance.
README
An MCP (Model Context Protocol) server for generic browser automation using Playwright. Exposes a headless Chromium instance as a set of callable tools so that MCP clients — such as AI coding assistants — can navigate pages, inspect elements, execute JavaScript, capture screenshots, and monitor console logs and network traffic.
Requirements
- Node.js 18+
- npm
Installation
npm install
npx playwright install chromium
Usage
npm run build
npm start
Or for development with hot reload:
npm run dev
The server listens on stdin/stdout using the MCP stdio transport. Configure your MCP client to launch it as a subprocess.
Claude Desktop:
{
"mcpServers": {
"browser-automation": {
"command": "npx",
"args": ["github:ritesh-jain/MCP-Browser-Automation"]
}
}
}
Opencode:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"mcp-browser-automation": {
"type": "local",
"enabled": true,
"command": [
"npx",
"github:ritesh-jain/MCP-Browser-Automation"
]
}
}
}
Tools
| Tool | Description |
|---|---|
navigate |
Navigate to a URL. Supports custom viewport and mobile emulation. |
capture_screenshot |
Take a full-page screenshot (saved to screenshots/). |
get_console_logs |
Retrieve browser console logs. Optionally clear after read. |
get_network_traffic |
Retrieve network requests and responses. Optionally clear after read. |
execute_js |
Execute arbitrary JavaScript in the page context. |
interact |
Click, type, fill, or select on a CSS selector. |
inspect_element |
Return tag name, id, class, inner text, outer HTML, and computed styles for an element. |
Project Structure
src/
types.ts Shared type definitions
McpServer.ts MCP protocol layer — tool registration and dispatch
BrowserManager.ts Playwright orchestration — browser lifecycle and page interactions
index.ts Entry point
How It Works
index.tscreates anMcpBrowserServerand connects viaStdioServerTransport.- An MCP client discovers tools via the
ListToolsrequest and calls them viaCallToolRequest. McpBrowserServerlazily initializes the browser on the first tool call and delegates toBrowserManager.- The browser stays open across calls, enabling multi-step interactions on the same page.
License
ISC
Установка Browser Automation
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/ritesh-jain/MCP-Browser-AutomationFAQ
Browser Automation MCP бесплатный?
Да, Browser Automation MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Browser Automation?
Нет, Browser Automation работает без API-ключей и переменных окружения.
Browser Automation — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Browser Automation в Claude Desktop, Claude Code или Cursor?
Открой Browser Automation на 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 Browser Automation with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории browse
