Stack d'Automatisation Navigateur MCP
Dix choix pour brancher un vrai navigateur dans Claude Code, Cursor ou Gemini CLI via MCP. Playwright MCP d'abord pour des snapshots déterministes, Chrome DevTools MCP pour le debug live, puis Chrome MCP / Puppeteer MCP / Browserbase MCP selon les tradeoffs. Proxies multi-navigateurs, fleet avec login partagé, fixes de popup et auditeur de logs ferment la marche. Dans l'ordre.
What this pack actually solves
The MCP browser servers all promise the same thing — let your AI assistant click, type, and read a webpage. In practice they make different tradeoffs around determinism, cookie scope, iframe support, debug visibility, and CI-friendliness. This pack picks ten servers that together cover those tradeoffs explicitly, and orders them so each install unlocks the next layer.
The target user is a developer wiring a browser into Claude Code, Cursor, or Gemini CLI for end-to-end testing, scraping behind a login, agent-driven dogfooding, or live UI debugging. By the end of the install order your agent can pick the right MCP for a given task instead of brute-forcing one server into every shape.
Install in this order
- Playwright MCP Server (official, Microsoft) — start here. Snapshot-based actions are deterministic, the API surface is small, and it works against Chromium, Firefox, and WebKit. The accessibility-tree snapshot is what makes agents reliable: they read structured node IDs instead of guessing CSS selectors. According to the Playwright docs the snapshot format is the recommended interface for AI clients.
- Playwright MCP — Browser Automation Server (community npx) — same engine, lighter setup via
npx. Use this when you want to bolt onto an existing Playwright install without the official package's bundling. Good fit for Codex / Cursor power users. - Chrome DevTools MCP — the second MCP you install, not the first. It hangs off DevTools Protocol and exposes network, console, performance traces, and DOM inspection. Pair it with Playwright MCP: Playwright drives the page, Chrome DevTools MCP tells you why it broke.
- Chrome MCP Server (extension-based) — different model. Runs as a Chrome extension instead of a separate browser process, which means it reuses your real logged-in profile — cookies, extensions, saved passwords. Pick this when the site is gated by SSO or anti-bot and a fresh Playwright context gets challenged.
- Puppeteer MCP — Headless Chrome Server — the lean choice for CI. No extra cross-browser layer, smaller install, faster cold start. Use it for pure Chromium scraping pipelines where you don't need Firefox / WebKit fallbacks.
- Browserbase MCP — Cloud Browser — the escape hatch when local Chromium hits IP blocks, stealth requirements, or scale ceilings. Cloud-hosted browser pool with stealth profiles; the MCP server exposes the same tool shape so agent code is portable.
- Multi-Browser MCP Proxies (Arc / Chrome Beta variants) — the iframe-aware layer. Stock Chrome MCP can't always reach into Arc's split panes or Beta's variant DOM trees; this proxy multiplexes between Arc / Beta / Chrome Stable so the agent picks the right window. Critical when the site renders core UI inside an iframe (most embedded checkouts, Stripe, Cloudflare challenges).
- Chrome Fleet — Multi-Agent Browser Pool with Shared Login State — once you have multiple agents, login fatigue dominates. Fleet keeps a warm pool of authenticated browsers and hands each agent a checked-out instance. Cookie scope is per-fleet, not per-agent, which is the design tradeoff: faster onboarding, weaker isolation. Use it when your agents trust each other.
- Chrome MCP Background Proxy — Popup / Focus Fix — the bug-fix MCP. Stock Chrome MCP loses focus when a popup or OAuth window opens and the agent's next click lands on the wrong tab. This proxy intercepts focus events and reroutes them deterministically. Install this before you wire up any login-required flow, not after you debug a flaky run.
- BrowserToolsMCP — Audit Browser Logs via MCP — closes the loop. After the agent finishes a session, BrowserToolsMCP lets it (or you) replay console errors, network failures, and page lifecycle events. This is the difference between "the test passed" and "the test passed and emitted zero errors."
How they fit together
Playwright MCP (deterministic, cross-browser)
│
├── Chrome DevTools MCP (why it broke)
│
Chrome MCP (real profile) ← Multi-Browser Proxy (Arc / Beta)
│
Puppeteer MCP (CI lean) Chrome Fleet (shared login)
│
Browserbase MCP (cloud, stealth)
│
Chrome MCP Background Proxy (popup focus fix)
│
BrowserToolsMCP (log audit)
The spine is Playwright MCP + Chrome DevTools MCP + BrowserToolsMCP — that trio handles 80% of agent browser work for a CI-style developer. Chrome MCP / Chrome Fleet are the real-profile branch when your site is locked behind SSO. Browserbase MCP is the escape hatch.
Cookies, sessions, iframes — pick the right scope
- Per-context cookies (Playwright MCP, Puppeteer MCP, Browserbase MCP) — each session starts clean. Best for tests. Worst for sites with bot detection that flags first-visit fingerprints.
- Real-profile cookies (Chrome MCP extension) — agent reuses your logged-in Chrome profile. Best for SSO-gated dashboards. Worst for parallel agents (they fight over the same cookie jar).
- Fleet-shared cookies (Chrome Fleet) — agents share a warmed-up pool. Best for many agents on one tenant. Worst for tenant isolation; you would not run two customers' agents on the same fleet.
- Iframe handling — Playwright MCP exposes frame snapshots natively; Chrome DevTools MCP can navigate cross-origin frames via CDP; Chrome MCP extension is limited to same-origin frames unless you ship a content script. If your target embeds Stripe / Cloudflare Turnstile / Auth0, plan for Playwright MCP plus the Multi-Browser proxy.
Debug-to-CI path
- Develop locally with Playwright MCP + Chrome DevTools MCP. Run headed, watch the agent drive the page, read DevTools panel in real time.
- Switch to BrowserToolsMCP to catch silent errors you missed — console warnings, failed XHRs, hydration mismatches.
- Move to CI by swapping Playwright MCP for Puppeteer MCP (lighter) and running headless. If anti-bot blocks the CI IP, swap again to Browserbase MCP and keep the same tool calls.
- Production agent fleet — Chrome Fleet for shared login, Background Proxy enabled to handle OAuth popups, BrowserToolsMCP scraping logs for the post-mortem dashboard.
Common pitfalls
- Installing Chrome MCP extension and Playwright MCP at the same time — they race for the same DevTools port. Pick one as the primary; use the other for fallback only.
- Forgetting
npx playwright install— the official Playwright MCP requires the browser binaries. The MCP server fails opaquely if they're missing. - Cookie scope confusion — agents that worked in dev (real profile) silently break in CI (fresh context) because the dashboard requires SSO. Decide cookie scope on day one.
- iframe blindness — Stagehand / Browser-Use style agents that work on simple pages crash on embedded checkouts. If your target uses iframes, default to Playwright MCP plus the multi-browser proxy.
- OAuth popup focus theft — install the Background Proxy before the first login flow, not after the third flaky run.
10 ressources prêtes à installer
Questions fréquentes
Which MCP do I install first if I only have time for one?
Playwright MCP (the official Microsoft server). Snapshot-based actions give your agent the most deterministic interface — it reads structured accessibility-tree IDs instead of guessing CSS selectors, and the same API works across Chromium, Firefox, and WebKit. Every other MCP in this pack is an optimization on top. If you skip Playwright MCP and start with Chrome MCP or Puppeteer MCP, you trade determinism for either real-profile cookies or smaller install footprint — that's the right call only after you know which constraint matters most.
What's the difference between Playwright MCP and Chrome DevTools MCP — don't they both drive Chrome?
They drive Chrome at different layers. Playwright MCP sits on the Playwright automation library and exposes action verbs like 'navigate', 'click', 'fill'. Chrome DevTools MCP sits directly on the Chrome DevTools Protocol and exposes inspection verbs like 'get network requests', 'read console messages', 'profile performance'. You use both: Playwright MCP to make things happen, Chrome DevTools MCP to figure out why they didn't. Running only Chrome DevTools MCP forces the agent to assemble actions from low-level CDP primitives, which is fragile.
How do I handle sites that need a logged-in session?
Three options ordered by cost. (1) Playwright MCP with a saved storage state — script the login once, save cookies to a JSON file, replay on every session. Cleanest for tests. (2) Chrome MCP extension — reuses your real Chrome profile cookies, no scripting. Good for one-developer dashboards, breaks with parallel agents. (3) Chrome Fleet — warmed-up pool of authenticated browsers shared across agents. Good for multi-agent setups in a single tenant. Mix only if you have to: race conditions on cookies are the most painful bug in this stack.
Will any of these work in CI / Docker without a display?
Yes, but pick the right one. Playwright MCP and Puppeteer MCP both run headless in containers — Puppeteer MCP has a smaller image footprint and faster cold start. Chrome MCP extension does not work in CI because it requires a real Chrome profile and extension load. Browserbase MCP is the cloud escape hatch when you want to run from CI but the target site blocks your CI IP range. Chrome DevTools MCP and BrowserToolsMCP both work headless because they hang off the DevTools Protocol, not a window.
What about iframes — most checkout flows embed Stripe or Cloudflare challenges?
Iframes are where most agent stacks silently fail. Playwright MCP exposes frame snapshots natively, so the agent can navigate into cross-origin iframes by ID. Chrome DevTools MCP can attach to any frame via CDP target IDs. Chrome MCP extension is limited to same-origin frames unless you ship a content script alongside. If your flow goes through Stripe, Cloudflare Turnstile, or Auth0 Universal Login, default to Playwright MCP, install the Multi-Browser Proxy from this pack, and test the iframe path before anything else — fixing it later means rewriting tool calls.
12 packs · 80+ ressources sélectionnées
Découvrez tous les packs curatés sur la page d'accueil
Retour à tous les packs