Skip to content

Remote Harness MCP v0.7.5

Latest

Choose a tag to compare

@github-actions github-actions released this 29 Nov 21:12

Remote Harness MCP v0.7.5

Native Windows Desktop Control & Fast UI Automation

  • Windows desktop_input tool (core/desktop_input.py, PR #7 by @RogerYong, hardened & accelerated):
    • Zero-dependency mouse and keyboard automation via Windows user32.SendInput / SetCursorPos with Per-Monitor DPI v2 awareness: get_cursor, move, click (left/right/middle, single/double/triple), drag, scroll, type_text (layout-independent UTF-16 Unicode + Enter on \n), and key_press (single keys and modifier chords).
    • Fast Windows UI Automation (action="get_tree"): returns interactive UI elements (Button, Edit, Hyperlink, TabItem, ComboBox, MenuItem) and exact (x, y) center coordinates as compact JSON in ~600 ms — letting agents navigate Edge/Chrome and desktop apps without screenshots.
    • Batching (action="sequence" & action="wait"): execute up to 25 UI steps (click → wait → type → wait → get_tree) in a single MCP tool call.
    • Security & platform guards: blocked under MESH_READ_ONLY, --no-shell (MESH_ENABLE_SHELL=0), --folder (MESH_WRITE_ROOTS), active sandbox, Windows Session 0 (SESSIONNAME=Services), or MESH_ENABLE_DESKTOP_INPUT=0; automatically hidden on non-Windows hosts in tools/list auto-profile (38 tools in ALL_TOOLS, 40 via gateway; 36 on Windows / 35 on Linux & macOS by default).
  • Fast screen_capture mode (core/mcp_tools.py):
    • Optional format="jpeg", max_side, quality, and upload_gdrive=True parameters shrink full-res PNGs (~2.5 MB) to ~120 KB downscaled JPEGs and optionally return a Drive file_id in one call (falls back cleanly to stdlib PNG when Pillow is not installed).
  • MESH_SERVER_NAME override (core/server.py):
    • Customize serverInfo.name to distinguish multiple standalone nodes in MCP clients.

Documentation & OAuth Session Tips

  • Long Gemini session tips (PR #8 by @RogerYong + Russian mirror):
    • Documented MESH_OAUTH_TOKEN_TTL trade-offs, session refresh behavior, and immediate token revocation (standalone.oauth_tokens.json) in both README.md and README_RU.md.

Security Hardening & Repository Cleanup

  • Runtime, Gateway, Installers & CI Hardening (e9237f5):
    • Hardened -AdminService in install.ps1 (%ProgramFiles% + strict ACLs), script allowlisting in ops/windows/run-hidden.vbs, Zip Slip protection in tools/installer-exe/Launcher.cs, non-root Docker runtime (USER rhm, cap_drop: [ALL]), OIDC PKCE/nonce + atomic consume_flow, and isolated mktemp staging in deploy_gateway.sh.
  • Legacy Cleanup (bacb78d, 50eddf9):
    • Removed dead legacy v1/SDK modules, obsolete docs, and stale build clutter; updated docs/PROJECT_STRUCTURE.md to match the current architecture.