All articles To let a coding agent work in your real, signed-in Chrome, install a browser extension that hands it tabs, or turn on Chrome's remote debugging toggle so a tool can attach to the Chrome you already have open. On Claude Code with a paid Claude plan, Claude in Chrome ( claude --chrome ) is the shortest path; the list below gives the pick for every other agent and login. We make Browser Use and Browser Harness. Everything about the other tools comes from their own docs and READMEs, checked October 25, 2026, and linked where I use it. Which one fits your agent Claude Code: Claude in Chrome if you sign in with a Pro, Max, Team or Enterprise plan. On an API key, Bedrock or another provider it stays off, so use Browser Harness, Playwright MCP's extension mode or Chrome DevTools MCP. Codex: in the ChatGPT desktop app, OpenAI's browser extension. In Codex CLI, Browser Harness or one of the two MCP servers. Gemini CLI: its built-in browser agent with sessionMode set to "existing" , or any of the MCP options. Cursor: its built-in Browser keeps its own cookies per workspace, not your Chrome logins. For your Chrome, add Browser Harness, Playwright MCP or Chrome DevTools MCP to .cursor/mcp.json . Any MCP client: Playwright MCP in extension mode gives the agent tabs you pick. Chrome DevTools MCP in auto-connect mode or our Browser Harness give it your whole running Chrome. Why not copy your cookies into a fresh browser? Because a fresh automation browser is a different device. You can export cookies and load them, for example with Playwright MCP's --storage-state , which loads cookies and local storage from a file into an isolated browser context ( README ). It works on some sites and can fail on sites that tie sessions to your device or ask you to sign in again: Sessions bound to your device. With Device Bound Session Credentials , Chrome keeps a private key in secure hardware such as a TPM, and when a site's short-lived session cookies expire, Chrome refreshes them only by proving it has that key. On sites that use it, copied cookies expire and can't be renewed on another machine. Signing in again. A fresh profile starts logged out of everything, so you redo every login and second factor there. The Chrome DevTools MCP docs note that some accounts may prevent sign-in when the browser is controlled through WebDriver ( Chrome DevTools MCP docs ). The old shortcut is closed. From Chrome 136, --remote-debugging-port and --remote-debugging-pipe are ignored on your default Chrome data directory; they need --user-data-dir pointing somewhere else. Google made the change because attackers were using remote debugging to pull cookies out of Chrome ( Chrome blog, March 17, 2025 ). Every option below works in your real browser instead, so your logins, device checks and second factors stay where they are. 1. Claude in Chrome Anthropic's Chrome extension, which Claude Code connects to from the CLI or the VS Code extension ( docs ). Works with: Claude Code only. Setup: install the Claude in Chrome extension (version 1.0.36 or later), sign in to Claude Code with /login , then run claude --chrome . Run /chrome to check the connection or turn it on by default. Your Chrome? Yes. Claude opens new tabs in a tab group, shares your browser's login state and works in a visible window. The docs list Google Chrome and Microsoft Edge, and say Claude Code also sets up Brave, Arc, Vivaldi and Opera. Limits: needs a direct Anthropic plan (Pro, Max, Team or Enterprise). It stays off with an API key or a claude setup-token token, through Amazon Bedrock, Google Cloud's Agent Platform or Microsoft Foundry, and in WSL. It pauses at login pages and CAPTCHAs for you to handle. Site permissions come from the extension's settings. I'd use it if you only use Claude Code and already pay for a Claude plan. See also our Claude in Chrome page . 2. Playwright MCP, extension mode Microsoft's Playwright MCP server normally launches its own browser with a persistent profile per workspace. Its --extension flag connects it to your running Chrome or Edge through the Playwright Extension instead ( extension README ). Works with: any MCP client, including Claude Code, Codex, Gemini CLI and Cursor. Setup: install the Playwright Extension, then add the server with --extension : { "mcpServers" : { "playwright-extension" : { "command" : "npx" , "args" : [ "@playwright/mcp@latest" , "--extension" ] } } } Your Chrome? Yes, in tabs you choose. The first time the agent uses the browser, a page opens where you pick the tab it connects to. Several clients can connect at once; each gets its own tab group and only sees the tabs in it. Limits: you approve each connection unless you copy the PLAYWRIGHT_MCP_EXTENSION_TOKEN from the extension into the server's env . If the extension is in several Chrome profiles, it connects to the one you used last; --profile-dir-name picks one. Chrome or Edge only. I'd use it when you want the agent kept to specific tabs. Free, Apache-2.0. Our Playwright MCP comparison has more. 3. Chrome DevTools MCP, auto-connect mode Google's Chrome DevTools MCP is built around debugging: performance traces, network requests, console messages. By default it starts a new Chrome with a dedicated profile. On Chrome 144 or later, --autoConnect attaches it to the Chrome you already run ( advanced usage , Chrome blog ). Works with: any MCP client. Setup: open chrome://inspect/#remote-debugging in Chrome and turn on remote debugging, then add the server with --autoConnect : { "mcpServers" : { "chrome-devtools" : { "command" : "npx" , "args" : [ "chrome-devtools-mcp@latest" , "--autoConnect" ] } } } Your Chrome? Yes. Chrome shows a dialog asking you to allow the session, then the "Chrome is being controlled by automated test software" banner while it runs. With several profiles open it connects to Chrome's default one and sees every open window of that profile. Limits: you start Chrome yourself. The older route, --browser-url=http://127.0.0.1:9222 , needs Chrome launched with --remote-debugging-port and a separate --user-data-dir , so it is a separate profile, not your everyday one. Google collects usage statistics by default; --no-usage-statistics turns that off. I'd use it when the job is debugging your own app with your logins. Free, Apache-2.0. Our Chrome DevTools MCP comparison has more. 4. Gemini CLI's browser agent Gemini CLI ships a browser subagent that runs a bundled Chrome DevTools MCP ( docs ). Works with: Gemini CLI. Setup: it is off by default. Enable remote debugging at chrome://inspect/#remote-debugging (Chrome 144 or later), then turn the agent on in settings.json with the session mode set to "existing" : { "agents" : { "overrides" : { "browser_agent" : { "enabled" : true } }, "browser" : { "sessionMode" : "existing" } } } Your Chrome? Only with "existing" , which attaches to your running Chrome. The default, "persistent" , launches Chrome with its own profile in ~/.gemini/cli-browser-profile/ . Limits: form filling always asks for confirmation. allowedDomains limits where it can go, and maxActionsPerTask stops it after 100 tool calls by default. It shows a consent dialog the first time. I'd use it if Gemini CLI is your agent: nothing extra to install. Our Gemini browser page lists the other options. 5. Codex in the ChatGPT desktop app OpenAI's ChatGPT browser extension lets Codex and Work chats in the ChatGPT desktop app use your Chrome, Edge, Brave, Opera or Vivaldi. Works with: Codex in the ChatGPT desktop app. The docs only describe the desktop app; Codex CLI isn't mentioned. Setup: in the desktop app, open Settings > Computer Use, select Install next to your browser, then pick the browser with an @-mention in a chat. Your Chrome? Yes, the browser profile where you installed the extension, so it can act on sites you're signed in to. Limits: by default it asks before it acts on each new website. You can allow once, for that site, or for all sites, which OpenAI labels Elevated Risk. For Codex CLI, use Browser Harness or one of the MCP servers. Our Codex browser page has the setup lines. 6. Browser Harness Our open-source tool ( GitHub , MIT). It attaches to the Chrome you have open over the Chrome DevTools Protocol. How the agent uses it depends on the agent: Works with: Claude Code and Codex run it as a command-line tool with its skill, and there the agent writes any helper it is missing as it works. Cursor and other MCP clients, such as Gemini CLI, use browser-harness-mcp , which gives them a fixed set of browser_* tools ( MCP docs ). Setup: paste the setup prompt from the README into your agent. It i
All articles To let a coding agent work in your real, signed-in Chrome
All articles To let a coding agent work in your real, signed-in Chrome, install a browser extension that hands it tabs, or turn on Chrome's remote debugging toggle so a tool can attach to the Chrome you already have open. On Claude Code with a paid Claude
这条信息对 FDE 的直接价值在于提醒交付人员持续关注模型、智能体与企业流程之间的变化。面对类似项目,应先确认客户的真实业务目标、数据边界、权限条件和验收指标,再选择工具并用最小场景验证结果,避免只追逐功能更新。