web-mcp-link
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
web-mcp-link
web-mcp-link 让 Claude、ChatGPT 和 Gemini 网页版直接操作你的电脑:运行命令、读写文件,调用 Pi 已安装的 Skills、扩展和 MCP 服务器,还可以把任务委派给本机模型,或通过临时链接传输文件。
它由两部分组成:部署在 Cloudflare Workers 上的服务端,提供网页版接入用的 MCP 地址;运行在电脑上的 web-mcp-link 命令行,负责连接服务端并在本机执行。一个服务端可以供多人使用,每人可以连接多台电脑。使用分三步:部署服务端 → 连接电脑 → 在网页版 AI 中添加连接器。如果管理员已经为你创建好账号,可以直接从电脑连接开始。
服务端部署
需要重新部署时,纯 CLI 即可(无需打开 Cloudflare 后台):
./scripts/setup.sh # 首次:装依赖、生成默认策略
cd packages/server
./node_modules/.bin/wrangler login --device # 一次登录(支持无浏览器环境)
cd ../..
./scripts/deploy.sh --nor2 # 部署(免费套餐 + 不启用 R2)三种部署配置:
配置 | 参数 | 去掉的绑定 | 适用 |
| 无 | 无 | 已开通 Workers Paid + R2 |
|
|
| 免费套餐,有 R2 |
|
|
| 免费且无信用卡 |
自定义域名不写入仓库:在本地 .deploy.env 里设置 CUSTOM_DOMAIN(见 .deploy.env.example),
部署脚本会以 --domain 传入并自动签发证书。
部署前可用 ./scripts/preflight.sh 只读盘点账户现有资源,避免与已有 Worker / KV 冲突。
配置项
Worker 的环境变量在 Settings → Variables and Secrets 设置,或用 wrangler secret put:
配置项 | 作用 | 默认值 |
| 登录 | 无,必须设置 |
| 设为 |
|
功能限制(--nor2 部署)
当前实例未绑定 R2,因此临时文件传输不可用:
功能 | 状态 |
读写文件、grep、find、edit、write | ✅ |
执行命令 | ✅ |
读取图片( | ✅ |
Skills、AGENTS.md、Pi 委派 | ✅ |
OAuth、多设备、会话管理 | ✅ |
| ❌ 返回提示,不影响其他功能 |
需要传文件时,可让 run 把文件复制到本机其他可访问目录,或改为开通 R2 后重新部署。
用户管理
打开 https://<你的域名或 workers.dev 地址>/admin,用 ADMIN_KEY 登录,填写用户名创建用户。
创建后页面显示初始密码,只显示一次。
自助注册(可选)
需要 Workers Paid(邮件发送)。免费套餐请由管理员在 /admin 建账号。
Related MCP server: AKIMCP
电脑连接
支持 macOS、Windows 和 Linux。电脑需要先安装 Pi 0.99 或更高版本,以及 Node.js 22.19 或更高版本。web-mcp-link 使用电脑上安装的 Pi,网页版能用的扩展、Skills 和 MCP 与终端里的 pi 相同。
登录账号页 https://<服务地址>,在「我的电脑」点「添加电脑」(电脑名称可留空),按页面生成的命令依次安装、登录并启动:
npm install -g web-mcp-link
web-mcp-link login https://<服务地址> <密钥>
web-mcp-link startweb-mcp-link start 在终端前台运行,关闭终端即断开。需要开机后自动在后台运行时,改用 web-mcp-link service install(设置后会立即启动),取消用 web-mcp-link service uninstall。
连接成功后,账号页会显示这台电脑在线。每台电脑使用独立密钥,电脑丢失或不再使用时,在账号页移除那一台即可。
命令 | 作用 |
| 查看连接状态和版本,有新版本时会提示 |
| 更新到最新版本,已启用的后台服务自动重启 |
| 修改电脑名称 |
网页版 AI 接入
连接至少一台电脑后,打开账号页的「连接网页版 AI」,选择 Claude、ChatGPT 或 Gemini 标签页,按页面提示添加连接器。
添加后会跳转到授权页。选择允许连接器访问的电脑,也可以勾选「允许访问全部电脑」(包含以后添加的电脑)。之后可在账号页的「已授权的应用」中随时修改或撤销。
连接器拥有与你在终端中相同的权限,可以运行任意命令、修改或删除文件。只授权给你信任的 AI 账号。
接入完成后,在对话中告诉 AI 要操作的目录和任务即可,例如“修复 ~/projects/blog 的测试,把覆盖率报告发我”。如果连接器可以访问多台电脑,再说明用哪一台。
客户端不支持 OAuth 时,在账号页展开「不支持 OAuth?使用带密钥的地址」,填写名称并选择电脑后生成专属地址(只显示一次)。添加到客户端时,身份验证选择「无」或「无需登录」。这个地址等同于访问凭证,泄露后请立即在账号页删除。
Pi 委派
如果本机 Pi 已配置可用模型,可以把一部分任务委派给本机 Pi 执行。在账号页「我的电脑」中打开目标电脑的「Pi 委派」开关,之后在对话中说明使用条件即可,例如「修复这组测试,需要第二意见时可以用 Pi」。要指定模型或思考等级,直接在对话里说明。
换到新对话后,可以请 AI 在原电脑的原目录查找最近的 Pi 委派,再选一条继续。
常用操作
日常运维(启动/停止、命令策略、账号密钥、部署、排错)见 docs/OPERATIONS.md。
常用短命令:
pnpm cli status # 连接状态
pnpm cli start # 前台运行
pnpm cli service install # 开机自启
pnpm cli policy # 命令策略
pnpm preflight # 部署前检查
pnpm deploy # 部署(--nor2 方案)出处与致谢
本项目派生自 cr-zhichen/pi-bridge(MIT,派生起点 commit c0f0ba2 / v0.12.1)。
架构、协议与 OAuth 流程均来自上游,本仓库只做了命名统一、命令安全策略、部署简化和无 R2 降级。
上游仅作对照学习,本仓库不跟踪上游改动。完整说明与许可证义务见 NOTICE.md, 改动清单见 CHANGES.md。
许可证
MIT — 原始版权声明 Copyright (c) 2026 cr-zhichen 依许可证要求保留。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect AI assistants to your approved computer for files, commands, browser and desktop tasks.
Connect AI assistants to your Mac and Linux computers with scoped access to local files and tools.
Use your own Windows, Mac or Linux computer from ChatGPT, Claude, Cursor or Gemini CLI: run commands, read, write and search files, run long processes. Your computer only makes an outgoing connection (no open ports or VPN). Read-only mode, allowed folders, blocked commands and an action log keep you in control. Free plan available.
Reach your own computers from any AI app: files, commands, screen and mouse, approvals and alerts.
Related MCP Servers
- FlicenseNot gradedqualityAmaintenanceEnables web-based AI chat clients such as Claude, ChatGPT, and Grok to operate a user's local machine through a single OAuth-gated, whitelist-protected MCP endpoint exposing tools for file editing, shell commands, search, Git, SQLite, browser automation, DevTools, background tasks, localhost service fetching, clipboard, notifications, ports, and Postman control.-
- AlicenseNot gradedqualityAmaintenanceEnables web-based AI clients such as Claude, ChatGPT, Grok, and Postman to securely operate a local machine through a single OAuth-gated MCP endpoint exposing 38 governed tools. Covers file read/write/edit, whitelisted shell commands, search, Git, SQLite, browser automation, DevTools, background tasks, localhost fetching, clipboard, notifications, port management, and Postman control.MIT
- AlicenseNot gradedqualityAmaintenanceEnables web-based AI clients like Claude, ChatGPT, and Grok to securely operate a local machine through OAuth-gated MCP tools covering files, shell, Git, databases, browser automation, and background tasks.MIT
- AlicenseNot gradedqualityAmaintenanceEnables web-based AI clients like Claude, ChatGPT, and Grok to securely operate a local machine through an OAuth-gated MCP endpoint, covering files, shell commands, search, Git, SQLite, browser automation, DevTools, background tasks, ports, clipboard, notifications, and Postman. Exposes 38 governed tools with a strict command whitelist, folder allowlisting, and rate limiting so browser chats can build projects, inspect databases and local APIs, and manage long-running jobs without granting unrestricted shell access.MIT