/mcp/web, which works without needing administrative permissions over your Hyperbrowser account.
Prerequisites
- A Hyperbrowser account for OAuth browser consent (for MCP) and
HYPERBROWSER_API_KEYorhx auth login(for Step 3). - Claude Code, Codex, or VS Code with MCP support, plus the
hxCLI installed for terminal checks.
Step 1: Connect Hosted MCP (/mcp/web)
Use the /mcp/web URL path so the coding agent gets web search, fetch, crawl, and extract tools without browser, sandbox, or account-admin tools. The full /mcp endpoint also includes admin and usage tools and scopes; see Connect to MCP for every endpoint.
- Claude Code
- Codex
Step 2: Add a Guardrail Block to AGENTS.md
Paste a concise rule block into your repository’s AGENTS.md or CLAUDE.md so the agent picks the cheapest surface and always cleans up sessions:
Step 3: Verify from the Terminal with hx
Pair MCP with hx when debugging a rendered page or streaming browser logs:
Expected output
- Your coding agent completes browser OAuth consent for
https://mcp.hyperbrowser.ai/mcp/weband lists only web tools (no browser, sandbox, or account-admin tools). hx web fetchprints clean Markdown to stdout,hx --json browser create --stealthreturns a session ID,hx browser openopens Live View, andhx browser stopcleans up the session.
Next Steps
- Coding Agents & Skills — copyable
AGENTS.mdand role-splitSKILL.mdtemplates. - MCP Toolsets — customize toolset URL paths and scopes.