build-release
CommandBuild release artifacts from committed sources — .cf for the main configuration and .cfe per extension, with optional version…
Install Vercel Labs agent-desktop and register its local stdio MCP server for native desktop automation
> /plugin marketplace add comol/ai_rules_1c> /plugin install 1c-rules@1c-rules
description: Install Vercel Labs agent-desktop and register its local stdio MCP server for native desktop automation userOnly: true
Install on the machine whose desktop the agent will operate. QA MCP drives 1C thin-client forms. Use agent-browser for web pages and agent-desktop for native windows and dialogs. Keep the project's `UI_TESTING` and tool policies in effect.
1. Inspect the active client's configuration and look for an existing executable. Run `agent-desktop --version` if present. Reuse a working installation. Bundles ship a pinned copy: DSH Desktop for Windows has `runtime/agent-desktop/agent-desktop.exe` and DSH Linux Web has `runtime/agent-desktop/agent-desktop` (1.2.0, replaces the former Windows-MCP). Use that executable and its settings switch (Settings → Agent capabilities → Computer and browser, `ONEC_MCP_AGENT_DESKTOP=on`) instead of installing another copy. 2. For a selected installation with Node.js and npm, run `npm install --global agent-desktop`. A matching native archive from [official releases](https://github.com/vercel-labs/agent-desktop/releases) also works. Keep any platform helpers beside the executable. 3. Windows uses UI Automation in the signed-in user's interactive desktop. On Linux use the signed-in user's graphical session and its AT-SPI accessibility bus. An SSH-only host or headless container can expose the MCP tool catalog without having access to a desktop. Review the [Windows](https://agent-browser.dev/desktop/platforms/windows) or [Linux](https://agent-browser.dev/desktop/platforms/linux) platform guide for prerequisites and capture limits.
Merge the `agent-desktop` stdio entry into the selected client and scope. Keep other servers and their settings. When replacing a previous desktop server, remove its registration in that scope once the new entry passes the protocol check. Preserve any explicit tool-policy choice during the migration.
Use the executable name on a host that can resolve it. For a Windows client that starts native processes directly or has a different PATH, set `command` to the absolute native executable from the release or npm package. For npm, find the global package root with `npm root -g` and select the host architecture's executable from `agent-desktop/bin/` (for example `agent-desktop-win32-x64.exe`). Keep the server argument as a separate string.
JSON clients with `mcpServers`:
{"mcpServers":{"agent-desktop":{"command":"agent-desktop","args":["mcp"]}}}Codex:
[mcp_servers.agent-desktop] command = "agent-desktop" args = ["mcp"]
OpenCode:
{"mcp":{"agent-desktop":{"type":"local","command":["agent-desktop","mcp"],"enabled":true}}}Use the active client's supported config shape for other agents. Each MCP client starts the executable on demand. The default uses semantic actions. Configure headed physical input only when the requested workflow and the user's consent permit it.
[Upstream MCP guide](https://agent-browser.dev/desktop/guides/mcp)
Build release artifacts from committed sources — .cf for the main configuration and .cfe per extension, with optional version…
Toggle the caveman communication style — set CAVEMAN (on|auto|off) in .dev.env for the whole project; on|off|auto persist,…
Check a 1C XML configuration dump for duplicate UUIDs, and optionally regenerate them
Check availability of 1C MCP servers and install/start the missing ones
Read-only check for available updates of the 1C MCP server images and of the 1c-rules ruleset, without pulling or installing…
Load the configuration into the test infobase from .dev.env and check the result in the 1C interface — QA MCP first, the web…
Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.