Agent Computer Use
Enables agent-driven control of Brave browser tabs through the Chrome extension, including opening background tabs, reading page snapshots, clicking and typing, evaluating JavaScript, capturing screenshots, and monitoring console and network activity.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Agent Computer Use
npm · Privacy policy · Chrome Web Store submission · Issues
Agent Computer Use lets local coding agents (Codex, Claude Code, Gemini CLI, Cursor, OpenCode, Copilot CLI and any other MCP client) work in your real Chrome while you keep using it. Each agent opens its own background tabs, grouped per task, and acts on them with its own pointer and keyboard. Your pointer, focus and current tab are not touched.
It works through a Chrome extension. Chrome's remote debugging stays off, so there is no "Allow remote debugging?" dialog and no permanent "Chrome is being controlled by automated test software" bar.

Install
You need macOS or Linux, Chrome, Chromium, Brave or Edge 116 or later, and Node.js 20 or later.
npx @csltd/agent-computer-use installinstall registers the native host for every Chromium-based browser it finds and copies the host and the extension to ~/.agent-computer-use, so nothing depends on the npx cache.
Then:
Open
chrome://extensions, turn on Developer mode, click Load unpacked and choose~/.agent-computer-use/extension. This step goes away once the extension is listed on the Chrome Web Store.Add the MCP server to your agent (below).
Check the setup with
npx @csltd/agent-computer-use doctor. Every line should sayok.
The extension cannot work on its own. Chrome only lets an extension talk to programs on your computer through a native messaging host, so the install step is always needed. A Chrome Web Store install has a different extension ID; register it with npx @csltd/agent-computer-use install --extension-id <id>.
After upgrading the package, run install again and reload the extension. doctor reports when the two versions differ.
Related MCP server: chromium-sidecar
Add it to your agent
The MCP server is npx -y @csltd/agent-computer-use mcp. Use the full path to npx if your agent does not inherit your shell's PATH.
Codex (~/.codex/config.toml):
[mcp_servers.agent-computer-use]
command = "npx"
args = ["-y", "@csltd/agent-computer-use", "mcp"]Claude Code:
claude mcp add -s user agent-computer-use -- npx -y @csltd/agent-computer-use mcpGemini CLI, Cursor, Windsurf, Kiro and most other clients (mcpServers JSON):
{
"mcpServers": {
"agent-computer-use": {
"command": "npx",
"args": ["-y", "@csltd/agent-computer-use", "mcp"]
}
}
}A short line in your agent instructions helps the agent pick the right tool, for example:
For browser work, use the
agent-computer-useMCP. Open tabs withtab_openand a short emoji-prefixedgroupname per task, read pages withsnapshot, act with the[ref=eN]references it returns, and close your tabs withtab_closewhen done.
How it works
flowchart LR
A1[Agent 1] -->|MCP over stdio| M1[agent-computer-use mcp]
A2[Agent 2] -->|MCP over stdio| M2[agent-computer-use mcp]
M1 -->|JSON lines| S[(Unix socket<br>~/.agent-computer-use/broker.sock)]
M2 -->|JSON lines| S
S --- H[Native host<br>started by Chrome]
H -->|native messaging| E[Agent Computer Use extension]
E -->|chrome.debugger| T[Agent tabs in the background]Chrome starts the native host when the extension loads. The host listens on a Unix socket that only your user account can open.
Each agent runs
agent-computer-use mcp, which connects to that socket and exposes browser tools.The extension opens agent tabs with
active: false, puts them in a tab group named after the task, and forwards the agent's DevTools commands to those tabs throughchrome.debugger.Clicks and key presses go straight to the page as DevTools input events. Pages see real, trusted events, and your pointer stays where it is.
The extension detaches the debugger after two quiet minutes, so Chrome's "started debugging this browser" bar shows only while an agent is working. Dismissing that bar stops the agent on that tab.

