> ## 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.

# Toolsets & Agent Platforms

> Select MCP toolsets by URL path and connect Claude Managed Agents or OpenAI Agents to Hyperbrowser MCP

## Toolsets and URL Paths

Every tool definition consumes context on every turn, so `hbmcp` groups tools into toolsets that you select in the URL path:

| Toolset | Tools | Required scope |
| - | - | - |
| `web` | `search_web`, `web_fetch`, `crawl_website`, `extract_json_from_webpage`, `run_browser_task` | `mcp:tools` |
| `browser` | `create_browser_session`, `browser_action`, `stop_browser_session` | `mcp:tools` |
| `sandbox` | `create_sandbox`, `sandbox_exec`, `sandbox_process`, `stop_sandbox` | `mcp:tools` |
| `admin` | `manage_team`, `manage_api_keys` | `mcp:admin` |
| `usage` | `get_usage` | `mcp:usage` |

Choose which toolsets to expose by appending them to `/mcp`:

| URL | Toolsets served | Notes |
| - | - | - |
| `https://mcp.hyperbrowser.ai/mcp` | All (`web`, `browser`, `sandbox`, `admin`, `usage`) | Same as `/mcp/all`. Requests `mcp:tools mcp:admin mcp:usage`. |
| `https://mcp.hyperbrowser.ai/mcp/basic` | `web` | Smallest context; excludes browser sessions, sandboxes, and admin tools. |
| `https://mcp.hyperbrowser.ai/mcp/browser,sandbox` | `browser`, `sandbox` | Comma-separated list of any valid toolset names. |
| `https://mcp.hyperbrowser.ai/mcp/admin,usage` | `admin`, `usage` | Account and team administration without browser or sandbox access. |

Unknown toolset names return `404`.

## Platform Layers

If you are connecting from Claude Managed Agents or OpenAI's Agents API/SDK, use the platform-specific path prefix. Toolsets work the same way after the platform name:

| Path | Default toolset | Differences from `/mcp/...` |
| - | - | - |
| `/mcp/...` | All toolsets | Standard schemas for direct use and general MCP clients. |
| `/mcp/openai/...` | `browser` | Reshapes inputs for OpenAI strict function schemas: optional arguments accept `null`, and `sandbox_exec`'s `env` is a list of `{ name, value }` pairs. |
| `/mcp/claude/...` | `browser` | Omits `search_web` and `web_fetch`, which Claude Managed Agents have built in. |

On platform paths, `admin` and `usage` are opt-in—for example `/mcp/claude/browser,usage` or `/mcp/openai/browser,sandbox`.

## Agent Platforms

Non-interactive agent runtimes do not perform interactive browser login or token refresh automatically. Obtain an MCP OAuth access token externally and renew it before its 10-minute expiry.

> [tab] Claude Managed Agents
>
> Use `/mcp/claude` (or `/mcp/claude/browser,sandbox` to include sandboxes). Declare the server by URL and attach a `static_bearer` credential in the session's vault with the exact same `mcp_server_url`:
>
> ```json theme={null}
> {
>   "mcp_servers": [
>     {
>       "type": "url",
>       "name": "hyperbrowser",
>       "url": "https://mcp.hyperbrowser.ai/mcp/claude"
>     }
>   ],
>   "tools": [
>     { "type": "agent_toolset_20260401" },
>     {
>       "type": "mcp_toolset",
>       "mcp_server_name": "hyperbrowser",
>       "default_config": { "permission_policy": { "type": "always_allow" } }
>     }
>   ]
> }
> ```
>
> Vault credential:
>
> ```json theme={null}
> {
>   "display_name": "Hyperbrowser",
>   "auth": {
>     "type": "static_bearer",
>     "mcp_server_url": "https://mcp.hyperbrowser.ai/mcp/claude",
>     "token": "<MCP_OAUTH_ACCESS_TOKEN>"
>   }
> }
> ```

> [tab] OpenAI Agents API
>
> Use `/mcp/openai` (or `/mcp/openai/browser,sandbox`):
>
> ```json theme={null}
> {
>   "type": "mcp",
>   "server_label": "hyperbrowser",
>   "transport": {
>     "type": "http",
>     "server_url": "https://mcp.hyperbrowser.ai/mcp/openai",
>     "authorization": "Bearer <MCP_OAUTH_ACCESS_TOKEN>"
>   },
>   "required": true
> }
> ```
>
> You can set `transport.authorization` per session, or store a `static_bearer` credential for the same URL in a vault and attach it with `vault_ids`.

> [tab] OpenAI Agents SDK
>
> ```python theme={null}
> from agents import Agent, Runner
> from agents.mcp import MCPServerStreamableHttp
>
> async with MCPServerStreamableHttp(
>     name="hyperbrowser",
>     params={
>         "url": "https://mcp.hyperbrowser.ai/mcp/openai/browser,sandbox",
>         "headers": {"Authorization": f"Bearer {MCP_OAUTH_ACCESS_TOKEN}"},
>         "timeout": 60,
>     },
>     client_session_timeout_seconds=60,
>     cache_tools_list=True,
> ) as hyperbrowser:
>     agent = Agent(name="Assistant", mcp_servers=[hyperbrowser])
>     result = await Runner.run(agent, "Check the homepage of example.com")
> ```
>
> Raise `client_session_timeout_seconds` from the SDK's 5-second default so sandbox creation and `sandbox_exec` calls do not time out. Use `/mcp/openai` when enabling `convert_schemas_to_strict`. With `MCPServerStreamableHttp`, `browser_action` screenshots reach the model as images (unlike `HostedMCPTool`, which returns text only).


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