MCP Server Google Antigravity
ภาพรวม
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
MCP server exposing Google Antigravity (agy CLI / Gemini): jobs, codebase analysis, file tools.
สามเสาของ PopNx MCP
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
- เสียงผู้ใช้iยังไม่มีรีวิวรีวิวเปิดพร้อมระบบบัญชีในขั้นถัดไป
- ผลตรวจเบื้องต้นของเราiผ่าน 2 จาก 2 ข้อตรวจจากข้อมูลที่เปิดอยู่ ยังไม่ได้สแกนโค้ด
- การใช้งานiยังใหม่มาก↓ 104/สัปดาห์ · ★ 3
ใช้ทำอะไรได้
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
- การเชื่อมต่อ: รันบนเครื่อง
- ช่องทาง (transport): stdio
- หมวด: เครื่องมือนักพัฒนา
ติดตั้ง
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ก่อนติดตั้ง
- ผลตรวจเบื้องต้น: ผ่าน 2 จาก 2 ข้อ
- รันในเครื่องคุณด้วยสิทธิ์ของผู้ใช้คุณ (ไฟล์ อินเทอร์เน็ต แอปต่าง ๆ)
- ทะเบียนไม่ได้ระบุ key ที่ต้องใส่
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"google-antigravity": {
"command": "npx",
"args": [
"-y",
"mcp-server-google-antigravity"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add google-antigravity -- npx -y mcp-server-google-antigravityหรือคัดลอกค่าตั้งเอง
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"google-antigravity": {
"command": "npx",
"args": [
"-y",
"mcp-server-google-antigravity"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
หรือคัดลอกค่าตั้งเอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"google-antigravity": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-server-google-antigravity"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
ใช้กับโปรแกรมไหนได้
ดูจากแบบการต่อของ server ตัวนี้ และเอกสารของผู้ทำโปรแกรมแต่ละตัว ตรวจเมื่อ 10 พ.ย. 2569
ติดตั้งบนเครื่องได้ใน
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
คู่มือที่เกี่ยวข้อง
ทำอะไรได้บ้าง
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
ผลตรวจเบื้องต้นi
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 11 พ.ย. 2569
- ✓ ผ่าน
ตัวตนผู้ทำตรงกับ repo
ชื่อใน registry ยืนยันด้วยบัญชี GitHub TurkerYakup ซึ่งเป็นเจ้าของ repo
- ✓ ผ่าน
ยังมีคนดูแล
มีการแก้โค้ดล่าสุด 4 เดือนที่ผ่านมา
- … ยังไม่ตรวจ
มีสัญญาอนุญาต (license)
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
- – ไม่เกี่ยว
endpoint ตอบ
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
- – ไม่เกี่ยว
ล็อกอินแบบ OAuth
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
- … ยังไม่ตรวจ
คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับตัวอื่นในหมวด เครื่องมือนักพัฒนาi
- ดาวมากกว่า 79% ของอีก 5740 ตัวในหมวดนี้
- ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 22% ของอีก 5740 ตัวในหมวดนี้
- ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 5740 ตัวในหมวดนี้
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
คำถามที่พบบ่อย
MCP Server Google Antigravity ปลอดภัยไหม?
จากการตรวจเบื้องต้นของเรา ผ่าน 2 จาก 2 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใช้กุญแจหรือรหัสอะไรบ้าง?
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
ตัวนี้รันบนเครื่องหรือบนคลาวด์?
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
ยังมีคนดูแลอยู่ไหม?
repo บน GitHub มีการแก้โค้ดล่าสุด 4 เดือนที่ผ่านมา และส่งรุ่นล่าสุด (1.0.2) เข้า registry 4 เดือนที่ผ่านมา
ใช้กับโปรแกรมไหนได้บ้าง?
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
มีตัวไหนใช้แทนได้บ้าง?
ในหมวดเดียวกันมี REA, Netdata, Front-End Checklist
ตัวที่ใช้แทนได้
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
README จากผู้ทำ
เปิดอ่าน README
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
____ _ _
/ _| | _ _ _ | | _ | | | |/ _ | | | |/ _ |/ _ \ | |___| | (_| | |_| | (_| | / \__|_|\__,_|\__,_|\__,_|\___|
| +----+----+ | MCP | (- you are here +----+----+ |
/ \ _ __ | |_(_) __ _ _ ___ _(_) |_ _ _ / _ \ | '_ \| __| |/ _ | '__/ _ \ \ / / | | | | | / _ \| | | | |_| | (_| | | | (_| |\ V /| | |_| |_| | /_/ \_\_| |_|\__|_|\__, |_| \__,_| \_/ |_|\|\, | |_/ |_/
Let Claude (or any MCP client) hand its heavy work to Google Antigravity's `agy` agent.
-4285F4?logo=google&logoColor=white)
What is this?
mcp-server-google-antigravity is a small MCP (Model Context Protocol) server. It exposes Google Antigravity — Google's terminal coding agent, driven by the agy CLI (Gemini under the hood) — as a set of tools any MCP client can call.
The idea: your primary model (Claude Desktop, Claude Code, Codex, …) stays lean and delegates the grunt work — web search, whole-repo analysis, scaffolding files, long-running edits — to a second agent running in the background. Jobs are async and unlimited: you fire a task, get a jobId instantly, and poll for the result while the caller keeps working.
Claude / Codex this MCP server Antigravity
+---------------+ tool +----------------+ spawns +--------------+ | "analyze the | -----> | use_antigravity| ------> | agy --print | | whole repo" | | -> jobId(async)| | (Gemini) | +---------------+ <----- +----------------+ <------ +--------------+ keeps working polls result / logs does the work
Requirements
| Need | Why |
|---|---|
| Node.js 18+ | Runs this server (ships with npx/npm). Check: node --version |
| Antigravity CLI (`agy`) | The agent this server drives. Install below. |
| An MCP client | Claude Desktop, Claude Code, or anything that speaks MCP |
Step 1 — Install the Antigravity CLI (agy)
Never used
agybefore? Start here. It's one command. First launch signs you in with Google.
macOS / Linux
curl -fsSL https://antigravity.google/cli/install.sh | bash
Windows (PowerShell)
irm https://antigravity.google/cli/install.ps1 | iex
Windows (CMD)
curl -fsSL https://antigravity.google/cli/install.cmd -o install.cmd && install.cmd && del install.cmd
Where it lands (remember this — you may need it for AGY_PATH below):
| OS | Default agy location |
|---|---|
| macOS / Linux | ~/.local/bin/agy |
| Windows | C:\Users\ \AppData\Local\agy\bin\agy.exe |
Sign in and verify:
agy # first run opens a Google Sign-In in your browser (creds cached in your OS keyring)
agy --version # should print a version, e.g. 1.1.1 agy models # lists the models you can use (Gemini 3.5 Flash, Gemini 3.1 Pro, ...)
If agy isn't found afterwards, open a new terminal (so PATH reloads) or run agy install to fix shell paths.
Step 2 — Get this MCP server
Option A — npx (recommended): Skip straight to Step 3 and use the npx config. The npx path works seamlessly from the public npm registry with no authentication required.
Alternatively, you can install the package globally:
npm install -g mcp-server-google-antigravity
This exposes the mcp-server-google-antigravity command (which you can register directly in your MCP client's config instead of npx).
Option B — from source (for hacking on it):
git clone https://github.com/TurkerYakup/mcp-server-google-antigravity.git
cd mcp-server-google-antigravity npm install npm run check # quick syntax check
node-pty(used only for clean output on Windows) is an optional dependency — if it can't build on macOS/Linux the install still succeeds and the server falls back automatically. No compiler needed.
Step 3 — Register it with your MCP client
Claude Desktop
Edit your claude_desktop_config.json:
| OS | Config file |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
| Linux | ~/.config/Claude/claude_desktop_config.json |
Using npx (Option A) — recommended:
{
"mcpServers": { "antigravity": { "command": "npx", "args": ["-y", "mcp-server-google-antigravity"], "env": { "AGY_MODEL": "Gemini 3.5 Flash (Medium)", "AGY_AUTO_APPROVE": "true" }, "timeout": 900000 } } }
Windows note: Electron (Claude Desktop) often can't spawn
npxdirectly — if the server fails to start, wrap it incmd: set"command": "cmd"and"args": ["/c", "npx", "-y", "mcp-server-google-antigravity"](keep the sameenv/timeout).
From source (Option B): set "command": "node" and "args": ["/absolute/path/to/mcp-server-google-antigravity/index.js"] instead. On Windows use forward slashes, e.g. "C:/path/to/mcp-server-google-antigravity/index.js".
Restart the app fully after editing (quit from the tray/menu bar, not just close the window).
Claude Code (CLI) — works on macOS, Windows, Linux
# npx (Option A)
claude mcp add antigravity -- npx -y mcp-server-google-antigravity
from source (Option B)
claude mcp add antigravity -- node /absolute/path/to/mcp-server-google-antigravity/index.js
</details>
That's it. Your client now has tools like use_antigravity, antigravity_continue, and the filesystem helpers.
Quick example
Ask your MCP client something like *"use antigravity to analyze the repo at C:/Dev/Repos/foo and summarize its architecture"*. Under the hood the client calls:
use_antigravity({ prompt: "...", add_dirs: ["C:/Dev/Repos/foo"] })→ returns{ "jobId": "mrib1q20_wa5ma1", "status": "running" }instantly.antigravity_result({ jobId, wait_ms: 10000 })→ blocks/long-polls until the job is done or the 10-second wait elapses. While still running, it returns a lean payload containing status, character count, and the last 200 characters of output ({ status, jobId, chars, tail, startedAt }). Once complete, it returns the full record (includingdurationMsandbytestelemetry).
Follow up in the same session with antigravity_continue({ prompt: "now list the top 3 risks" }). Need agy to write files? Pass add_dirs so it has a workspace; auto_approve (default) lets it create/edit without prompts.
Configuration (environment variables)
Everything is optional — sane defaults out of the box.
| Var | Default | What it does |
|---|---|---|
AGY_PATH | auto-detected | Full path to the agy binary. Only needed if it's not on PATH. On Windows the path is auto-collapsed to an 8.3 short path, so a non-ASCII username no longer breaks anything. |
AGY_MODEL | agy's default | Default model when a call omits model. Use the exact name from agy models, e.g. Gemini 3.5 Flash (Medium). |
AGY_AUTO_APPROVE | true | Pass --dangerously-skip-permissions so headless jobs don't hang on a prompt. Set false for read-only. |
AGY_SANDBOX | false | Run every job with --sandbox (terminal-restricted). Cheap; safer for untrusted prompts. Per-call sandbox overrides. |
AGY_PRINT_TIMEOUT | 10m | agy's --print-timeout. |
AGY_HEARTBEAT_MS | 15000 | Interval for the "job running" progress notification. 0 disables. |
AGY_MODEL_TTL_MS | 300000 | How long the cached agy models list is trusted. |
Tools
| Tool | What it does |
|---|---|
use_antigravity | Delegate a task (async). Returns a jobId immediately. Params: prompt, thinking_depth (low/high), add_dirs (folders agy may read/write), auto_approve, new_project, model, mode (plan/accept-edits), agent, project, sandbox, write_to_file, extract (optional "last_code_block" to extract the last code block to the extracted field on the record). |
antigravity_continue | Continue the previous conversation (or a specific conversation_id) with a new prompt. |
antigravity_result | Get a job's result by jobId. Supports long-polling via optional wait_ms and poll_interval_ms. While running, returns a lean payload ({ status, jobId, chars, tail, startedAt }). On done/error, returns full record (including durationMs and bytes telemetry). |
antigravity_jobs | List recent jobs and statuses. |
antigravity_cancel | Kill a running job by jobId. |
antigravity_cleanup | Delete old job files by age (older_than_hours). |
antigravity_create_folder | Create a folder (recursive), done directly by the server. |
antigravity_create_file | Create/write a text file (creates parent dirs); overwrite:false to protect existing. |
antigravity_create_tree | Build a whole folder/file tree from a JSON spec. |
antigravity_read_file | Read a UTF-8 text file (instant); optional max_bytes cap. |
antigravity_list_dir | List a folder's entries. |
antigravity_models | List available models (agy models). |
antigravity_agents | List available agent profiles (agy agents). |
antigravity_health | Check that agy is reachable + report effective defaults. Run this first when something's off. |
The server-side filesystem tools use Node's fs directly — instant, and never gated by a permission prompt.
Live progress notifications
Because jobs return a jobId immediately, the server pushes MCP logging notifications (notifications/message, logger antigravity) so the client can see activity without polling:
job started— jobId, kind, prompt snippetjob running— heartbeat everyAGY_HEARTBEAT_MS(default 15s) with a tail of the current partial outputjob done/job failed— final status, byte count / error
Best-effort: if the client didn't negotiate the logging capability they're silently dropped. Polling antigravity_result works either way.
How it works (design notes)
The agy CLI runs a single prompt with agy --print " " and returns when done. Three problems and their fixes:
- MCP client request timeout (~60s). Long tasks made the client give up even though
agykept running. → Async job pattern:use_antigravityspawnsagyin the background, returns ajobIdinstantly, writes the result to a JSON file in the OS temp dir (agy_jobs/), and the client pollsantigravity_result. Optional long-polling (wait_ms) lets clients wait inside the request when short runs are expected. No request ever blocks. - agy's own print timeout (default 5m). Heavy prompts hit
timeout waiting for response. → every job passes--print-timeout 10m. - Headless file-permission gate. In
--printmode agy's file-writes get denied by the "ask" policy and the job hangs. →auto_approve(default true) passes--dangerously-skip-permissions;add_dirspasses--add-dirfor the workspace it needs.
Security note
auto_approve defaults to true (--dangerously-skip-permissions) — agy will create/edit files and run terminal commands without prompting. This i