The aimo extension for VS Code can drive a real Chrome on your own computer: open a page, read its console messages and network requests, take a snapshot or a screenshot, click and fill in forms. Ask why is this page broken? and the agent looks at the page the way you would in Chrome’s developer tools, then answers from what it saw.
It runs the open-source Chrome DevTools MCP server beside VS Code. There are two ways to set it up:
- On the platform: an administrator registers it once, and every call each person makes is checked and recorded by the platform before it runs.
- On your own provider key (direct mode): no platform at all. You add the server yourself and nothing is checked or recorded anywhere but on your machine.
This article was checked on 5 November 2026 with the Marketplace build of aimo 1.4.0 in a clean VS Code profile, once signed in to a live installation and once in direct mode on an Evren key. Every screenshot comes from those runs.
Before you start: Part A needs access to a Bosphorus installation and a sign-in on it. If you would like to try it, contact Morten or write to iletisim@morten.com.tr. Part B needs only an API key from a model provider.
Who does what
| Step | Who | Where |
|---|---|---|
| Register the Chrome DevTools recipe | Administrator | Console, /mcp |
| Turn on local tool servers | Each person | VS Code, user settings |
| Sign in and ask | Each person | VS Code, the AIMO chat |
| Read what was recorded | Each person, administrators | Console, /activity |
| Or: switch to your own key and add the server | Each person | VS Code |
What you need
- aimo 1.4.1 or later in VS Code (aimo for VS Code).
- Node.js on the same machine, so that
npxruns: the server is fetched bynpxthe first time it starts on that machine. From aimo 1.4.2 that download runs on its own before the server starts, with up to five minutes for it, and Tool Servers shows downloading meanwhile. - Google Chrome.
- A trusted folder. In VS Code’s Restricted Mode nothing local starts; trust the folder from the Restricted Mode banner.
The example below is a three-file page served at http://localhost:3000. Its script loads
/api/prices.json, which does not exist, so the page’s Total stays empty.
Part A: on the platform
A1. Register the recipe (administrator)
On the console’s /mcp page, open Register a server and use the card Register a
local server (runs in the VS Code extension):
| Field | Value |
|---|---|
| Name | chrome-devtools |
| Recipe | Chrome DevTools (local browser) |
| Result capture | preview — the first 2,000 characters |
| Description | Drive a Chrome on your own machine: open pages, read the console and network requests, take screenshots |

Press Register local server. The console answers:
chrome-devtools registered: a local chrome-devtools server, run by the aimo VS Code extension on each person’s own machine (for people who turn on aimo.mcp.local.enabled). The platform never syncs or relays it; it checks and audits every call before it runs.
What the registration stores, and what it does not:
- No command. What runs is a recipe that ships inside the extension: Chrome DevTools
MCP pinned to version 1.11.0, with its usage statistics and its performance lookups at
Google switched off, and every network header except a few harmless ones (such as
content-type) replaced by<redacted>before the model sees it. - Result capture is how much of each result the audit trail keeps: the first 2,000 characters, the full result, or none (the outcome, the size and a hash only).
- Who sees it. A new row is open to all teams and all users. Narrow it with Edit scope and Edit access on the Registered servers tab, where the filter locally, in VS Code shows only servers of this kind.

A2. Turn on local tool servers (each person)
Open your user settings (Preferences: Open User Settings (JSON)) and add:
"aimo.mcp.local.enabled": true,
"aimo.mcp.local.recipeOptions": {
"chrome-devtools": { "headless": false, "isolated": true }
}
aimo.mcp.local.enabledis the switch: off by default, and it takes effect at once.aimo.mcp.local.recipeOptionsholds the recipe’s options. The values above are its defaults on your own computer, so this line is optional; what each one means is in Headless, isolated or your own Chrome below.- These settings apply to every VS Code profile (the Settings editor labels them
Applies to all profiles), and VS Code never takes them from a repository’s
.vscode/settings.json, so a project you open cannot switch them on.
A3. Sign in and check the server is listed
Sign in with AIMO: Sign in. The Tool Servers view at the bottom of the AIMO sidebar now lists chrome-devtools marked this machine. It has no tools yet: it starts the first time it is used.
If it is missing, AIMO: Show Log tells you whether the extension received it. The line must end with 1 of them run on this machine; on the installation we used it read:
mcp: 48 tool server(s), 1619 tool(s) in the registry, 1 of them run on this machine
Without that ending, aimo.mcp.local.enabled is not on (or not in your user settings).
A4. Ask, naming the tool server
Open a chat in Agent mode and ask, naming the server:
Use the chrome-devtools tool server to open http://localhost:3000. Why is the Total empty? List the console errors and the failed network requests. Don’t change any files.
Name it. On an installation with many tool servers, the short list the model is given names only the first few dozen. Up to aimo 1.4.0 the servers on your machine came last in it, and in our runs a request that only said with Chrome DevTools was answered with the model’s own scripts instead. From 1.4.1 they come first. Naming the server is still the surest way to make the model search that server first.
The first time the server starts on this machine, AIMO shows you exactly what will run and asks:

