Serve six computer-use tools on the mcp channel and add the guest, restore point, clone and test tools on a new mcp-dev channel. - vm_power replaces vm_start, vm_shutdown, vm_suspend and vm_resume and adds force_stop. - screen replaces the screenshot and zoom actions and wait_for_screen: it can wait for a change or a stable frame (up to 180 s while booting) and return one region at up to source resolution. - computer_input replaces computer and computer_batch: it checks every step before sending input, holds modifiers around pointer actions, stops on a wait_screen timeout, and releases held keys and buttons on success, error or cancellation. - Coordinates follow the last full image returned, so scaled screenshots no longer misplace clicks; results report the image size and a short sha256 as compact JSON and structuredContent. - Calls on one VM run in order instead of all tools sharing one lock; request ids and cancellation are scoped per client connection, and a closed connection cancels its calls. - guest_wait_ready returns the plugin public key; logs_read pages guest and test logs; test_wait returns the result once finished; sessions and test runs always use a clone. Removed the screen resource. - Tools carry annotations and one-sentence descriptions, and arguments the schema does not name are refused. Requires a Reims-Go host with region screenshots, held-key input, host/console.release and forced shutdown. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
72 lines
2.0 KiB
JSON
72 lines
2.0 KiB
JSON
{
|
|
"schema": 1,
|
|
"id": "reims.agent",
|
|
"version": "0.2.0",
|
|
"name": {
|
|
"zh-CN": "MCP服务",
|
|
"en-US": "MCP Service"
|
|
},
|
|
"description": {
|
|
"zh-CN": "通过宿主授权的控制通道向 MCP 客户端提供虚拟机交互工具",
|
|
"en-US": "Provides VM interaction tools to MCP clients through host-authorized channels"
|
|
},
|
|
"publisher": "Reims-Go",
|
|
"license": "Apache-2.0",
|
|
"homepage": "https://github.com/reims-go/reims-agent",
|
|
"engines": {
|
|
"pluginApi": "^1.1.0"
|
|
},
|
|
"platforms": ["windows-x64"],
|
|
"entry": {
|
|
"sidecar": "bin/reims-agent.exe"
|
|
},
|
|
"settings": {
|
|
"title": { "zh-CN": "MCP服务", "en-US": "MCP Service" },
|
|
"x-scope": "vm",
|
|
"x-group": "collaboration",
|
|
"x-order": ["allow_ai_access", "username", "login_password"],
|
|
"properties": {
|
|
"allow_ai_access": {
|
|
"type": "boolean",
|
|
"title": {
|
|
"zh-CN": "允许 AI 操作此虚拟机",
|
|
"en-US": "Allow AI to access this VM"
|
|
},
|
|
"description": {
|
|
"zh-CN": "启用后,MCP 服务可查看屏幕、操作桌面,并通过 SSH 访问此虚拟机。",
|
|
"en-US": "When enabled, MCP clients can view and control the desktop and use SSH with this VM."
|
|
},
|
|
"default": false,
|
|
"x-scope": "vm",
|
|
"x-group": "collaboration",
|
|
"x-effect": "immediate"
|
|
},
|
|
"username": {
|
|
"type": "string",
|
|
"title": { "zh-CN": "macOS 用户名", "en-US": "macOS username" },
|
|
"x-scope": "vm",
|
|
"x-group": "collaboration"
|
|
},
|
|
"login_password": {
|
|
"type": "string",
|
|
"title": { "zh-CN": "macOS 登录密码", "en-US": "macOS login password" },
|
|
"x-secret": true,
|
|
"x-scope": "vm",
|
|
"x-group": "collaboration"
|
|
}
|
|
}
|
|
},
|
|
"contributes": {
|
|
"channels": [
|
|
{ "id": "mcp", "framing": "jsonl" },
|
|
{ "id": "mcp-dev", "framing": "jsonl" }
|
|
]
|
|
},
|
|
"permissions": [
|
|
"vm:read",
|
|
"vm:control",
|
|
"vm:screen",
|
|
"qmp:write"
|
|
]
|
|
}
|