技能潮 SkillTide 提交收录
官方说明6 个来源MCP 服务7 天前
SnapBlock/hai-browser

SnapBlock/hai-browser

Let coding agents drive VS Code
在 GitHub 查看 ↗直链 · 无中转页
配置模板(请按你的客户端调整)
claude mcp add hai-browser -- npx -y hai-browser
这是根据仓库名生成的可粘贴骨架,命令行参数与包名请以该项目 README 为准。
★ 数取值
0 ★ · SnapBlock/hai-browser · 取自该仓库的 GitHub 页面 · (2026-10-16 20:00:20 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-10 · 最近见到 2026-10-16 · 共见到 30 次 · 被 6 个来源列出
评分构成
综合分 603 · 6 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 SnapBlock/hai-browser;我们收录于 2026-10-10;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

H/Ai — hai-browser

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

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
- 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
1. 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:
2. 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**.
3. 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
- **GitHub Copilot (agent mode in VS Code):** nothing to set up. H/Ai registers its MCP server with VS Code, so its tools show up in the chat's tools list.
- **Codex CLI, Gemini CLI, Cline and other MCP clients:** run **H/Ai: Connect Other Agents**, pick your agent, and H/Ai copies the setup to your clipboard. It's the same server either way (the path exists once H/Ai has run in VS Code):
For JSON-configured clients such as Cline, add {"mcpServers": {"hai-browser": {"command": "node", "args": ["/Users/ /.hai-browser/mcp/index.mjs"]}}} with your real home path.
Setup from source
Install that VSIX (or press **F5**, "Run hai-browser extension", in this repo) and connect as above. Pushing a v* tag that matches the extension's version builds the VSIX, attaches it to a GitHub release, and publishes it to the VS Code Marketplace (repo secret VSCE_PAT) and Open VSX (OVSX_PAT) when those secrets are set.
The npm plugins publish separately through npm trusted publishing (no token): bump the plugin's version, then push a tag named @ , e.g. hai-browser-vite@0.0.2. .github/workflows/npm-publish.yml checks the tag matches and runs npm publish.
来源
awesome · https://github.com/SnapBlock/hai-browser
按领域浏览
MCP 服务
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引