Chrome Automation
БесплатноНе проверенA Model Context Protocol (MCP) server for browser automation using Playwright to control Chrome browsers.
Описание
A Model Context Protocol (MCP) server for browser automation using Playwright to control Chrome browsers.
README
中文版文档:docs/README-zh.md
A Model Context Protocol (MCP) server for browser automation using Playwright to control Chrome browsers.
Installation
npm install -g [email protected]
Requirements:
- Node.js 18.0.0 or higher
- Google Chrome browser
MCP Configuration
Claude Desktop Setup
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"chrome-automation": {
"command": "chrome-automation-mcp-full"
}
}
}
Lite Mode (Essential Tools Only)
{
"mcpServers": {
"chrome-automation": {
"command": "chrome-automation-mcp"
}
}
}
Available Tools
🚀 Browser Management
launch_browser- Launch Chrome browser with session managementconnect_browser- Connect to existing Chrome instanceclose_browser- Close browser connection
📍 Navigation & Interaction
navigate_to- Navigate to URLclick- Click on elements with smart visibility detectiontype_text- Type text into input fieldsscroll- Scroll page to find hidden elementswait_for- Wait for elements (auto-switches to new tabs)
📊 Information Gathering
read_text- Read text content from page/elementsget_elements- Get element information and attributesscreenshot- Take page screenshotsget_page_info- Get current page information
🖥️ Tab Management
switch_to_tab- Switch between tabsget_tabs- Get information about all open tabs
💻 Code Execution
run_script- Execute external JavaScript files with browser accessevaluate- Execute JavaScript in browser contextset_storage- Set browser storage (cookies, localStorage, etc.)
⚙️ Session Management
list_sessions- List active browser sessionspress_key- Press keyboard keys with modifiersgo_back- Navigate back in browser history
Quick Start
- Launch Browser
{"tool": "launch_browser", "arguments": {}}
- Navigate to Website
{"tool": "navigate_to", "arguments": {"url": "https://google.com"}}
- Take Screenshot
{"tool": "screenshot", "arguments": {"fullPage": true}}
Script Development
Create custom automation scripts:
// my-automation-script.js
const searchQuery = args.query || 'MCP servers';
// Navigate to Google
await page.goto('https://google.com');
// Search
await page.fill('input[name="q"]', searchQuery);
await page.press('input[name="q"]', 'Enter');
// Wait for results
await page.waitForSelector('h3');
// Get all results
const results = await page.$$eval('h3', els =>
els.map(el => el.textContent)
);
return {
query: searchQuery,
searchResults: results,
count: results.length
};
Use the script:
{
"tool": "run_script",
"arguments": {
"scriptPath": "./my-automation-script.js",
"args": {"query": "playwright automation"}
}
}
Available in scripts:
browser- Playwright browser instancepage- Current page objectargs- Passed arguments
Lite Mode Features
Lite mode includes only essential tools for basic automation:
- Browser management (
launch_browser,close_browser) - Script execution (
run_script) - Storage management (
set_storage)
Perfect for lightweight integrations and custom script-based workflows.
Links
Built with ❤️ for the MCP ecosystem
Установка Chrome Automation
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/JackZhao98/chrome-automation-mcpFAQ
Chrome Automation MCP бесплатный?
Да, Chrome Automation MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Chrome Automation?
Нет, Chrome Automation работает без API-ключей и переменных окружения.
Chrome Automation — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Chrome Automation в Claude Desktop, Claude Code или Cursor?
Открой Chrome 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 Chrome Automation with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории browse
