agentab
v2.1.1
Published
AgenTab — browser MCP server. Let AI agents drive a real Chrome browser with your logged-in sessions, confined to their own tab group. Works with Claude Code, Codex, Gemini CLI, and Antigravity.
Maintainers
Readme
AgenTab — browser MCP server
Let AI agents drive a real Chrome browser with your logged-in sessions, confined to their own tab group so you can keep working in the same browser at the same time.
Works with Claude Code, Codex, Gemini CLI, and Google Antigravity.
Also published as
browse-mcp-server. Both install the same program, and both provide thebrowse-mcpcommand.
Install
npm install -g agentabQuick start
agentab auth # sign in; stores an API key in ~/.browse-mcp/credentials
agentab setup # register the MCP server with every coding tool foundsetup configures each client the way its own docs prescribe:
| Client | How it is registered |
| --- | --- |
| Claude Code | claude mcp add --scope user |
| Codex | [mcp_servers.browse-mcp] in ~/.codex/config.toml |
| Gemini CLI | gemini mcp add -s user |
| Antigravity | mcpServers in ~/.gemini/config/mcp_config.json |
Then pair a browser: install the BrowseMCP Chrome extension, open it, and approve the pairing code on your dashboard.
Commands
| Command | Description |
| --- | --- |
| agentab auth | Authenticate and store an API key |
| agentab setup | Configure the AI coding tools on this machine |
| agentab status | Show authentication status |
| agentab serve | Run the MCP stdio server (what coding agents invoke) |
How agents pick a browser
An account can have several browsers connected. list_browsers reports them:
{ "browsers": [ { "browserId": "browser_1", "label": "Work Chrome", "status": "online", "toolCount": 25 } ] }Every browser tool takes an optional browserId. With one browser connected it
is optional; with several it is required, and an untargeted call returns the
list rather than guessing.
The agent tab group
Everything an agent does happens inside a single Chrome tab group. It can open as many tabs as it likes in that group and cannot read or act on any tab outside it. You keep browsing normally in the same profile — so the agent inherits your logins without seeing the rest of your session.
Configuration
| Variable | Default | Purpose |
| --- | --- | --- |
| BROWSEMCP_API_URL | http://localhost:3050 | Control-plane URL |
Credentials live in ~/.browse-mcp/credentials.
Documentation and dashboard: https://browsemcp.online