It asks again whenever any of this changes: the version, an option, a setting. aimo 1.4.2
added one setting, npm_config_prefer_offline=true (start from npm’s cache), so after that
update it asks once more. Then, before
every call, the platform checks the call and records it. A call that can change something
waits for you:

- Allow runs this one call.
- Allow all runs every later call of this answer without asking, commands and file edits included.
- Reject refuses it, and the model is told not to retry it.
Tools that only read (the console messages, the network requests, the list of pages) run without a card. Chrome starts with a temporary profile and the answer arrives:

Use Agent mode: Ask and Plan change nothing, and opening a page is not a read-only tool, so they refuse it.
A5. What the platform records
Every local call is in the audit trail, under the same session as the chat. On the chat’s
page in /activity, each one reads local, checked by the platform and ran in VS Code,
with its arguments, its outcome and how long it took:

- The key in this example had the policy check switched off on
/keys, hence OPA skipped; with it on, each call’s arguments are checked against the installation’s policies before it runs. - How much of each result was kept follows the row’s Result capture (A1).
- If the platform cannot be reached, nothing local runs. The model is told not run: the platform could not record this call, so local tools do not run. Try again once the gateway answers.
Reading the Activity page explains the rest of that page.
Part B: direct mode, on your own key
B1. Switch to your own key
If you signed in to the platform on this machine in Part A, run AIMO: Sign out first. Since aimo 1.4.6 direct mode belongs to one window and signs nobody out, and while a platform key is on this machine your own tool servers do not run in a direct-mode window.
Then run AIMO: Use Your Own Provider API Key…:
- Read what direct mode changes, and accept it.
- Choose the provider: OpenRouter, Hugging Face, Evren, Novita, Cerebras, or any OpenAI-compatible endpoint.
- Paste your key; it is kept in VS Code’s secret storage, never in settings.
- Choose a model the provider lists with tools. AIMO never picks one for you.
The platform’s recipes are rows in its registry, so in direct mode there are none: you run the server as your own.
B2. Add the server as your own
In your user settings:
"aimo.mcp.local.enabled": true,
"aimo.mcp.local.servers": {
"chrome-devtools": {
"type": "stdio",
"command": "npx",
"args": ["-y", "chrome-devtools-mcp@1.11.0", "--no-usage-statistics",
"--no-performance-crux", "--redact-network-headers", "--isolated"],
"env": {
"CHROME_DEVTOOLS_MCP_NO_USAGE_STATISTICS": "1",
"CHROME_DEVTOOLS_MCP_NO_UPDATE_CHECKS": "1",
"CHROME_DEVTOOLS_MCP_NO_CONFIG_DISCOVERY": "1"
},
"description": "Drive a Chrome on this machine: open pages, read the console and network requests, take screenshots"
}
}
This is the recipe’s own launch line and environment: the same pinned version, the same
switches. --isolated matters most (see the next section). If VS Code cannot find npx,
give its full path, which which npx prints in a terminal; it must lie outside the
workspace.
B3. Ask
With only this server on the machine, naming it Chrome DevTools was enough:
Open http://localhost:3000 with Chrome DevTools. Why is the Total empty? List the console errors and the failed network requests.
The consent dialog now reads Start your tool server “chrome-devtools” on this machine?,
and the model calls the server as own_chrome-devtools:

