Who it is forSomeone who wants scripted browser checks without loading MCP tool schemas into every chat.
The problemMCP tools cost context tokens even for simple screenshot jobs.
The outcomeShort CLI commands your agent or script can run to navigate and capture pages.
What you need first
- Node.js and npm
- Chrome
- An MCP client or a coding agent that can run shell commands
Steps
- Install globally:
npm i chrome-devtools-mcp@latest -g - Open a page:
chrome-devtools navigate_page 1 --url "https://developers.chrome.com" - Capture it:
chrome-devtools take_screenshot 1 --filePath screenshot.png, thenchrome-devtools stop - For Claude Code, copy the chrome-devtools-cli skill folder into ~/.claude/skills/
Prompt for your agent
Install ChromeDevTools/chrome-devtools-mcp globally, add the chrome-devtools-cli skill for my agent, and write a script that screenshots each URL in urls.txt into ./shots/.
Caveat.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for ChromeDevTools/chrome-devtools-mcp and "Drive Chrome from the command line with the DevTools CLI skill"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer