Let an AI agent use your browser: the options compared
How to let Claude Code, Codex or Cursor control Chrome. Playwright MCP, Chrome DevTools MCP, Claude in Chrome, hosted browsers and axs browser compared.
To let an AI agent use your browser, give it a browser MCP server. Playwright MCP and Chrome DevTools MCP start a Chrome with their own profile, Claude in Chrome drives your own Chrome for Claude, and axs browser drives your own Chrome for any MCP client, with your logins, per site rules and cheap page reads.
The problem
Coding agents are good at text and bad at websites. Many tasks still live behind a login: a dashboard without an API, an invoice portal, an admin panel, your staging site. You want the agent to do them, but you also want:
- your logins, without handing the agent your passwords,
- a say in what it may click, especially pay, send and delete,
- page reads that do not eat the context window,
- a person to step in when a captcha shows up.
The options
| Option | Which browser | Your logins | Works with |
|---|---|---|---|
| Playwright MCP | Its own profile, or your Chrome with the Playwright extension | Log in once in its profile, or extension mode | Any MCP client |
| Chrome DevTools MCP | Its own profile, or a running Chrome you open for debugging | Log in in its profile | Any MCP client |
| Claude in Chrome | Your Chrome, Edge or another Chromium browser | Yes | Claude Code and Claude apps |
| Browserbase | Hosted browsers in the cloud | Saved per context | Its API and MCP server |
| axs browser | Your Chrome | Yes | Any MCP client |
Checked November 2026.
Playwright MCP
Playwright MCP is the default choice for testing. It reads pages as
accessibility snapshots instead of screenshots. By default it starts a browser with a persistent profile of its own,
so you log in there once and it remembers. --isolated keeps the profile in memory, and --extension connects to
your running Chrome or Edge through the Playwright extension.
Use it when you test your own app, run it in CI or want a clean browser per run. That covers most dev work.
Chrome DevTools MCP
Chrome DevTools MCP gives the agent DevTools: performance
traces, network requests, console messages with source mapped stack traces, screenshots. By default it starts a new
Chrome with a dedicated profile. It can also connect to a running Chrome with remote debugging turned on
(--autoConnect, --browser-url). Its README warns that MCP clients can inspect and modify any data in that
browser.
Use it when the job is debugging a web app, not working in your accounts.
Claude in Chrome
Claude in Chrome is Anthropic's extension. With claude --chrome, Claude
Code opens new tabs in your Chrome and shares its login state. It asks per site before acting, and pauses on login
pages and captchas so you handle them. It needs a direct Anthropic plan (Pro, Max, Ultra, Team or Enterprise) and
works with Claude only.
If you only use Claude Code and sit at the computer while it works, this is a good fit.
Browserbase and hosted browsers
Browserbase runs fleets of headless browsers with isolated sessions. Contexts keep cookies and logins across sessions. Its MCP server is built on Stagehand.
Use it for agents in production that browse at scale, away from anyone's computer. For tasks in your own accounts you log in to each site again inside its browsers.
Where axs browser fits
axs browser lets an agent read and drive your own Chrome through the axs cred extension. The agent brings its own model: Claude Code, Codex, Cursor or any MCP client.
- Your logins. It works in the tabs and cookies you already have. Logins it does not have are filled by axs cred: the agent gets only what was filled.
- Cheap reads. A snapshot is a short list of controls with refs (
e12 button "Save"), about 1k to 2.5k tokens for a full page. Later reads return only what changed. - Per site trust. Reading is allowed everywhere. The first action on a site asks you once. Paying, sending, deleting and public sharing ask every time, even on a trusted site. See Trusted sites.
- Flows replay without tokens. A task that worked is saved as a flow in axs brain. The next run replays the steps without the model, for the whole team. See Flows.
- Captcha handoff. axs does not solve captchas. The agent hands the tab to you, also as a live view on your phone, and waits. See Handoff.
- Out of your way. The agent works in background tabs in a tab group
axsand never switches your window.
An agent on a dev box or VM can drive the Chrome of one of your enrolled devices, with logins that never leave that device.
Limits: canvas apps like Google Docs or Figma need pixel steps from a screenshot, screenshots work only for a tab in front, and password fields are never typed into.
Setup
curl -fsSL https://axs.sh/install | sh
axs login
axs cred enrollConfirm the device in the dashboard, run axs cred setup, load the axs cred extension in Chrome and start a new
session. Then ask for a browser task. Full steps: How axs browser works.
FAQ
Playwright MCP vs Claude in Chrome: which one should I use?
Playwright MCP for testing your own app and for CI: a browser profile of its own, any MCP client. Claude in Chrome for tasks in your own accounts with Claude Code. axs browser for the same in your own Chrome with Codex, Cursor or other MCP clients too, with trust per site and flows.
Can Claude Code control my existing Chrome?
Yes. Claude in Chrome does it with claude --chrome. Playwright MCP can with its extension mode, Chrome DevTools MCP
with remote debugging turned on, and axs browser through the axs cred extension.
Does the agent see my passwords when it uses my browser?
It works in sessions you are already logged in to. With axs browser a new login is filled by axs cred and the agent never sees the values. See Give AI agents passwords securely.
How many tokens does a page cost?
Screenshots cost the most. An axs browser snapshot of a full page is about 1k to 2.5k tokens, and a replayed flow costs no tokens per step.
What does axs browser cost?
It is part of every axs plan: Personal at €12 a month, Team at €20 per person a month, both with a 14 day free trial. See Plans and billing.