H/Ai Browser MCP server
io.github.festuscharles-n/hai-browser·v0.0.10Let AI agents drive VS Code's built-in browser alongside you, with click-to-source.
not scanned yet
0 stars
Reviews
Write oneNobody has reviewed H/Ai Browser yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
H/Ai Browser tools
No tool declarations could be read from the package source. They show once the server is installed.
How H/Ai Browser compares
Against every graded Scraping and browsing MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 86/100
- higher than 67% of 866 Scraping and browsing servers
Release history: 3 versions in the registry since 2026-10-02, latest 2026-10-15, typically one every 13 days.
Install H/Ai Browser in Claude Code, Cursor or VS Code
Runs npx -y hai-browser-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add hai-browser -- npx -y hai-browser-mcp
What the publisher says
From the H/Ai Browser repository's README, as published. We do not edit it. Read it on GitHub
H/Ai — hai-browser
Share VS Code's integrated browser with Claude Code, GitHub Copilot, Codex CLI, Gemini CLI, Cline or any other MCP agent. You and the agent work in the same browser tab: it reads the page, clicks and types with real input, takes screenshots and watches the console, while you watch and take over at any time.
Point at an element and H/Ai opens the line of code that rendered it, and the agent gets the same element (source location, HTML, styles, screenshot), so "make this button match the header" just works.
Status: prototype (phases 0–2). See docs/plan.md.
How it works
Claude Code ──stdio MCP──▶ hai-browser-mcp ──ws://127.0.0.1 (token)──▶ H/Ai VS Code extension
│ editor-browser debug session
│ + js-debug requestCDPProxy
▼
VS Code integrated browser tab (CDP)- The extension attaches to an integrated-browser tab through VS Code's built-in JavaScript debugger (editor-browser debug type) and asks it for a Chrome DevTools Protocol proxy (extension.js-debug.requestCDPProxy). This uses only stable, public APIs, so it works in published extensions.
- Each VS Code window runs a localhost-only WebSocket server and writes a lockfile (~/.hai-browser/sessions/.json, mode 0600) with its port and a random token.
- hai-browser-mcp picks the window whose workspace contains the agent's working directory and forwards tool calls to it.
Everything runs on your machine. There is no hosted service and no telemetry.
Requirements
- VS Code 1.119+ (integrated browser + built-in JavaScript debugger). VSCodium and Windsurf work too; they install H/Ai from Open VSX. Cursor and Antigravity don't yet: Cursor ships without VS Code's integrated browser, and Antigravity is based on VS Code 1.107.
- Claude Code, GitHub Copilot, Codex CLI, Gemini CLI, Cline or another MCP client
- Node.js 20+ to build from source (installed users can do without it; H/Ai falls back to VS Code's runtime)
Install
- Install the extension: search for H/Ai Browser in VS Code's Extensions view, or run code --install-extension hai-browser.hai-browser. You can also download hai-browser.vsix from the latest release and run code --install-extension hai-browser.vsix, or use the one-line installer:
# macOS / Linux
curl -fsSL https://raw.githubusercontent.com/SnapBlock/hai-browser/main/scripts/install.sh | sh# Windows (PowerShell)
irm https://raw.githubusercontent.com/SnapBlock/hai-browser/main/scripts/install.ps1 | iex- Open a folder in VS Code and trust it (the extension does not run in Restricted Mode). H/Ai asks "let Claude Code use this browser?". Click Connect Claude Code. You can run it again any time with H/Ai: Connect Claude Code.
- Start claude in that folder (VS Code's terminal is easiest) and ask it to open your app, e.g. "open http://localhost:5173 and check the signup form works". Or share a tab you already have open with H/Ai: Share Browser Tab with Agent (also in the status bar).
The MCP server ships inside the extension. Connecting copies it to ~/.hai-browser/mcp/index.mjs (kept up to date when the extension updates) and runs claude mcp add --scope user hai-browser -- node ~/.hai-browser/mcp/index.mjs. If Node.js 20+ isn't on your PATH, it uses VS Code's own runtime instead.
Other agents
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
H/Ai Browser: common questions
- Is H/Ai Browser MCP server safe?
- Yes, by our scan: it is graded A (86/100). Read the H/Ai Browser safety report
- How do I install H/Ai Browser?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does H/Ai Browser need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is H/Ai Browser maintained?
- The last commit was 33 days ago (2026-10-02). The latest release is v0.0.10.
- What can I use instead of H/Ai Browser?
- Servers from other publishers that do the same job: AIHawk MCP server, Skyvern MCP server and Agent360 Browser MCP server.
Alternatives to H/Ai Browser
Same job from other publishers: the closest match first, then the best rated.
- AIHawkAI browser agent: browses, clicks, types, and reads real web pages from plain-English instructions.not reviewedWidely usedA
- SkyvernAI-powered browser automation — navigate, click, fill forms, and extract data from any website.not reviewedEstablishedA
- Agent360 Browser MCPDrive your real, logged-in Chrome from any AI agent - 40 tools. Needs our Chrome extension too.not reviewedEstablishedA
- Openbrowser AIAI browser automation. Write async Python to navigate, click, type, and extract data.not reviewedEstablishedB
- Oya BrowserReal Chrome for agents: start a browser, read pages as numbered markdown, click, type, hand off.not reviewedEstablishedA