@mearl/mcp-server 2.5.0 → 2.5.1
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 +1 -1
- package/dist/index.js +4 -4
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
- 🎭 **browser_set_mock**: 动态设置 Mock 数据
|
|
11
11
|
- 🌐 **browser_list**: 统一列出普通浏览器和托管浏览器,返回默认目标、类型及连接状态
|
|
12
12
|
- 📴 **browser_release**: 按用户明确要求释放 debugger/CDP 控制和会话级临时效果,并保留浏览器与全部标签页
|
|
13
|
-
- 🚀 **browser_launch / browser_close**: 启动或关闭本地 Chrome / AgentBay CDP
|
|
13
|
+
- 🚀 **browser_launch / browser_close**: 启动或关闭本地 Chrome / AgentBay CDP 托管浏览器,支持按域复制及跨会话持久化登录态
|
|
14
14
|
- 🌐 **browser_page_snapshot**: 首次获取页面结构和可交互元素
|
|
15
15
|
- ⚡ **browser_page_click/type/hover/scroll/press/upload**: 执行页面动作,默认内置观察,返回通知、可交互控件、焦点、导航或直接打开的新标签页
|
|
16
16
|
|
package/dist/index.js
CHANGED
|
@@ -1048,7 +1048,7 @@ async function main() {
|
|
|
1048
1048
|
},
|
|
1049
1049
|
persistent: {
|
|
1050
1050
|
type: 'boolean',
|
|
1051
|
-
description: '
|
|
1051
|
+
description: '关闭后是否保留浏览器状态,默认 false;本地保留独立 Profile,AgentBay 通过同名云端 Context 保存 Cookie、LocalStorage、IndexedDB 等状态',
|
|
1052
1052
|
default: false,
|
|
1053
1053
|
},
|
|
1054
1054
|
url: {
|
|
@@ -1090,7 +1090,7 @@ async function main() {
|
|
|
1090
1090
|
},
|
|
1091
1091
|
{
|
|
1092
1092
|
name: 'browser_close',
|
|
1093
|
-
description: '关闭一个本地或 AgentBay
|
|
1093
|
+
description: '关闭一个本地或 AgentBay 托管浏览器;持久化实例默认保留本地 Profile 或 AgentBay Context,deleteProfile=true 时一并删除。名称有歧义时使用完整 browserId。',
|
|
1094
1094
|
inputSchema: {
|
|
1095
1095
|
type: 'object',
|
|
1096
1096
|
properties: {
|
|
@@ -1100,7 +1100,7 @@ async function main() {
|
|
|
1100
1100
|
},
|
|
1101
1101
|
deleteProfile: {
|
|
1102
1102
|
type: 'boolean',
|
|
1103
|
-
description: '
|
|
1103
|
+
description: '是否强制删除持久化本地 Profile 或 AgentBay Context,默认 false',
|
|
1104
1104
|
default: false,
|
|
1105
1105
|
},
|
|
1106
1106
|
},
|
|
@@ -1691,7 +1691,7 @@ async function main() {
|
|
|
1691
1691
|
},
|
|
1692
1692
|
{
|
|
1693
1693
|
name: 'browser_list',
|
|
1694
|
-
description: '列出所有浏览器。返回普通浏览器和托管浏览器的 browserId、名称、类型、连接状态及当前默认目标;AgentBay
|
|
1694
|
+
description: '列出所有浏览器。返回普通浏览器和托管浏览器的 browserId、名称、类型、连接状态及当前默认目标;AgentBay 额外包含镜像和持久化 Context 信息,并在服务返回浏览器访问地址时包含 agentbayAccessUrl。只有 status=connected 的浏览器可用于后续操作。',
|
|
1695
1695
|
inputSchema: {
|
|
1696
1696
|
type: 'object',
|
|
1697
1697
|
properties: {},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mearl/mcp-server",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.1",
|
|
4
4
|
"description": "MCP Server for Mearl - enables AI to interact with Chrome browser requests and logs",
|
|
5
5
|
"mcpName": "io.github.F-loat/mearl",
|
|
6
6
|
"type": "module",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@modelcontextprotocol/sdk": "^1.0.4",
|
|
32
32
|
"prompts": "^2.4.2",
|
|
33
|
-
"@mearl/client": "2.5.
|
|
34
|
-
"@mearl/native-host": "2.5.
|
|
33
|
+
"@mearl/client": "2.5.1",
|
|
34
|
+
"@mearl/native-host": "2.5.1"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/node": "^24.9.1",
|