Antigravity MCP on Windows: agy MCP server that works on Windows 11
Many MCP servers are written on macOS and only work on Windows by accident. antigravity-mcp is built and tested on Windows 11 first, and CI also runs it on macOS and Linux.
Install on Windows
irm https://antigravity.google/cli/install.ps1 | iex
agy # sign in once
git clone https://github.com/aristidew1/antigravity-mcp
node antigravity-mcp\src\cli.mjs --check
node antigravity-mcp\src\cli.mjs install
The server finds agy in %LOCALAPPDATA%\agy\bin\agy.exe without any PATH change. State lives in %LOCALAPPDATA%\antigravity-mcp.
What is handled for you
- No cmd.exe. agy is spawned with an argument array, and the prompt is passed as
--print=<prompt>. Nothing is expanded, and a prompt starting with-is never taken for a flag. - 32,767-character command lines. Prompts over 20,000 characters go through a private temp file.
- Process trees. Cancelling kills agy and everything it started (
taskkill /T /F). - Junctions and UNC paths. Folder checks resolve junctions before comparing, and refuse network paths unless you allow them.
- PowerShell 5.1. The BOM it adds to piped input is ignored.
- Repo hooks.
git statusruns with fsmonitor off and git taken from PATH, never from the workspace.