@attson/atwebpilot-mcp 0.0.59 → 0.0.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -2
- package/dist/index.js +3 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
# @attson/atwebpilot-mcp
|
|
2
2
|
|
|
3
|
-
让 Claude Code 经一个本地 ws 中继驱动 atwebpilot 浏览器扩展操作网页(读 / 写 / 采)。
|
|
3
|
+
让 Codex 或 Claude Code 经一个本地 ws 中继驱动 atwebpilot 浏览器扩展操作网页(读 / 写 / 采)。
|
|
4
4
|
|
|
5
5
|
## 给用户:一行装
|
|
6
6
|
|
|
7
|
+
Codex:
|
|
8
|
+
|
|
9
|
+
codex mcp add atwebpilot -- npx -y @attson/atwebpilot-mcp
|
|
10
|
+
|
|
11
|
+
Claude Code:
|
|
12
|
+
|
|
7
13
|
claude mcp add atwebpilot --scope user -- npx -y @attson/atwebpilot-mcp
|
|
8
14
|
|
|
9
15
|
然后[下载 release zip](https://github.com/attson/atwebpilot/releases/latest) 加载已解压扩展。
|
|
@@ -15,7 +21,7 @@
|
|
|
15
21
|
3. 你在浏览器里点「允许」,扩展即接入,重试那次调用即可。
|
|
16
22
|
4. 之后本机的会话都免确认(信任是安装级的);端口能复用时连配对页都不会弹。
|
|
17
23
|
|
|
18
|
-
多个 Claude Code 会话可以同时接入同一个浏览器,各自一条连接。可在扩展设置 →
|
|
24
|
+
多个 Codex / Claude Code 会话可以同时接入同一个浏览器,各自一条连接。可在扩展设置 →
|
|
19
25
|
Coordinator 查看已接入的会话、单独断开,或撤销信任。
|
|
20
26
|
|
|
21
27
|
可选环境变量:
|
package/dist/index.js
CHANGED
|
@@ -2105,8 +2105,10 @@ function renderPairPage(payload) {
|
|
|
2105
2105
|
if (e.data.ok) {
|
|
2106
2106
|
el.textContent = e.data.trusted ? "\u5DF2\u4FE1\u4EFB\uFF0C\u8FDE\u63A5\u4E2D\u2026" : "\u5DF2\u8FDE\u63A5";
|
|
2107
2107
|
setTimeout(function () { window.close(); }, 1200);
|
|
2108
|
-
} else {
|
|
2108
|
+
} else if (e.data.reason === "denied") {
|
|
2109
2109
|
el.textContent = "\u5DF2\u62D2\u7EDD\u3002\u53EF\u4EE5\u5173\u95ED\u672C\u9875\u3002";
|
|
2110
|
+
} else {
|
|
2111
|
+
el.textContent = "\u8FDE\u63A5\u6269\u5C55\u5931\u8D25\u3002\u8BF7\u5237\u65B0\u9875\u9762\u91CD\u8BD5\uFF0C\u6216\u68C0\u67E5\u6269\u5C55\u662F\u5426\u5DF2\u542F\u7528\u3002";
|
|
2110
2112
|
}
|
|
2111
2113
|
});
|
|
2112
2114
|
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@attson/atwebpilot-mcp",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.61",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
|
-
"description": "MCP server for the atwebpilot browser extension
|
|
5
|
+
"description": "MCP server for the atwebpilot browser extension - let Codex or Claude Code drive your browser.",
|
|
6
6
|
"homepage": "https://github.com/attson/atwebpilot#readme",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|