Gemini Local Master Hub
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| secretPath | No | High-entropy random secret path generated on first setup and stored in hub/config.json; acts as a public access credential. | |
| allowedRoots | No | Directories the hub is allowed to access, configured in hub/config.json. Used together with allowAllPaths=false. | |
| publicDomain | No | Public domain used for the fixed Cloudflare Named Tunnel, configured in hub/config.json. | |
| agyHeavyModel | No | Optional Antigravity model ID for heavy/complex tasks, configured in hub/config.json. Leave empty to use the local agy.exe default model. | |
| allowAllPaths | No | Whether to allow access to all paths. Defaults to false in hub/config.json. | false |
| GEMINI_API_KEY | No | Optional Gemini API key used by tools such as vision_inspect and dispatch_gemini_cli. | |
| agyStandardModel | No | Optional Antigravity model ID for standard/lightweight tasks, configured in hub/config.json. Leave empty to use the local agy.exe default model. | |
| disableUpdateCheck | No | Set to true in hub/config.json to disable the built-in GitHub Release update check. | false |
| VISION_FALLBACK_URL | No | Optional fallback URL used by vision_inspect as an alternate vision channel. | |
| requireBearerHeader | No | Whether to require a Bearer header in addition to the secret path. Defaults to false; enable if the client supports custom headers. | false |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_dirC | List files and subdirectories in an allowed local directory. |
| read_fileC | Read a local text file with optional line range. |
| write_fileA | Create, overwrite, or append to a local text file (creates parent directories automatically). |
| run_shellB | Execute a PowerShell command on this Windows machine. Set asyncMode=true for long-running builds/scripts. |
| list_antigravity_conversationsB | List recent Antigravity conversations stored on this machine (IDs and last modified times). |
| read_conversation_transcriptC | Read the latest messages/steps from a specific Antigravity conversation transcript. |
| dispatch_antigravityA | Dispatch a task asynchronously to local Antigravity (agy.exe) to write code, fix bugs, run tests, continue an existing conversation, OR execute complex multi-step GUI/desktop/browser workflows locally. Supports explicit model override via |
| dispatch_gemini_cliB | Dispatch a task asynchronously to local official Gemini CLI (directly invokes bundle/gemini.js without shell when available to avoid Windows cmd.exe quoting issues, auto-injects GEMINI_API_KEY and system proxy). |
| get_task_statusA | Get live status and output of any async task (agy / shell / gemini_cli / build). Automatically compacts very long logs locally (0 API cost, preserves head + error lines + tail) unless raw=true, and appends concise git status when finished. |
| list_tasksB | List recent background tasks dispatched through this hub. |
| cancel_taskA | Cancel/terminate a running background task (and its child process tree) by taskId. |
| desktop_list_windowsC | List top-level Windows desktop windows with pid, window_id (HWND), app_name, title, and bounds. |
| desktop_get_window_stateC | Read a window's Windows UIA accessibility tree (returns element_tokens like s00000001:5) and optional screenshot. |
| desktop_get_desktop_stateB | Capture the full primary desktop screenshot (vision-only, no UIA tree). |
| desktop_bring_to_frontC | Activate and bring a window to the OS foreground. |
| desktop_clickC | Click a UI element by element_token (preferred, works in background) OR by x/y screenshot pixels. |
| desktop_type_textC | Type text into a UIA element (element_token), a window pixel location (pid + x/y), or foreground app (scope='desktop'). |
| desktop_hotkeyC | Press a single key (e.g. ['return']) or key combination (e.g. ['ctrl','c']). |
| desktop_scrollC | Scroll up/down/left/right in a window or at desktop coordinates. |
| desktop_dragC | Press-drag-release mouse gesture from (from_x, from_y) to (to_x, to_y). |
| desktop_clipboardC | Read or write the Windows system clipboard. |
| desktop_run_stepsC | Execute multiple GUI actions in ONE round-trip with optional end-of-batch observation. |
| desktop_ocr_findA | Run fast local Windows WinRT OCR on a window or full desktop without uploading any screenshot over the network. Returns exact (cx, cy) coordinates of matched text (supports 'a|b' OR queries), and optionally clicks the match immediately. |
| desktop_find_imageB | Locate a local template PNG/JPG inside a window or full desktop using zero-dependency .NET C# normalized cross-correlation. Optionally clicks (cx, cy) immediately when click=true. |
| edit_fileB | Perform an exact substring replacement in a local text file while preserving CRLF/LF line endings and UTF-8 BOM. Supports dryRun and replaceAll. |
| find_filesB | Recursively search for files by wildcard pattern using pure Node.js. Automatically excludes library/, temp/, node_modules/, build/, dist/, _backup/, and .git/. |
| grep_searchC | Search text or regex across project files using pure Node.js (zero external rg dependency, skips binaries and cache dirs). Returns 'path:line:content'. |
| git_inspectA | Read-only git inspection (status, diff_stat, diff, log). Never modifies git state or commits. |
| manage_processB | Inspect listening ports/processes, launch detached persistent background services via WMI Win32_Process Create, stop a specific PID, or run an optional configured safe cleanup script. |
| vision_inspectA | Inspect a local image file (imagePath) OR a live window/desktop screenshot locally using Gemini Flash Vision API (requires GEMINI_API_KEY), returning pure-text analysis and real pixel coordinates (pixelCoords, converted from 0~1000 normalized model coordinates). Bypasses MCP clients that strip image blocks and recognizes stylized fonts/icons that WinRT OCR misses. Set click=true to auto-click the converted pixelCoords. |
| code_outlineA | Extract structural outline (classes, functions, methods, headings, JSON keys with line numbers) from a file without reading the whole file. Saves 80-90% context. |
| batch_readA | Read multiple files or specific line ranges in a single MCP round-trip (up to 10 items, capped at 14000 chars total to keep context lean). |
| batch_editA | Apply multiple exact substring replacements across one or more files atomically (validates all edits in memory first; aborts all if any fails; preserves CRLF/LF & UTF-8 BOM). |
| local_memoryA | Share project memory with local Antigravity MEMORY.md (read, search, or guarded append <=10 lines; never overwrites; overflows safely to MEMORY.gemini.md when main file reaches 100 lines). |
| browser_cuaA | Control local browsers via cua-driver (prepare, get_state, navigate, click, type, select, dialog, download). Call desktop_list_windows first to get pid and window_id, then call action='prepare' with {pid, window_id, strategy:{kind:'existing_profile'}} before action='get_state'. For get_state, pass either {pid, window_id, include_screenshot:false} (attached mode) or {target_id, tab_id, include_screenshot:false} (snapshot mode). |
| browser_devtoolsC | Deep Chrome DevTools inspection & automation via chrome-devtools-mcp (DOM snapshots, JS eval, Console logs, Network requests). |
| wait_taskA | Wait up to maxWaitSec (default 45s) for an async task to finish. Supports optional sendInput (stdin for shell tasks) and incremental stdoutOffset/stderrOffset. |
| fs_manageC | Safely move, copy, delete (backed up to hub/trash by default), or mkdir files and directories. |
| git_actionC | Run structured Git write operations (add, commit, push, pull, stash, checkout, branch) with strict argument safety. |
| project_diagnosticsC | Run static diagnostics (auto-detects tsconfig.json -> tsc --noEmit, eslint, or node --check). |
| desktop_window_controlC | Extended cua-driver desktop/visual control: set_window_frame, launch_app, kill_app, invoke_menu, set_value, parse_visual_regions, start_recording, stop_recording, replay_trajectory. |
| batch_outlineC | Extract structural code outlines across up to 40 files in one MCP round-trip. |
| batch_searchB | Run up to 10 read-only queries (grep, find, git status/diff_stat/log) in a single MCP round-trip. |
| run_checksB | Run up to 6 verification commands concurrently (UTF-8 PowerShell) and return a compact pass/fail summary. |
| project_bootstrapB | One-shot project context snapshot: top-level files, git status/recent commits, package.json scripts, docs excerpts, MEMORY.md hits, and hub update notice. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 45 tools
Tools are mostly grouped by clear domains (desktop_*, batch_*, browser_*) and detailed descriptions distinguish batch-vs-single operations and specialized click/vision paths. However, there is real overlap among read_file/batch_read, edit_file/batch_edit, code_outline/batch_outline, run_shell/run_checks/batch_search, and multiple click-capable tools (desktop_click, desktop_ocr_find, desktop_find_image, vision_inspect), so some misselection risk remains.
All names use snake_case and are descriptive, with most following verb_noun or a clear domain prefix such as desktop_* and batch_*. Several names are noun-first or noun-only (project_bootstrap, git_inspect, code_outline, browser_cua, fs_manage), so the verb_noun convention is not fully uniform.
With 45 tools, the surface is far above the well-scoped 3-15 range and past the 25+ threshold, even for a broad local automation hub. The many batch/atomic variants and specialized desktop/browser tools add selection and context overhead that could be reduced by consolidation.
Coverage is strong across filesystem CRUD/search, git read/write, async task lifecycle, desktop GUI automation, browser automation, vision/OCR, diagnostics, process management, and shared memory. No major dead ends are apparent for the hub's stated purpose; only minor conveniences such as a dedicated file-stat or rename tool are absent.