> ## Documentation Index
> Fetch the complete documentation index at: https://docs.browseros.com/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP Clients (Claude Code, OpenClaw)

> Control your browser and 40+ apps from Claude Code, OpenClaw, Gemini CLI, or any MCP client

BrowserOS is the best browser for AI coding agents. It comes with a built-in MCP server that gives your AI agent **full browser control** and **direct access to 40+ external services** — Gmail, Slack, GitHub, Google Calendar, Linear, Notion, and more — all through a single MCP connection.

> [!NOTE]
>
> Unlike Chrome DevTools MCP which requires setting up debug profiles and running separate servers, BrowserOS MCP works out of the box. Just copy the URL from settings and connect.

## Why Use BrowserOS with Claude Code?

> [card] Agentic Coding
>
> Claude tests your web app, reads console errors, and fixes the code — all in one loop.

> [card] 40+ App Integrations
>
> Gmail, Slack, GitHub, Jira, Notion, Google Sheets, and more — accessible directly from your AI agent.

> [card] Data Extraction
>
> Extract your LinkedIn profile, tweets, or any authenticated page content.

> [card] Task Automation
>
> Fill forms, navigate multi-step workflows, and automate repetitive browser tasks.

> [card] 53+ MCP Tools
>
> Full browser control: tabs, navigation, clicks, typing, screenshots, bookmarks, history, tab groups, and window management.

> [card] Zero Config Auth
>
> Connect external services via OAuth — credentials are managed securely, never stored in BrowserOS.

