Agent Chrome

Let Claude Code control Chrome

To let Claude Code control your real Chrome, run curl -fsSL https://agentchrome.dev/install | sh, load the Agent Chrome extension once, and start a new Claude Code session. The installer adds an MCP server named agentchrome to Claude Code at user level, so every project can use your logged-in browser.

Agent Chrome is an open-source Chrome extension plus a remote MCP server. Claude Code talks to the server over HTTPS, and the server relays each tool call to the extension in your own Chrome profile. Your cookies, sessions and extensions stay where they are.

Install with one command

curl -fsSL https://agentchrome.dev/install | sh

You need Node.js 18 or newer and Chrome 120 or newer. In one pass the installer:

  1. Creates your account and saves the key to ~/.config/agentchrome/config.json (chmod 600).
  2. Runs claude mcp add --scope user for you, which writes the server into ~/.claude.json.
  3. Links the agentchrome skill into ~/.claude/skills.
  4. Unpacks the extension to ~/.agentchrome/extension.
  5. Prints a pairing code and opens chrome://extensions.

To install for Claude Code only, run agentchrome install claude.

Load the extension once per Chrome profile

The extension is not on the Chrome Web Store yet, so you load it unpacked:

  1. Open chrome://extensions and turn on Developer mode.
  2. Click Load unpacked and choose ~/.agentchrome/extension.
  3. Click the Agent Chrome icon, then press Sign in to connect or paste the pairing code.

Run agentchrome status to confirm that the browser shows as online and Claude Code has a check mark.

Add it by hand

If you prefer to configure Claude Code yourself, use the Claude Code CLI. This writes to ~/.claude.json at user scope:

claude mcp add --scope user --transport http agentchrome https://agentchrome.dev/mcp \
  --header "Authorization: Bearer $(agentchrome key)"

The entry it stores looks like this:

{
  "type": "http",
  "url": "https://agentchrome.dev/mcp",
  "headers": { "Authorization": "Bearer <key from agentchrome key>" }
}

Use OAuth instead of a key in the config

agentchrome install claude --oauth

With --oauth the installer registers the URL with no Authorization header. Claude Code opens a sign-in page on first use. You paste your account key once (agentchrome key prints it), and Claude Code receives short-lived tokens that refresh for 90 days. No secret sits in ~/.claude.json.

Example prompts for Claude Code

Start a new Claude Code session after installing, because Claude Code loads MCP servers at startup.

Claude Code can also run these from scripts with claude -p, because the server is a plain remote MCP server and does not depend on an interactive window.

What you see while Claude Code works

You can also turn on "ask before each new site", keep a block list, and leave history access off, which is the default.

Notes for Claude Code users

Related pages

Frequently asked questions

How do I let Claude Code control my real Chrome browser?

Run curl -fsSL https://agentchrome.dev/install | sh, load the unpacked extension from ~/.agentchrome/extension, and start a new Claude Code session. Then ask Claude Code to use agentchrome to open a page. The work happens in a tab group inside your own Chrome profile.

Does Claude Code need the Claude in Chrome extension for this?

No. Agent Chrome is its own extension and MCP server. It uses the same tool names as Claude in Chrome, so existing prompts transfer, but nothing here depends on Anthropic's extension.

Where does Claude Code store the Agent Chrome config?

At user scope in ~/.claude.json, written by claude mcp add --scope user. The installer removes any older agentchrome entry first, so running it again does not create duplicates.

Can Claude Code use Agent Chrome in headless mode?

Yes. Agent Chrome is a remote MCP server, so claude -p can call its tools as long as your Chrome profile is open and paired. The browser is your normal Chrome, so it must be running.

Can I stop Claude Code while it is clicking around?

Yes. Press Stop in the status pill on the page, use Pause or Stop all in the extension popup, or press Cancel on Chrome's debugging bar. Every method halts the agent and tells it the session is paused.

Does it work with Claude Code on a remote machine?

Claude Code only needs to reach https://agentchrome.dev/mcp, and your Chrome extension keeps its own connection to the same server. The agent and the browser can be on different computers. For a fully local setup, see local mode.

Updated 2026-11-04 · Agent Chrome is open source (MIT) and operated by Circo, Inc.

Try Agent Chrome

One command sets up every agent on your machine. Or add https://agentchrome.dev/mcp as a connector in Claude or ChatGPT.

curl -fsSL https://agentchrome.dev/install | sh