Curated task stack

Best CLIs for Browser.

Give your agent a browser it can inspect, test, and automate. This is a ready-to-share stack with install commands, verification checks, agent packs, and guardrails.

Primary CLI
Playwright MCP

playwright-mcp is a strong fit for browser. Official and easy to trust.

Agent pack
playwright-mcp fits browser well, especially for Giving agents browser automation through the Model Context Protocol.
It is the official CLI from Microsoft.
Easy to automate.
Stack

Install, verify, then work.

1. Agent browser MCP
Playwright MCP

5.3M npm weekly downloads

Pack
Install
npm install -g @playwright/mcp
Verify
npx @playwright/mcp@latest --help
2. Browser testing
Playwright

24.1M npm weekly downloads

Pack
Install
npm i -D @playwright/test
Verify
playwright --version
3. Hosted extraction
Firecrawl

48K npm weekly downloads

Pack
Install
npm i -g firecrawl
Verify
firecrawl --help
Agent loop

Browser task loop

  1. 1Open the target page or discover the site structure.
  2. 2Capture key state, errors, and screenshots as structured output.
  3. 3Replay or refine the sequence step by step.
  4. 4Ask before form submissions, purchases, or destructive browser actions.
Safety

Guardrails

  • Needs network access.
  • Output is mostly plain text.
  • • Ask before destructive, paid, deploy, send, merge, publish, or secret-exposing actions.