mcp-chrome-devtools
БесплатноЗапускает вложенные скриптыНе проверенChrome DevTools orchestrator: routes between bdg CLI (fast, token-efficient) and Code Mode MCP (multi-tool integration).
от MichelKerkmeester★ 40 звёзд на GitHubОб этом скилле
Chrome DevTools Orchestrator - CLI + MCP Integration
Browser debugging and automation through two complementary approaches: CLI (bdg) for speed and token efficiency, MCP for multi-tool integration.
1. WHEN TO USE
Activation Triggers
Use when:
- User mentions "browser debugging", "Chrome DevTools", "CDP" explicitly
- User asks to inspect, test, or automate browser tasks with lightweight CLI approach
- User wants screenshots, HAR files, console logs, or network inspection via terminal
- User mentions "bdg" or "browser-debugger-cli" explicitly
- User needs quick DOM queries, cookie manipulation, or JavaScript execution in browser
- User wants terminal-based browser automation with Unix pipe composability
- User needs production-ready automation scripts for CI/CD browser testing
Automatic Triggers:
- "bdg", "browser-debugger-cli" mentioned explicitly
- "lightweight browser debugging" or "quick CDP access"
- "terminal-based browser automation"
- "screenshot without Puppeteer"
When NOT to Use
Do not use for:
- Complex UI testing suites requiring sophisticated frameworks (use Puppeteer/Playwright)
- Heavy multi-step automation workflows better suited for frameworks
- Cross-browser testing (bdg supports Chrome/Chromium/Edge only)
- Visual regression testing or complex test frameworks
- When user explicitly requests Puppeteer, Playwright, or Selenium
2. SMART ROUTING
The mcp-browser-use hub picks the workflow mode, and a request naming Chrome DevTools, CDP, bdg or browser debugging selects this packet through that hub mode signal.
The first loads are references/cdp-patterns.md for the CDP command patterns and references/session-management.md for the session lifecycle.
references/troubleshooting.md serves install and troubleshooting intent, and the full diagnostics wait for their on-demand keywords.
Read ROUTER.md before selecting skill-local resources; open only the matched files.
3. HOW IT WORKS
Tool Comparison
Prefer CLI (bdg) for fast, low-token browser inspection. Use MCP via Code Mode when browser work must be chained with other tools or parallel isolated sessions.
CLI Approach (Priority) - browser-debugger-cli (bdg)
Installation & Verification
Check with command -v bdg, install with npm install -g [email protected], then verify bdg --version 2>&1.
MCP Approach (Fallback) - Chrome DevTools via Code Mode
When CLI unavailable or multi-tool integration needed.
Prerequisites
- Code Mode configured in
.utcp_config.json - Chrome DevTools MCP server registered with
--isolated=true
Isolated Instances
Key Feature: MCP uses --isolated=true flag for independent browser instances.
Benefits of isolated instances:
- Each instance runs in its own browser process
- Multiple parallel browser sessions possible
- No session conflicts between instances
- Register multiple instances for parallel testing (e.g.,
chrome_devtools_1,chrome_devtools_2)
Configure one or more Chrome DevTools MCP entries in .utcp_config.json with --isolated=true when parallel browser sessions are needed.
Live Instance (Your Own Chrome)
chrome_devtools_live runs chrome-devtools-mcp --autoConnect and attaches to the Chrome the user already has open, with its logins. Use it only for signed-in work that an isolated browser cannot do, such as the ClickUp editor pass, because an isolated instance starts logged out on every run. Aside owns that work by default, and this instance is its fallback.
- Setup, once: the user turns on remote debugging at
chrome://inspect/#remote-debugging. Chrome must be open, and it may ask the user to allow each new connection. - Stay out of the user's way: open pages with
new_page({ url, background: true }), which keeps the user's view as it is and selects the new tab for later calls. Close only the tab you opened, found by the page ID that appeared inlist_pagesafter yournew_page, never by URL, since the user may have the same page open. Never navigate, press keys in or close a tab you did not open. - Fallback, not default: the isolated instances stay the default for every other MCP task.
Configuration Check
cat .utcp_config.json | jq '.manual_call_templates[] | select(.name | startswith("chrome_devtools"))'
Invocation Pattern
Tool naming is {manual_name}.{manual_name}_{tool_name}. Run MCP browser operations inside call_tool_chain() and close pages in a finally block.
Available MCP Tools
Common MCP tools include navigation, screenshots, console messages, viewport resize, clicks, form fill, hover, keyboard, waits, page creation/selection/close. Use underscores in tool names and confirm exact names with Code Mode discovery.
When to Prefer MCP
- Already using Code Mode for other tools (external services, Figma, etc.)
- Need to chain browser operations with other MCP tools
- **Parallel browser testing
Установить mcp-chrome-devtools в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashEditGlobGrepmcp__code_mode__call_tool_chainReadWriteВложенные файлы
FAQ
Что делает скилл mcp-chrome-devtools?
Chrome DevTools orchestrator: routes between bdg CLI (fast, token-efficient) and Code Mode MCP (multi-tool integration).
Как установить скилл mcp-chrome-devtools?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл mcp-chrome-devtools запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic