H/Ai Browser
LocalAbout H/Ai Browser
H/Ai Browser is an MCP server that lets AI clients control the browser tab shared from VS Code's Integrated Browser. It supports page interaction and inspection, including click-to-source for a selected element.
Key features
- 01Capture page snapshots
- 02Click, type, and fill forms
- 03Manage tabs and take screenshots
- 04Inspect console and network logs
- 05Access the selected element
Use cases
- 01Let an AI client interact with a shared browser tab
- 02Inspect console and network activity
- 03Use a selected page element as a source
MCP support
The MCP server exposes browser controls and inspection data to MCP clients. The H/Ai Browser VS Code extension bundles and configures it, or clients can be configured to run the package directly.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
24Saved tool list · updated 2w ago
This tool takes no parameters.
Details
From the project READMEhai-browser-mcp
MCP server for H/Ai Browser. It lets Claude Code, Codex CLI, Gemini CLI, Cline and other MCP clients drive the browser tab you share from VS Code's Integrated Browser: snapshots, clicks, typing, forms, tabs, screenshots, console and network logs, and the element you picked.
It needs the H/Ai Browser extension running in VS Code. The extension already bundles this server and sets it up for you (H/Ai: Connect Claude Code / H/Ai: Connect Other Agents). Use this package if you prefer to configure your client yourself:
claude mcp add --scope user hai-browser -- npx -y hai-browser-mcp
{ "mcpServers": { "hai-browser": { "command": "npx", "args": ["-y", "hai-browser-mcp"] } } }
See https://github.com/SnapBlock/hai-browser for details.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.