MCP servers for Claude Code · Browser automation
Best browser automation MCP server for Claude Code, tested
In ToolPassed's hands-on tests in Claude Code, Playwright MCP is our provisional candidate for browser automation: it passed install, connect, tools and an agent task on 2026-10-21. We ran 5 browser automation MCP servers in Claude Code; 4 passed every step; not a pass: Browser Use (MCP mode) (failed).
Last tested · runs from 2026-10-13 to 2026-10-23 · one run per server · How we test
Results in Claude Code
| Server | Claude Code |
|---|---|
| Playwright MCP Browser automation | Passed 2026-10-21 · install, connect, tools, agent task |
| Chrome DevTools MCP Browser automation | Passed 2026-10-20 · install, connect, tools, agent task |
| Firefox DevTools MCP Browser automation | Passed 2026-10-23 · install, connect, tools, agent task |
| Agent Infra Browser (ByteDance) Browser automation | Passed 2026-10-13 · install, connect, tools, agent task |
| Browser Use (MCP mode) Browser automation | Failed 2026-10-13 · agent task failed (no tool result containing ['TP-4242']) |
Dated results
- Playwright MCP passed in Claude Code on 2026-10-21 (Claude Code 2.1.296, @playwright/mcp 0.0.83, connected in 3.2s). Full result
- Chrome DevTools MCP passed in Claude Code on 2026-10-20 (Claude Code 2.1.296, chrome-devtools-mcp 1.11.0, connected in 3.0s). Full result
- Firefox DevTools MCP passed in Claude Code on 2026-10-23 (Claude Code 2.1.296, @mozilla/firefox-devtools-mcp 0.10.6, connected in 2.7s). Full result
- Agent Infra Browser (ByteDance) passed in Claude Code on 2026-10-13 (Claude Code 2.1.296, server reported v1.2.29, connect time not recorded). Full result
- Browser Use (MCP mode) failed in Claude Code on 2026-10-13 (Claude Code 2.1.296, server reported v0.13.11, connect time not recorded). Full result
Why Playwright MCP is the candidate
Playwright MCP passed every step in Claude Code. It is the group’s site-wide candidate (judged 2026-10-21): Opened our test page, clicked 'Reveal code' and read back the code in both Claude Code and Cursor, with 4 browser calls in each. Chrome DevTools tied on every measure (passed both, 4 calls each); Playwright gets the nod for its smaller tool list (25 vs 30). ByteDance's agent-infra browser also passed both (11 calls); Browser Use failed both (Claude Code read the code only from a screenshot, and its browser didn't start under Cursor). On Oct 14 Playwright, Chrome DevTools and agent-infra also passed in Claude Desktop and ChatGPT (Codex); Browser Use failed in both (its Chrome didn't start). Confirmed Oct 21, 2026: a second run passed again in all 4 clients (Claude Code, Cursor and ChatGPT (Codex) on Oct 21 AM, Claude Desktop on Oct 21 PM; @playwright/mcp 0.0.83).
Provisional: based on one dated run per app (no repeat runs yet), so treat it as a candidate, not a final pick. How we test.
Same servers in all 4 apps
| Server | Claude Code | Cursor | Claude Desktop | ChatGPT (Codex) |
|---|---|---|---|---|
| Playwright MCP Browser automation | Passed 2026-10-21 · install, connect, tools, agent task | Passed 2026-10-21 · install, connect, tools, agent task | Passed 2026-10-21 · install, connect, tools, agent task | Passed 2026-10-21 · install, connect, tools, agent task |
| Chrome DevTools MCP Browser automation | Passed 2026-10-20 · install, connect, tools, agent task | Passed 2026-10-20 · install, connect, tools, agent task | Passed 2026-10-20 · install, connect, tools, agent task | Passed 2026-10-20 · install, connect, tools, agent task |
| Firefox DevTools MCP Browser automation | Passed 2026-10-23 · install, connect, tools, agent task | Passed 2026-10-23 · install, connect, tools, agent task | Not tested yet | Passed 2026-10-23 · install, connect, tools, agent task |
| Agent Infra Browser (ByteDance) Browser automation | Passed 2026-10-13 · install, connect, tools, agent task | Passed 2026-10-13 · install, connect, tools, agent task | Passed 2026-10-14 · install, connect, tools, agent task | Passed 2026-10-14 · install, connect, tools, agent task |
| Browser Use (MCP mode) Browser automation | Failed 2026-10-13 · agent task failed (no tool result containing ['TP-4242']) | Failed 2026-10-13 · agent task failed (answer missing ['TP-4242']; no tool result containing ['TP-4242']) | Failed 2026-10-14 · agent task failed (no tool result containing ['TP-4242']; answer missing ['TP-4242']) | Failed 2026-10-14 · agent task failed (answer missing ['TP-4242']; no tool result containing ['TP-4242']) |
What failed or is partial in Claude Code
- Browser Use (MCP mode): failed on 2026-10-13. Recorded reason:
no tool result containing ['TP-4242']
Install in Claude Code
The exact snippet we tested is on the Playwright MCP page (pick the Claude Code tab). Not connecting? Claude Code MCP troubleshooting.
Not tested in Claude Code yet
Browser MCP, BrowserStack MCP Server, Browser Harness, Ui.Vision RPA (MCP), axuse, MCPSafari, Mobile MCP, Windows-MCP, Peekaboo, BrowserTools MCP. Listed from their source; no result in Claude Code yet.
Questions
What is the best browser automation MCP server for Claude Code?
In ToolPassed's hands-on tests in Claude Code, Playwright MCP is our provisional candidate for browser automation: it passed install, connect, tools and an agent task on 2026-10-21. We ran 5 browser automation MCP servers in Claude Code; 4 passed every step; not a pass: Browser Use (MCP mode) (failed).
Does Playwright MCP work with Claude Code?
Playwright MCP passed in Claude Code on 2026-10-21 (Claude Code 2.1.296, @playwright/mcp 0.0.83, connected in 3.2s).
Does Browser Use (MCP mode) work with Claude Code?
No, not in our test: Browser Use (MCP mode) failed in Claude Code on 2026-10-13 (Claude Code 2.1.296, server reported v0.13.11, connect time not recorded). Recorded reason: no tool result containing ['TP-4242']
More: all MCP servers tested in Claude Code · Browser automation in every app · How we test