Chrome Devtools Cli
Browser automation CLI that drives Chrome DevTools from shell scripts with persistent page state across commands.
- CCM score
- 70 of 100
- skills.sh installs
- 9.5K
- GitHub stars
- 59.8K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers page inspection, input automation, navigation, emulation, performance tracing, memory heap analysis, and network requests
- Includes commands such as
take_snapshot,click,fill,navigate_page,emulate,performance_start_trace, andtake_heapsnapshot - Enforces file access by default with
--allowUnrestrictedPaths=true, which can be set tofalseto restrict paths to the OS temp directory - Designed for scripting browser tasks from a terminal, with a background server that starts implicitly on first use
Install
$ npx -y skills add chromedevtools/chrome-devtools-mcp --skill chrome-devtools-cli -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
The chrome-devtools-mcp CLI lets you interact with the browser from your terminal.
Setup
Note: If this is your very first time using the CLI, see references/installation.md for setup. Installation is a one-time prerequisite and is not part of the regular AI workflow.
AI Workflow
- Execute: Run tools directly. If you don't know the target page's ID, run
chrome-devtools list_pagesto find it. The background server starts implicitly; do not runstart/status/stopbefore each use. - Inspect: Use
chrome-devtools take_snapshot <pageId>to get an element<uid>. - Act: Use
chrome-devtools click <pageId> <uid>,chrome-devtools fill <pageId> <uid> <value>, etc. State persists across commands.
Snapshot example:
uid=1_0 RootWebArea "Example Domain" url="https://example.com/"
uid=1_1 heading "Example Domain" level="1"
Permissions & File Access
Details
- Repository
- github.com/chromedevtools/chrome-devtools-mcp
- Categories
- Browser Automation & Scraping, CLI & Terminal
- First seen
- May 16, 2026
More from chromedevtools/chrome-devtools-mcp
All 6Similar to Chrome Devtools Cli
More Browser Automation & ScrapingChrome DevTools MCPMCP serverchromedevtools59.7K starsLets coding agents control and inspect a live Chrome browser through DevTools tools.
chrome-devtools-axiSkillkunchenguid/chrome-devtools-axi9.1K installsBrowser control CLI for navigating, inspecting, and testing live pages in a real Chrome session.
playwright-cliSkillmicrosoft/playwright-cli226.3K installsCommand-line browser automation with snapshot refs for clicking, typing, and inspecting pages, plus Playwright test support.
ObscuraMCP serverh4ckf0r0day38K starsHeadless browser engine for AI agent automation and web scraping, with Chrome DevTools Protocol support.
chrome-cdpSkillpasky/chrome-cdp-skill2.2K installsDirect WebSocket CLI that drives a live Chrome session for inspecting, scripting, and screenshotting open pages.
agent-browserSkillvercel-labs/agent-browser1.7M installsBrowser automation CLI for AI agents that drives Chrome via accessibility-tree element refs and specialized workflows.