> [!TIP]
>
> Wondering how BrowserOS MCP compares to Chrome DevTools MCP or other browser automation tools? See our [detailed feature comparison](https://docs.browseros.com/browseros/comparisons/chrome-devtools-mcp.md) covering 53 browser tools, 40+ app integrations, and why BrowserOS MCP gives developers more out of the box.

## Getting Started

**1. Open BrowserOS Settings**

Navigate to `chrome://browseros/mcp` or click **Settings** → **BrowserOS as MCP** in the sidebar.

**2. Copy the MCP URL**

Copy the Server URL shown on the page (e.g., `http://127.0.0.1:9239/mcp`).

![BrowserOS MCP settings page showing Server URL](https://mintcdn.com/browseros/SQ44qH9ZJeym2Wd9/images/features--browseros-mcp-settings.png?fit=max\&auto=format\&n=SQ44qH9ZJeym2Wd9\&q=85\&s=472b650f1198a71844cb6df3920a39ca)

**3. Connect your MCP client**

Use the tabs below to connect your preferred client.

> [tab] Claude Code
>
> Add BrowserOS to Claude Code:
>
> ```bash theme={null}
> claude mcp add --transport http browseros <mcp_url> --scope user
> # Example: claude mcp add --transport http browseros http://127.0.0.1:9239/mcp --scope user
> ```
>
> Start Claude Code and try it:
>
> ```bash theme={null}
> claude
> > Open amazon.com in BrowserOS
> ```
>
> > [!TIP]
> >
> > Run `claude --dangerously-skip-permissions` to skip confirmation prompts for each browser action.
>
> To remove later:
>
> ```bash theme={null}
> claude mcp remove browseros --scope user
> ```

> [tab] Gemini CLI
>
> Add BrowserOS to Gemini CLI:
>
> ```bash theme={null}
> gemini mcp add local-server <mcp_url> --transport http --scope user
> # Example: gemini mcp add local-server http://127.0.0.1:9239/mcp --transport http --scope user
> ```

> [tab] Codex
>
> Add BrowserOS to OpenAI Codex CLI:
>
> ```bash theme={null}
> codex mcp add browseros <mcp_url> --transport http
> # Example: codex mcp add browseros http://127.0.0.1:9239/mcp --transport http
> ```

> [tab] OpenClaw
>
> Add BrowserOS to [OpenClaw](https://openclaw.ai/) by adding it to the `mcpServers` section in your `openclaw.json` config file:
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "browseros": {
>       "url": "http://127.0.0.1:9239/mcp"
>     }
>   }
> }
> ```
>
> Replace the URL with your BrowserOS MCP URL from settings.

> [tab] Claude Desktop
>
> Open your Claude Desktop config file:
>
> ```
> ~/Library/Application Support/Claude/claude_desktop_config.json
> ```
>
> Add BrowserOS:
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "browseros": {
>       "command": "npx",
>       "args": ["mcp-remote", "http://127.0.0.1:9239/mcp"]
>     }
>   }
> }
> ```
>
> > [!WARNING]
> >
> > Do not add BrowserOS to `claude_desktop_config.json` as a raw `{ "url": "..." }` entry. Claude Desktop local config expects a command wrapper here, so use `npx mcp-remote <mcp_url>`.
>
> Restart Claude Desktop to connect.

## Connect from a Remote Machine

The BrowserOS MCP server only listens on `127.0.0.1`, so by default only programs on the same computer can reach it. If your agent runs somewhere else — for example a [Hermes](https://github.com/NousResearch) or OpenClaw agent on a VPS controlling BrowserOS on your laptop — you need a reverse tunnel that forwards requests from the remote machine to the MCP server on your laptop.

> [!WARNING]
>
> Anyone who can reach this URL has full control of your browser, including every account you are signed into. Prefer a private tunnel like Tailscale over a public URL, and treat public tunnel URLs like passwords.

All commands below use port `9239` — replace it with the port shown on your `chrome://browseros/mcp` settings page.

> [tab] Tailscale (recommended)
>
> Tailscale puts your laptop and VPS on a private network, so the MCP server is never exposed to the public internet and the URL never changes.
>
> 1. Install [Tailscale](https://tailscale.com/download) on both your laptop and the VPS, and sign in to the same tailnet on both.
> 2. On the laptop, share the MCP port with your tailnet:
>
> ```bash theme={null}
> tailscale serve --bg 9239
> ```
>
> 3. Tailscale prints an HTTPS URL like `https://your-laptop.tailnet-name.ts.net`. On the VPS, point your agent at that URL with the `/mcp` path:
>
> ```bash theme={null}
> claude mcp add --transport http browseros https://your-laptop.tailnet-name.ts.net/mcp --scope user
> ```
>
> Run `tailscale serve reset` on the laptop to stop sharing.

> [tab] Cloudflare Tunnel
>
> On the laptop, start a quick tunnel:
>
> ```bash theme={null}
> cloudflared tunnel --url http://127.0.0.1:9239
> ```
>
> Cloudflare prints a URL like `https://random-words.trycloudflare.com`. On the VPS, connect your agent to `https://random-words.trycloudflare.com/mcp`.
>
> > [!WARNING]
> >
> > Quick tunnels are public and unauthenticated — anyone who discovers the URL can control your browser. The URL also changes every time `cloudflared` restarts, so you must update your agent config after each restart. For anything long-running, use a [named tunnel](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/) with Cloudflare Access in front, or use Tailscale instead.

> [tab] ngrok
>
> On the laptop, start a tunnel:
>
> ```bash theme={null}
> ngrok http 9239
> ```
>
> ngrok prints a URL like `https://abc123.ngrok-free.app`. On the VPS, connect your agent to `https://abc123.ngrok-free.app/mcp`.
>
> > [!WARNING]
> >
> > The URL is public — anyone who discovers it can control your browser — and it changes every time ngrok restarts unless you use a reserved domain. Use Tailscale instead for anything long-running.

> [!NOTE]
>
> The connection only works while your laptop is awake, BrowserOS is running, and the tunnel process is alive. If a remote agent that was working suddenly stops connecting, check those three first — and if you use ngrok or a Cloudflare quick tunnel, remember the URL rotates on every restart, so your agent may be pointing at a dead URL. Tailscale avoids this because its hostnames are stable.

## Example Prompts

> [accordion] Try these prompts once connected
>
> Extract structured data from any page you're logged into — no scraping setup needed.
>
> ```
> Open my LinkedIn profile in BrowserOS and extract my work experience as JSON
> ```
>
> Test your web app end-to-end without leaving the terminal — Claude navigates, interacts, and reports errors back.
>
> ```
> In BrowserOS, go to localhost:3000, click the login button, and check for console errors
> ```
>
> Capture visual snapshots of any page for debugging, documentation, or design review.
>
> ```
> Take a screenshot of the current page in BrowserOS and save it to screenshots/
> ```
>
> Search through your real browsing history to find pages you visited earlier.
>
> ```
> Search my BrowserOS history for "invoice" and list the recent matches
> ```
>
> Access your email directly from the agent — read, search, and summarize without switching windows.
>
> ```
> Read my latest Gmail messages and summarize them
> ```
>
> Chain multiple services together in a single prompt — file issues, notify your team, and stay in flow.
>
> ```
> Create a Linear issue for the bug I just found and post a summary to Slack
> ```

***

## Browser Automation Tools

BrowserOS exposes **53 browser automation tools** to MCP clients, organized into the following categories:

> [accordion] Navigation & Tabs (8 tools)
>
> | Tool | Description |
> | - | - |
> | `get_active_page` | Get the currently focused page/tab |
> | `list_pages` | List all open pages with title, URL, and tab ID |
> | `navigate_page` | Navigate to a URL, or go back/forward/reload |
> | `new_page` | Open a new tab (with optional background/hidden mode) |
> | `new_hidden_page` | Open a hidden tab for background automation |
> | `show_page` | Restore a hidden page to visible state |
> | `move_page` | Move a tab to a different window or position |
> | `close_page` | Close a tab |

> [accordion] Content & Observation (8 tools)
>
> | Tool | Description |
> | - | - |
> | `take_snapshot` | Get accessibility tree with interactive element IDs |
> | `take_enhanced_snapshot` | Detailed accessibility tree with structural context |
> | `get_page_content` | Extract page as clean Markdown (headers, links, tables) |
> | `get_page_links` | Extract all links from a page with deduplication |
> | `get_dom` | Get raw HTML DOM with optional CSS selector scoping |
> | `search_dom` | Search DOM by text, CSS selector, or XPath |
> | `take_screenshot` | Capture page screenshot (PNG/JPEG/WebP, full-page option) |
> | `evaluate_script` | Execute JavaScript in the page context |

> [accordion] Interaction & Input (14 tools)
>
> | Tool | Description |
> | - | - |
> | `click` | Click an element by ID from snapshot |
> | `click_at` | Click at specific X,Y coordinates |
> | `hover` | Hover over an element |
> | `focus` | Focus an element (scrolls into view) |
> | `fill` | Type text into an input (with optional clear) |
> | `clear` | Clear text from input/textarea |
> | `check` | Check a checkbox or radio button |
> | `uncheck` | Uncheck a checkbox |
> | `select_option` | Select a dropdown option by value or text |
> | `press_key` | Press a key or key combination (Enter, Ctrl+A, etc.) |
> | `drag` | Drag an element to another element or coordinates |
> | `scroll` | Scroll page or element (up/down/left/right) |
> | `upload_file` | Upload files to a file input element |
> | `handle_dialog` | Accept or dismiss JavaScript dialogs |

> [accordion] File & Export (3 tools)
>
> | Tool | Description |
> | - | - |
> | `save_pdf` | Print current page to a PDF file |
> | `save_screenshot` | Capture and save a screenshot to disk |
> | `download_file` | Click an element to trigger a download and save it |

> [accordion] Window Management (5 tools)
>
> | Tool | Description |
> | - | - |
> | `list_windows` | List all browser windows |
> | `create_window` | Create a new browser window |
> | `create_hidden_window` | Create a hidden window for background tasks |
> | `close_window` | Close a window by ID |
> | `activate_window` | Focus and activate a window |

> [accordion] Tab Groups (5 tools)
>
> | Tool | Description |
> | - | - |
> | `list_tab_groups` | List all tab groups |
> | `group_tabs` | Create a tab group with optional title and color |
> | `update_tab_group` | Update group title, color, or collapsed state |
> | `ungroup_tabs` | Remove tabs from groups |
> | `close_tab_group` | Close a group and all its tabs |

> [accordion] Bookmarks (6 tools)
>
> | Tool | Description |
> | - | - |
> | `get_bookmarks` | List all bookmarks |
> | `create_bookmark` | Create a bookmark or folder |
> | `remove_bookmark` | Delete a bookmark or folder |
> | `update_bookmark` | Update bookmark title or URL |
> | `move_bookmark` | Move a bookmark to a different folder |
> | `search_bookmarks` | Search bookmarks by title or URL |

> [accordion] History (4 tools)
>
> | Tool | Description |
> | - | - |
> | `search_history` | Search browser history by text query |
> | `get_recent_history` | Get the most recent history items |
> | `delete_history_url` | Delete a specific URL from history |
> | `delete_history_range` | Delete history within a time range |

***

## 40+ External App Integrations

BrowserOS connects your AI agent directly to the tools you already use — no separate MCP servers to install or configure. Everything is accessible through the same BrowserOS MCP connection.

### How It Works

**1. Agent calls an external service tool**

Your AI agent calls a tool like `gmail_search_messages` through the BrowserOS MCP.

**2. OAuth login (first time only)**

If this is your first time using that service, BrowserOS opens an OAuth login page in the browser. Log in and authorize access.

**3. Tool executes and returns results**

Once authenticated, the tool runs and returns results to your agent. Future calls to the same service work automatically — no re-authentication needed.

> [!NOTE]
>
> Your credentials are managed securely via OAuth and are **never stored in BrowserOS**. Tokens are refreshed transparently, and you can revoke access at any time from the service provider.

### Supported Services

> [accordion] Email
>
> | Service | What you can do |
> | - | - |
> | **Gmail** | Send, read, search emails, manage drafts and labels |
> | **Outlook Mail** | Send, read, and manage emails |
> | **Resend** | Send transactional and marketing emails |

> [accordion] Calendar & Scheduling
>
> | Service | What you can do |
> | - | - |
> | **Google Calendar** | Create events, find free time, manage calendars |
> | **Outlook Calendar** | Schedule meetings, manage events |
> | **Cal.com** | Schedule meetings, manage availability |

> [accordion] Communication
>
> | Service | What you can do |
> | - | - |
> | **Slack** | Post messages, manage channels |
> | **Discord** | Send messages, manage servers |
> | **WhatsApp** | Send messages, manage conversations |
> | **Microsoft Teams** | Chat, meet, and collaborate |

> [accordion] Development
>
> | Service | What you can do |
> | - | - |
> | **GitHub** | Manage repos, issues, and pull requests |
> | **GitLab** | Manage repos, issues, and merge requests |
> | **Vercel** | Deploy and manage web applications |
> | **Postman** | Test and manage APIs |
> | **Cloudflare** | Manage domains, DNS, and security |
> | **Supabase** | Manage databases and backend services |

> [accordion] Project Management
>
> | Service | What you can do |
> | - | - |
> | **Linear** | Create issues, manage cycles and projects |
> | **Jira** | Create issues, manage sprints |
> | **Asana** | Organize and track team projects |
> | **Monday** | Manage work and team collaboration |
> | **ClickUp** | Manage tasks, projects, and workflows |

> [accordion] Productivity & Docs
>
> | Service | What you can do |
> | - | - |
> | **Notion** | Create pages, manage databases |
> | **Google Docs** | Create and edit documents |
> | **Google Sheets** | Create and edit spreadsheets |
> | **Google Drive** | Upload, download, and manage files |
> | **Google Forms** | Create and manage forms and surveys |
> | **Confluence** | Create and manage documentation |
> | **Airtable** | Manage bases, tables, and records |

> [accordion] File Storage
>
> | Service | What you can do |
> | - | - |
> | **Dropbox** | Store and share files |
> | **OneDrive** | Store and sync files with Microsoft |
> | **Box** | Manage and share enterprise files |

> [accordion] Design
>
> | Service | What you can do |
> | - | - |
> | **Figma** | Access and manage design files |
> | **Canva** | Create and manage designs |

> [accordion] CRM & Marketing
>
> | Service | What you can do |
> | - | - |
> | **Salesforce** | Manage leads, contacts, and opportunities |
> | **HubSpot** | Manage contacts, deals, and marketing |

> [accordion] E-commerce & Payments
>
> | Service | What you can do |
> | - | - |
> | **Shopify** | Manage products, orders, and store |
> | **Stripe** | Manage payments and subscriptions |

> [accordion] Analytics
>
> | Service | What you can do |
> | - | - |
> | **PostHog** | Query analytics, manage feature flags |
> | **Mixpanel** | Analyze user behavior and metrics |

> [accordion] Support
>
> | Service | What you can do |
> | - | - |
> | **Zendesk** | Manage support tickets and customers |
> | **Intercom** | Manage customer messaging and support |

> [accordion] Search & AI
>
> | Service | What you can do |
> | - | - |
> | **Brave Search** | Search the web privately |
> | **Exa** | AI-powered semantic web search |
> | **Mem0** | Store and retrieve AI memory |

> [accordion] Social
>
> | Service | What you can do |
> | - | - |
> | **LinkedIn** | Post updates, manage connections |
> | **YouTube** | Access video info and transcripts |
> | **WordPress** | Manage websites and blog content |

***

## Demo Videos

### Agentic coding workflow

[![Frontend dev demo](https://img.youtube.com/vi/vcSxzIIkg_0/0.jpg)](https://youtu.be/vcSxzIIkg_0)

### Browser automation with Claude Code

[![Agentic tasks demo](https://img.youtube.com/vi/rPFx_Btajj0/0.jpg)](https://youtu.be/rPFx_Btajj0)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.