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

# Connect to Hyperbrowser MCP

> Connect AI clients and agents to the hosted Hyperbrowser MCP server (hbmcp) over Streamable HTTP with OAuth 2.0

## Overview

The Hyperbrowser MCP server (`hbmcp`) exposes web search, page fetching, site crawling, structured JSON extraction, cloud browser sessions, Linux sandboxes, team administration, and usage reporting to AI models over **Streamable HTTP** with **OAuth 2.0**.

![With the Hyperbrowser MCP, Claude can browse the web](https://4095930873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfwZVRs9Jmwzw9cfbchYG%2Fuploads%2Fs8PH64mIx6TMQxQQyz2Q%2FScreenshot%202025-03-12%20at%2014.30.07.png?alt=media\&token=6ff6268d-924b-47f0-98ea-e17afde47554)

*With the Hyperbrowser MCP, Claude can browse the web.*

## Hosted Server

The fastest way to get started is the hosted server at `https://mcp.hyperbrowser.ai/mcp`. There is nothing to install and no API key to copy: point any OAuth-capable HTTP MCP client at the URL and sign in with your Hyperbrowser account when prompted.

> [!NOTE]
>
> `https://mcp.hyperbrowser.ai/mcp` exposes all toolsets, including team and API key administration (`mcp:admin`). For agents that only need web tools or should not have admin access, connect to `https://mcp.hyperbrowser.ai/mcp/basic` or choose specific [toolsets](https://hyperbrowser.ai/docs/mcp/toolsets.md) in the path.

### Prerequisites

* A Hyperbrowser account ([sign up at app.hyperbrowser.ai](https://app.hyperbrowser.ai))
* An MCP client that supports Streamable HTTP and OAuth 2.0 (or a client configured with a refreshed MCP OAuth bearer token)

### Client Setup

> [tab] Claude Code
>
> ```bash theme={null}
> claude mcp add --transport http hyperbrowser https://mcp.hyperbrowser.ai/mcp
> ```
>
> Run `/mcp` in Claude Code (or invoke a Hyperbrowser tool) to open your browser, sign in to Hyperbrowser, select a team, and approve the requested scopes.

> [tab] Codex
>
> Add the server to `~/.codex/config.toml`:
>
> ```toml theme={null}
> [mcp_servers.hyperbrowser]
> url = "https://mcp.hyperbrowser.ai/mcp"
> ```
>
> Then authenticate in your browser:
>
> ```bash theme={null}
> codex mcp login hyperbrowser
> ```

> [tab] Cursor
>
> Add the server to `~/.cursor/mcp.json`, or to `.cursor/mcp.json` in your project:
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "hyperbrowser": {
>       "url": "https://mcp.hyperbrowser.ai/mcp"
>     }
>   }
> }
> ```
>
> Cursor discovers the OAuth configuration automatically and prompts you to sign in through your browser.

> [tab] VS Code
>
> Add the server to `.vscode/mcp.json`:
>
> ```json theme={null}
> {
>   "servers": {
>     "hyperbrowser": {
>       "type": "http",
>       "url": "https://mcp.hyperbrowser.ai/mcp"
>     }
>   }
> }
> ```
>
> VS Code prompts you to sign in to Hyperbrowser in your browser the first time the server connects.

> [tab] Gemini CLI
>
> ```bash theme={null}
> gemini mcp add --transport http hyperbrowser https://mcp.hyperbrowser.ai/mcp
> ```
>
> Complete the OAuth sign-in in your browser when prompted.

> [tab] Claude.ai
>
> In Claude, open **Settings → Connectors → Add custom connector** and enter:
>
> ```text theme={null}
> https://mcp.hyperbrowser.ai/mcp
> ```
>
> Use `https://mcp.hyperbrowser.ai/mcp/basic` (or another toolset path) if you want a smaller tool list without admin tools. Complete the Hyperbrowser browser sign-in and consent flow when prompted.

> [tab] Other clients
>
> Point any OAuth-capable Streamable HTTP MCP client at the server URL:
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "hyperbrowser": {
>       "url": "https://mcp.hyperbrowser.ai/mcp"
>     }
>   }
> }
> ```
>
> For clients that only support static headers, pass an externally obtained MCP OAuth access token in the `Authorization` header (and refresh it before its 10-minute expiry):
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "hyperbrowser": {
>       "url": "https://mcp.hyperbrowser.ai/mcp",
>       "headers": {
>         "Authorization": "Bearer <MCP_OAUTH_ACCESS_TOKEN>"
>       }
>     }
>   }
> }
> ```

## Next Steps

> [card] [Authentication](https://hyperbrowser.ai/docs/mcp/authentication.md)
>
> Learn about OAuth discovery, scopes, token lifetimes, and migrating from API keys.

> [card] [Toolsets & Platforms](https://hyperbrowser.ai/docs/mcp/toolsets.md)
>
> Narrow exposed tools by URL path and configure Claude Managed Agents or OpenAI Agents.

> [card] [Tools Reference](https://hyperbrowser.ai/docs/mcp/tools.md)
>
> Explore all tools across the web, browser, sandbox, admin, and usage toolsets.


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