Tools
Tool | What it does |
| Lists every open tab with its id, title, URL and group, and whether you control it |
| Opens a URL in a new background tab inside a named tab group |
| Takes control of a tab you already have open, for when you ask an agent to work in it |
| Closes a tab the agent controls |
| Loads a URL, or goes back, forward or reloads, and waits for the page |
| Returns the page as an outline of headings, text, links and controls, with |
| Clicks or hovers an element by reference |
| Types into a field, optionally replacing its value or pressing Enter; presses keys and shortcuts |
| Chooses options in a |
| Scrolls an element into view or the page by screens |
| Captures the viewport or the whole page, in PNG or JPEG |
| Runs JavaScript in the page and returns the result |
| Console output, errors and requests since the agent attached |
| Waits for text to appear or disappear, or for a number of seconds |
| Accepts or dismisses alert, confirm and prompt dialogs |
Snapshots and element lookups run in an isolated script world, so the page's own scripts cannot see or change them.
Security
Only this extension can start the native host: its manifest lists the extension's ID in
allowed_origins.The socket lives in
~/.agent-computer-usewith mode600, so only processes running as your user can connect. Any such process can use the tools, which is the same trust level as your user account.An agent can only send commands to tabs it opened or claimed.
tab_claimaccepts any tab id, so tell your agents to claim a tab only when you ask.Agents can read and change everything in the tabs they control, including signed-in sessions. Keep that in mind before you point an agent at an account.
The extension's popup lists the tabs agents control and has a button to release them all.

Privacy
Nothing is sent to the developer or any server. The extension passes page content and tab details only to the local program, which passes them to the agents you connect. See PRIVACY.md.
Limitations
Snapshots cover the main page and same-origin iframes. Cross-origin iframes are listed but not expanded.
Chrome does not let extensions debug
chrome://pages, the Chrome Web Store or other extensions' pages.Chrome slows timers and animations in background tabs.
Windows is not supported yet, because native host registration there needs the registry.
Uninstall
npx @csltd/agent-computer-use uninstallThen remove the extension at chrome://extensions and the MCP entry from your agents.
Development
git clone https://github.com/konstantinosbotonakis/agent-computer-use.git
cd agent-computer-use
npm install
npm test
node bin/agent-computer-use.mjs installRunning install from a checkout prints MCP settings that point at the checkout. While developing, load the extension unpacked from the repository's extension folder so a reload picks up your changes.
npm run package:storebuilds the Chrome Web Store upload indist/.node scripts/render-store-images.mjsrenders the store screenshots and promo tile instore/imagesfrom the HTML instore/.docs/chrome-web-store.md has the listing text, permission justifications and data disclosures.
License
MIT. Built by Custom Services Limited.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Let AI agents use your real, signed-in Chrome: tabs, clicks, forms, screenshots and video.
Real Chrome for coding agents over MCP: browse, replay playbooks, human takeover, HIPAA & BAA.
Control a real browser from AI agents: navigate, click, type, screenshot, read the page.
Give AI agents a real cloud Chrome: open sessions, navigate, read pages, click, type and screenshot.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables local AI agents to control Chrome in parallel with isolated tab groups, supporting operations like navigation, clicks, and form filling without interference.-
- AlicenseNot gradedqualityBmaintenanceEnables local AI agents to operate the user's existing browser session via a Manifest V3 extension and native messaging, supporting tabs, DOM snapshots, clicks, form input, JavaScript, screenshots, cookies, network capture, and Arc Spaces.MIT
- AlicenseNot gradedqualityBmaintenanceEnables any coding agent to use the user's existing Chrome profiles and logins to open tabs, read pages, fill forms, click through flows, and take screenshots.21 npmMIT
- AlicenseNot gradedqualityAmaintenanceLets AI agents control the real, already-logged-in Chrome browser: reading pages, clicking, typing, navigating tabs, taking screenshots, and inspecting cookies, network traffic, console output, and storage. It connects as a local extension over Native Messaging, so no remote-debugging port or headless profile is needed.1 npmISC