Skip to main content
Glama

mcpharness

Use Gemini Web as a coding agent for your Windows PC.

When Antigravity hits its limit, keep working in Gemini Web with the Gemini app usage you have available. mcpharness connects Gemini Tasks to your project files, terminal, browser, and desktop. Gemini can do research and heavy work in its own workspace, then use your PC for the parts that need Windows or your local files.

Why use it with Gemini?

  • Keep working after an Antigravity limit. Google gives the Gemini app and Antigravity separate baseline limits. Eligible family plans share an Antigravity pool, and family members can use their own Gemini accounts while their Gemini app usage is available. Each connection to your host needs your approval. Google AI plan benefits · Google One family sharing

  • Start before your PC is online. Gemini can build and test in its remote workspace. Once your PC is reachable, ask it to transfer the result and run the local checks. Cloud-to-PC workflow

Related MCP server: Secure Local AI Agent MCP

Results

Result

What was measured

Comparable development workflows

Gemini Web with mcpharness and Antigravity both completed the side-by-side builds. Antigravity went deeper on research and testing in some runs.

32% lower wall time

In a 12-task benchmark using the same model, batched mcpharness tools averaged 5.64 s and passed 11/12, versus 8.24 s and 10/12 for an Antigravity-style granular tool set. The batched arm used more tokens.

43 MiB idle private resident memory

The Windows daemon used about 93–94 MiB total resident memory, before launching Chrome or running tools.

15/15 Windows checks passed after reconnect

Gemini prepared the work remotely while the PC was offline, transferred it when the PC returned, and verified it on Windows.

What you can do

Task

What mcpharness gives your assistant

Work on a project

Search and read files, inspect Git changes, and preview or apply edits across files.

Run and debug code

Run checks in parallel, start a development server, and follow job output.

Test a website

Open it in a dedicated Chrome profile, navigate the UI, take screenshots, and inspect browser errors.

Work with Windows apps

Inspect windows and controls, capture screenshots, and send mouse or keyboard input.

Run multi-step work

Use Code Mode to group related tool calls, switch workspaces, plan changes, and review activity and approvals.

Quick start

Using an AI coding agent? Give it the automated setup instructions and ask it to set up mcpharness on this Windows PC.

  1. Download and extract the source. Open PowerShell in the folder containing package.json.

  2. Check that you have Node.js 26.7.0 or newer and the Windows C# compiler listed in the installation guide.

  3. Copy the example config, then set roots to one or more existing project folders. For example, "roots": ["C:/Projects/my-app"].

    Copy-Item mcph.config.example.json mcph.config.json
  4. Start the server and leave the terminal open.

    npm start
  5. Use Tailscale Funnel for the standard Gemini Web setup. It gives you one HTTPS connector URL that comes back after a reboot. Set mcpharness to start at Windows sign-in so the server comes back too. Google currently limits custom connectors to eligible US users aged 18 or older with a personal Google Account. Google's connector requirements

  6. For tool approvals and activity, open a second terminal in the same folder and run npm run admin-link. Open the one-time link it prints.

Try asking your assistant, “Use mcpharness to inspect this workspace. Tell me how the project runs and which checks it has. Leave the files as they are.”

How access works

The MCP and admin listeners bind to loopback. Code Mode is enabled by default, and Strict mode asks for approval on allowed actions above the lowest risk tier. The sample config scopes file tools to your selected workspace folders. See full computer access for all-drive access. Approved shell commands run with the Windows account's permissions.

Guides

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to interact with the Windows desktop environment, including browser control, clipboard, file management, GitHub, Roblox Studio, OCR, and more, with a privileged approval system for risky actions.
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Connects the web version of ChatGPT to a local Windows development environment, letting the chat read project files, search and edit code, run commands and tests, and build or verify release artifacts through natural language. It also provides isolated Git worktree runs, resumable background tasks, per-directory permission limits, and desktop notifications for unattended coding workflows.
      4
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables Google Gemini to autonomously read, write, search, and patch code files and run whitelisted developer commands inside a sandboxed local workspace for edit-and-verify coding workflows.
      1
      MIT