Repository navigation
Remote Harness MCP v0.7.1
Remote Harness MCP v0.7.1 — Faster, leaner MCP surface, shell-free Git & Fetch, OAuth 2.1, and Zero-Admin Standalone Mode
First stable release of the 0.7.x architecture (no bridge required by default — each node publishes itself via Tailscale Funnel or quick tunnel), combining the fast Windows/Linux data layer, read_media multimodal support, GUI installer improvements, and a comprehensive set of context-efficiency, security, and onboarding upgrades.
Highlights & All Changes Since v0.7.0-rc1-alpha
1. Context Efficiency & Faster Search
- ~50% smaller
tools/listschema payload: compressed tool and parameter descriptions acrosscore/mcp_tools.pyandgateway.py(33 base tools: 33.5 KB → 16.9 KB; default desktop auto-profile of 34 tools: 17.1 KB;MESH_TOOLSETS=coreof 22 tools: 10.4 KB, −69%). - Modular toolsets (
MESH_TOOLSETS) & OS auto-profile: configure active tool groups (all,core,git,web,device,admin) viaMESH_TOOLSETS; phone-only tools (device_messages,device_capture) are hidden by default on desktop nodes unless explicitly enabled.core/server.pynow servestools/listdynamically viamcp_tools.list_tools(). - Compact
grep_searchoutput: addedformat="compact"returning flat relative paths (rel/path.py:line: text), cutting grep response tokens by >50% (13.5 KB vs 30.6 KB), while keepingformat="json"clean without duplicate fields. - Bytes-level literal
grep_searchpre-filter:core/fs_search.pyperforms a fastneedle_bytes in raw_bytescheck before UTF-8 decoding and regex matching for literal patterns (fixed=Trueor plain literals withignore_case=False). - Fast data layer & background indexing: zero-dependency
fs_search, SQLite FTS5fs_indexwith background/scheduled refresh,win_places,doc_read,batch_read,batch_edit(withdry_run), and multi-languagerun_script(python,powershell,bash,cmd).
2. New Shell-Free Tools & Multimodal Support
git_status&git_diff: read-only tools executinggitdirectly (shell=False,-c core.fsmonitor=false -c core.hooksPath=), working even inread_onlymode or with--no-shell.fetch_urlwith SSRF protection:https://-only fetcher validating every resolved IP viaipaddress(blocking loopback, private, link-local, multicast, reserved, and IPv4-mapped IPv6), per-hop redirect validation (up to 5 hops), 300 KB body cap, and optional HTML-to-text stripping.read_media& binary guard inread_file:read_filenow detects binary files via NUL-byte check in the first 8 KB and returns a clean error with file size, MIME type, and a hint to useread_media(which returns native MCP image/PDF/audio/video/OCR content blocks, plus Windows OCR helpertools/ocr_windows.py).
3. Security, Reliability & Windows Hardening
- Protected
.git/writes:core/policies.py(is_protected_git_path,check_write_allowed) blocks writes/edits to.git/hooks/*and.git/configacrosswrite_file,edit_file, andbatch_edit(handling path traversal, symlinks, Windows case-insensitivity, and NTFS ADS). - Shell disable switch (
--no-shell/MESH_ENABLE_SHELL=0): cleanly disablesbash_exec,run_script, andrun_jobfor file-only deployments. - No duplicate port bind on Windows:
core/server.pydisablesallow_reuse_addressand setssocket.SO_EXCLUSIVEADDRUSEonwin32. - Async rotating usage journal:
core/usage.pywrites call logs through a backgroundqueue.SimpleQueuedaemon thread with size-based rotation (1 MB × 3 backups) andflush(), cutting empty-call protocol overhead from ~16 ms to ~1 ms.
4. Onboarding, OAuth 2.1, Installer & Docs
- Zero-admin single-folder mode (
--folder,--no-shell,--quick-tunnel): launch a standalone sandboxed server on any project folder without admin privileges or Tailscale setup, with optional Cloudflare quick tunnel (cloudflared) auto-detection. - Minimal OAuth 2.1 (PKCE S256) in standalone mode: added
GET /.well-known/oauth-authorization-server,GET /.well-known/oauth-protected-resource,POST /oauth/register,GET /oauth/authorize, andPOST /oauth/tokenalongside staticMESH_TOKEN. - Installer &
rhmmenu updates: selectable install location and component toggles ininstall-gui.ps1, localised drive labels, tunnel visibility and repair fromrhm, and updated admin service / container docs. - Threat Model & README sync: added Threat Model / Модель угроз sections to
README.mdandREADME_RU.md, updated tool counts (36 node / 38 gateway), and added CI contract testtests/test_readme_tools_sync.py. - Cross-platform CI fix: fixed POSIX case-sensitive glob assertions in
tests/test_fs_index.pysoubuntu-latest(py3.11, py3.13) andwindows-latest(py3.13) all pass cleanly.
Upgrade / Install
- curl (Linux / macOS / Termux):
curl -fsSL https://raw.githubusercontent.com/LevRa7/remote-harness-mcp/main/install.sh | bash - PowerShell (Windows):
irm https://raw.githubusercontent.com/LevRa7/remote-harness-mcp/main/install.ps1 | iex
- npx:
npx remote-harness-mcp@0.7.1
- Existing nodes: run
mesh_update(action="apply") or update from therhmmenu — GitHub Releases attachesmesh-payload-0.7.1.zip,RemoteHarnessMCP-Setup-0.7.1.exe, and their.sha256checksums automatically.