Agent Chrome

Grok CLI browser: let Grok control your real Chrome

To let the Grok CLI control your real Chrome, run curl -fsSL https://agentchrome.dev/install | sh, load the Agent Chrome extension once, and start a new Grok session. The installer runs grok mcp add --scope user for you, which stores an agentchrome HTTP server in ~/.grok/config.toml.

Grok then gets browser tools such as navigate, computer, read_page and record, and they act on the Chrome profile you already use, with your logins intact.

Install with one command

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

It needs Node.js 18 or newer and Chrome 120 or newer. When it finds the grok command, the installer:

  1. Creates your account and saves the key to ~/.config/agentchrome/config.json.
  2. Runs grok mcp remove agentchrome and then grok mcp add --scope user --transport http with your URL and Authorization header.
  3. Unpacks the extension to ~/.agentchrome/extension and prints a pairing code.

To install for Grok only, run agentchrome install grok.

Load the extension once per Chrome profile

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

Run agentchrome status afterwards. You should see your browser online and a check mark next to Grok.

Manual configuration

Add the server with the Grok CLI. It writes to ~/.grok/config.toml:

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

Check that it registered:

grok mcp list

To remove it, run grok mcp remove agentchrome.

Use OAuth instead of a key

agentchrome install grok --oauth

This runs the same grok mcp add command without the --header flag. Whether Grok then offers a browser sign-in depends on your Grok version. If it does not, use the key form above.

Custom Grok homes

If you run Grok with its own home folder, for example GROK_HOME=~/.grok-work, the installer finds directories named ~/.grok-* and runs grok mcp add with GROK_HOME pointed at each one. The entry lands in that folder's config.toml. Run agentchrome install grok again after you create a new Grok home.

Example prompts for Grok

What you see while Grok works

If you press Cancel on Chrome's "started debugging this browser" bar, every agent stops and is told why. Optional settings let you approve each new site, block sites, and keep history access off, which is the default.

Notes for Grok users

Related pages

Frequently asked questions

How do I let the Grok CLI use my browser?

Install Agent Chrome, load the extension in Chrome and pair it with the code the installer prints. The installer adds an agentchrome HTTP MCP server to Grok, and your next Grok session can call browser tools in your real Chrome.

Where does Grok store the Agent Chrome config?

In ~/.grok/config.toml, written by grok mcp add --scope user. If you use a custom GROK_HOME, the config is in that folder instead.

Does it work with GROK_HOME or several Grok profiles?

Yes. The installer detects ~/.grok-* folders and registers the server in each of them.

Can Grok see my passwords?

Grok works in the pages you point it at, with the same access you have in that profile. Agent Chrome does not store page content on the server, but an agent can read what is on a page. Keep the block list and the ask-before-new-site setting in mind for sensitive accounts.

How do I remove it from Grok?

Run agentchrome uninstall grok, or run grok mcp remove agentchrome yourself.

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