build-release
Build release artifacts from committed sources — .cf for the main configuration and .cfe per…
Install Windows-MCP (desktop UI automation MCP) as a last-resort alternative to home-grown screenshot/OCR
> /plugin marketplace add comol/ai_rules_1c > /plugin install 1c-rules@1c-rules
How it fires
How this command gets triggered: by you, by Claude, or both.
/install-windows-mcpContext preview
What this command does when you run it.
Install Windows-MCP (desktop UI automation MCP) as a last-resort alternative to home-grown screenshot/OCR
description: Install Windows-MCP (desktop UI automation MCP) as a last-resort alternative to home-grown screenshot/OCR userOnly: true
Installs [Windows-MCP](https://github.com/CursorTouch/Windows-MCP) (`uvx windows-mcp`): an MCP server for Windows UI automation (mouse/keyboard, window state, optional browser DOM mode).
**Policy (mandatory):** this is a **last resort**, not the default for 1C testing.
Shell on Windows — `powershell-windows` skill. This command does **not** change `UI_TESTING` / `INFOBASE_PUBLISH_URL`.
Windows-MCP needs a real Windows host (Win7+). If the session is not Windows:
1. Stop. 2. Tell the user the tool is Windows-only. 3. For web UI tests point them to `/install-agent-browser`.
WSL note: if the AI client runs inside WSL, the MCP process must still execute on the **Windows** side (`uvx.exe` / `powershell.exe` bridge). Prefer installing from a Windows PowerShell / Cursor-on-Windows session.
1. Check `uv` / `uvx`:
uv --version uvx --version
2. If missing — install `uv` (Astral) with the official Windows script, then refresh `PATH` for the current session:
irm https://astral.sh/uv/install.ps1 | iex $env:Path = "$env:USERPROFILE\.local\bin;$env:USERPROFILE\.cargo\bin;$env:Path" uv --version
If install fails — stop and ask the user to install `uv` manually (https://docs.astral.sh/uv/); do not guess paths.
3. Upstream requires **Python 3.13+** (pulled by `uvx` as needed). English UI language is preferred by upstream; other locales may need App-Tool disabled — mention only if the user hits that issue.
First run may take 1–2 minutes while dependencies resolve. Ignore a one-off MCP client timeout on first connect; restart the server/client afterward.
uvx windows-mcp --help
if ($LASTEXITCODE -ne 0) { throw "uvx windows-mcp failed" }Do **not** leave a long-running `serve` process hanging in the install chat unless the user asks — the MCP client will spawn `uvx windows-mcp serve` itself.
Optional (user asked for login autostart):
uvx windows-mcp install
Creates a per-user Scheduled Task `windows-mcp-server`. Uninstall later with `uvx windows-mcp uninstall`. Default for this slash command: **skip** autostart unless requested.
Merge a `windows-mcp` stdio entry. **Do not overwrite** existing servers. Client → path → shape table is the same as `/install-agent-browser` Step 4 / `/installmcp` Step 7.
Canonical Cursor / Claude / Qwen / Cline fragment:
{
"mcpServers": {
"windows-mcp": {
"command": "uvx",
"args": ["windows-mcp", "serve"]
}
}
}Codex:
[mcp_servers.windows-mcp] command = "uvx" args = ["windows-mcp", "serve"]
OpenCode (merge only `mcp.windows-mcp`):
{
"mcp": {
"windows-mcp": {
"type": "local",
"command": ["uvx", "windows-mcp", "serve"],
"enabled": true
}
}
}Claude Code CLI alternative (if the user prefers the CLI over editing JSON):
claude mcp add --transport stdio windows-mcp -- uvx windows-mcp serve
If the IDE does not inherit user `PATH` (Store / sandboxed clients), resolve absolute paths:
(Get-Command uvx).Source
and put that path in `command` (args stay `["windows-mcp", "serve"]`).
Security: prefer **stdio / localhost** only. Do not expose `--transport sse|streamable-http` on `0.0.0.0` unless the user explicitly asks and understands the risk.
1. `uvx windows-mcp --help` works. 2. Ask the user to **restart the AI client**. 3. After restart, confirm Windows-MCP tools are listed. First connect may time out while deps finish — retry once. 4. Remind: for 1C **web** client tests, keep using `agent-browser`; use Windows-MCP only when desktop automation is required.
Repo: comol/ai_rules_1c
Build release artifacts from committed sources — .cf for the main configuration and .cfe per…
Toggle the caveman communication style — set CAVEMAN (on|auto|off) in .dev.env for the whole…
Check a 1C XML configuration dump for duplicate UUIDs, and optionally regenerate them
Read-only check for available updates of the 1C MCP server images and of the 1c-rules…
Load the configuration into the test infobase from .dev.env and check the result in the 1C…