- Nothing reaches the platform. During this run the installation’s audit trail recorded no request at all from the person who ran it. There is no check and no audit record; the extension’s logs stay on the machine.
- Your provider sees everything the model sees: the page text, the console messages and the network requests the tools return. Its terms and prices apply.
To go back, run AIMO: Switch Connection (Platform or Your Own Key)…, choose the platform
and sign in again. If you keep your own definition as well as the platform’s recipe, add
"disabled": true to yours, so the model is not offered the same tools twice.
Headless, isolated or your own Chrome
Headless means Chrome runs with no window on your screen. Nothing else changes: pages load and run their scripts, console messages and network requests are recorded, and snapshots and screenshots are rendered off screen exactly as they would be in a window. You simply do not see it happen.
- Headless off (the default on your own computer): Chrome opens a window of its own. You can watch what the agent does and step in. Keep it off when a page needs a person: a sign-in, a cookie banner, a captcha. You cannot click in a window you cannot see.
- Headless on (the default in a Remote-SSH, WSL or Dev Containers window): the server then runs on the remote machine, which has no screen to open a window on. Turn it on locally too if the window gets in your way.
Isolated means every start gets a temporary Chrome profile, deleted when the browser
closes: none of your everyday Chrome’s cookies, history, extensions or sign-ins, and
nothing the agent did survives the session. Leave it on. Without it, every Chrome DevTools
server on the machine uses one shared profile folder
(~/.cache/chrome-devtools-mcp/chrome-profile), and two VS Code windows collide on it.
Your own Chrome (browserUrl): when a page needs a sign-in you made yourself, start a
Chrome with a debugging port and a profile of its own, and let the server attach to it.
Never point it at your everyday profile. The server says so itself when it starts: it
exposes content of the browser instance to the MCP clients allowing them to inspect,
debug, and modify any data in the browser or DevTools. Chrome opens its debugging port
only for a separate profile anyway
(the server’s guide):
"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" --remote-debugging-port=9222 --user-data-dir="$HOME/.cache/aimo-chrome-debug"
Sign in to what you need in that window, then set the address. Headless and isolated no longer apply: the browser is yours.
Platform recipe (aimo.mcp.local.recipeOptions) |
Your own server (args) |
Recipe default | |
|---|---|---|---|
| Headless | "headless": true |
--headless |
off on your computer, on in a remote window |
| Isolated | "isolated": true |
--isolated |
on |
| Your own Chrome | "browserUrl": "http://127.0.0.1:9222" |
--browserUrl=http://127.0.0.1:9222 |
none |
Your own server has only the switches you write in args: without --headless and
--isolated both are off. The recipe accepts browserUrl only as an http:// address on
this machine. Every change to these options asks for consent again before the server next
starts.
The 32 tools
Chrome DevTools MCP 1.11.0 offers 32 tools. Eight only read and run without a card:
list_pages, select_page, list_console_messages, get_console_message,
list_network_requests, get_css_styles, performance_analyze_insight and wait_for.
Every other tool asks first, among them opening and navigating pages, clicking, filling in
forms, running a script in the page (evaluate_script), snapshots, screenshots,
performance traces, Lighthouse audits and file uploads.
When something goes wrong
| What you see | Why, and what to do |
|---|---|
| The model uses other tools or writes its own scripts | It was not told about the server. Update to aimo 1.4.1 or later, and name the server in the request (A4). |
| chrome-devtools is not in Tool Servers | aimo.mcp.local.enabled is not on: check the log line in A3. On the platform, also check the server’s scope and access on /mcp. |
| Restricted Mode: nothing local runs until you trust this workspace | Trust the folder. |
| not run: the platform could not record this call, so local tools do not run. | The platform could not be reached; nothing ran. Try again once it answers. |
| not run: this chat is in Ask mode, which changes nothing. | Switch the chat to Agent. |
VS Code cannot find npx |
Install Node.js. For your own server, give the full path to npx (B2). |
| … npx could not fetch chrome-devtools-mcp 1.11.0 … | The first start on this machine downloads the server with npx, and that failed; the message quotes npm’s own error. Check your network and the registry npm uses (npm config get registry), then ask again. |
| … did not answer initialize within 90 s on the first start | Up to aimo 1.4.1 the first start’s download counted against those 90 seconds. Update to aimo 1.4.2 or later, which downloads first. |
Why the browser runs on your machine
A browser inside the platform could not reach http://localhost on your computer, and one
there could reach internal addresses on everyone’s behalf. Running it beside VS Code keeps
it within your own machine’s reach and permissions, while on the platform every call is
still checked and recorded before it runs.