antigravity-mcp
Provides tools to interact with Google Antigravity CLI, enabling AI assistants to execute arbitrary prompts, manage conversations, analyze code, run autonomous agents, and perform security audits.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@antigravity-mcpscan the current directory for security flaws"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Antigravity MCP Server π
Π ΡΡΡΠΊΠΎΠ΅ ΠΎΠΏΠΈΡΠ°Π½ΠΈΠ΅ Π½ΠΈΠΆΠ΅
This project is a Model Context Protocol (MCP) server that acts as a bridge between the Google Antigravity CLI (agy) and various MCP clients (Claude Desktop, Cursor, Windsurf, Cline, etc.).
By using this server, you can empower your AI assistant with the advanced capabilities of Google Antigravity directly inside your favorite IDE.
β¨ Features
This server provides 13 specialized tools powered by the Antigravity TUI/CLI ecosystem. Here are the core capabilities:
Core & Productivity
agy_task: Execute arbitrary prompts using the Antigravity agent. Perfect for writing code, refactoring, or answering technical questions.agy_chat: Resume and manage conversational threads with context memory (--continueor--conversation).agy_notebook_query: Local RAG agent acting like Google NotebookLM for querying specific directories using--add-dir.
Code & Git
agy_analyze: Deep architectural review of files or folders.agy_refactor/agy_generate_tests/agy_explain_error: Developer-focused code tools for fast rewrites, test creation, and debugging compiler stack traces.
Advanced Automation
agy_autonomous_agent: Fully autonomous execution (YOLO mode) using the--dangerously-skip-permissionsflag and--mode accept-edits.agy_sandbox_agent: Runs commands inside a restricted sandbox environment using the--sandboxflag.agy_security_audit: Strict security and logic audit (OWASP rules, XSS, SSRF, credential leaks) ignoring minor stylistic complaints.
CLI Metadata
agy_get_models: Retrieve the list of active Vertex AI/Gemini models configured inagy.agy_get_agents: List available subagents and custom profiles.agy_get_changelog: Show release notes of the installed CLI.
Related MCP server: claude-to-agy
π Prerequisites
Node.js: Version 18 or higher.
Antigravity CLI: Must be installed and authorized (
agycommand should be accessible in the terminal).
π Installation
Clone or copy this repository files to your local drive.
Run the automated configuration script for your OS:
Windows: Double-click
setup.batmacOS: Double-click
setup.commandLinux: Run
./setup.shin the terminal
These scripts will automatically install npm packages, verify your
agyinstallation, and generate a customized config JSON (mcp_config_generated.json) with absolute paths for easy copy-pasting.
βοΈ Configuration for MCP Clients
1. Claude Desktop
Edit %APPDATA%\Claude\claude_desktop_config.json (Windows) or ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):
{
"mcpServers": {
"antigravity-mcp": {
"command": "node",
"args": [
"/absolute/path/to/antigravity-mcp/index.js"
]
}
}
}2. Cursor (IDE)
Go to Settings -> Cursor Settings -> General -> MCP.
Click + Add Server.
Name:
antigravity-mcp.Type:
command.Command:
node "/absolute/path/to/antigravity-mcp/index.js".
Antigravity MCP Server (ΠΠ° ΡΡΡΡΠΊΠΎΠΌ) π·πΊ
ΠΡΠΎΡ ΠΏΡΠΎΠ΅ΠΊΡ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»ΡΠ΅Ρ ΡΠΎΠ±ΠΎΠΉ ΡΠ΅ΡΠ²Π΅Ρ Model Context Protocol (MCP), ΠΊΠΎΡΠΎΡΡΠΉ Π²ΡΡΡΡΠΏΠ°Π΅Ρ Π² ΡΠΎΠ»ΠΈ ΠΌΠΎΡΡΠ° ΠΌΠ΅ΠΆΠ΄Ρ Google Antigravity CLI (agy) ΠΈ ΡΠ°Π·Π»ΠΈΡΠ½ΡΠΌΠΈ MCP-ΠΊΠ»ΠΈΠ΅Π½ΡΠ°ΠΌΠΈ (Claude Desktop, Cursor, Windsurf, Cline ΠΈ Π΄Ρ.).
β¨ ΠΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΠΈ
Π‘Π΅ΡΠ²Π΅Ρ ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΠ΅Ρ 13 ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°Π½Π½ΡΡ ΠΈΠ½ΡΡΡΡΠΌΠ΅Π½ΡΠΎΠ²:
ΠΠ°Π·ΠΎΠ²ΡΠ΅ ΠΈ ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΠ²Π½ΡΠ΅
agy_task: ΠΡΠΏΠΎΠ»Π½Π΅Π½ΠΈΠ΅ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ»ΡΠ½ΡΡ Π·Π°ΠΏΡΠΎΡΠΎΠ² ΡΠ΅ΡΠ΅Π· Π°ΡΡΠΈΡΡΠ΅Π½ΡΠ° Antigravity.agy_chat: ΠΠΈΠ°Π»ΠΎΠ³ Ρ ΡΠΎΡ ΡΠ°Π½Π΅Π½ΠΈΠ΅ΠΌ ΠΊΠΎΠ½ΡΠ΅ΠΊΡΡΠ° ΠΈ ΠΏΠ΅ΡΠ΅ΠΊΠ»ΡΡΠ΅Π½ΠΈΠ΅ΠΌ Π²Π΅ΡΠΎΠΊ ΠΏΠ΅ΡΠ΅ΠΏΠΈΡΠΊΠΈ.agy_notebook_query: ΠΠΎΠΊΠ°Π»ΡΠ½ΡΠΉ RAG-Π°Π³Π΅Π½Ρ (Π°Π½Π°Π»ΠΎΠ³ NotebookLM) ΠΏΠΎ Π²Π°ΡΠΈΠΌ Π»ΠΎΠΊΠ°Π»ΡΠ½ΡΠΌ ΠΏΠ°ΠΏΠΊΠ°ΠΌ.
ΠΠΎΠ΄ ΠΈ Git
agy_analyze: ΠΡΡ ΠΈΡΠ΅ΠΊΡΡΡΠ½ΡΠΉ Π°Π½Π°Π»ΠΈΠ· ΠΈΡΡ ΠΎΠ΄Π½ΠΎΠ³ΠΎ ΠΊΠΎΠ΄Π° ΡΠ°ΠΉΠ»ΠΎΠ² ΠΈΠ»ΠΈ ΡΠ΅Π»ΡΡ ΠΊΠ°ΡΠ°Π»ΠΎΠ³ΠΎΠ².agy_refactor/agy_generate_tests/agy_explain_error: Π£ΡΠΈΠ»ΠΈΡΡ Π΄Π»Ρ Π±ΡΡΡΡΠΎΠ³ΠΎ ΡΠ΅ΡΠ°ΠΊΡΠΎΡΠΈΠ½Π³Π°, Π³Π΅Π½Π΅ΡΠ°ΡΠΈΠΈ ΠΌΠΎΠ΄ΡΠ»ΡΠ½ΡΡ ΡΠ΅ΡΡΠΎΠ² ΠΈ ΠΎΠ±ΡΡΡΠ½Π΅Π½ΠΈΡ ΡΡΠ΅ΠΊΡΡΠ΅ΠΉΡΠΎΠ² ΠΎΡΠΈΠ±ΠΎΠΊ.
ΠΠ²ΡΠΎΠ½ΠΎΠΌΠ½ΡΠ΅ Π°Π³Π΅Π½ΡΡ
agy_autonomous_agent: ΠΠ°ΠΏΡΡΠΊ Π°Π³Π΅Π½ΡΠ° Π² ΡΠ΅ΠΆΠΈΠΌΠ΅ ΠΏΠΎΠ»Π½ΠΎΠΉ Π°Π²ΡΠΎΠ½ΠΎΠΌΠΈΠΈ (YOLO) Ρ ΡΠ»Π°Π³ΠΎΠΌ--dangerously-skip-permissions(ΠΌΠΎΠ΄Π΅Π»Ρ ΡΠ°ΠΌΠ° ΠΏΡΠΈΠ½ΠΈΠΌΠ°Π΅Ρ ΠΈ ΠΏΡΠΈΠΌΠ΅Π½ΡΠ΅Ρ ΠΏΡΠ°Π²ΠΊΠΈ ΠΊΠΎΠ΄Π° Π² ΡΠ΅ΠΆΠΈΠΌΠ΅--mode accept-edits).agy_sandbox_agent: ΠΠ°ΠΏΡΡΠΊ Π·Π°Π΄Π°Ρ Π² Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΠΉ ΠΈΠ·ΠΎΠ»ΠΈΡΠΎΠ²Π°Π½Π½ΠΎΠΉ ΠΏΠ΅ΡΠΎΡΠ½ΠΈΡΠ΅ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΡΠ»Π°Π³Π°--sandbox.agy_security_audit: Π‘ΡΡΠΎΠ³ΠΈΠΉ Π°ΡΠ΄ΠΈΡ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΠΈ ΠΊΠΎΠ΄Π° Π±Π΅Π· ΠΌΠ΅Π»ΠΊΠΈΡ ΠΏΡΠΈΠ΄ΠΈΡΠΎΠΊ ΠΊ ΡΡΠΈΠ»Ρ (ΠΏΠΎΠΈΡΠΊ OWASP-ΡΡΠ·Π²ΠΈΠΌΠΎΡΡΠ΅ΠΉ, XSS, ΠΈΠ½ΡΠ΅ΠΊΡΠΈΠΉ, ΡΠ΅ΠΊΡΠ΅ΡΠΎΠ²).
Π‘ΠΈΡΡΠ΅ΠΌΠ½ΡΠ΅ ΠΌΠ΅ΡΠ°Π΄Π°Π½Π½ΡΠ΅
agy_get_models: ΠΡΠ²ΠΎΠ΄ ΡΠΏΠΈΡΠΊΠ° Π΄ΠΎΡΡΡΠΏΠ½ΡΡ ΠΌΠΎΠ΄Π΅Π»Π΅ΠΉ.agy_get_agents: ΠΡΠ²ΠΎΠ΄ ΡΠΏΠΈΡΠΊΠ° Π½Π°ΡΡΡΠΎΠ΅Π½Π½ΡΡ ΠΏΡΠΎΡΠΈΠ»Π΅ΠΉ ΠΠ-Π°ΡΡΠΈΡΡΠ΅Π½ΡΠΎΠ².agy_get_changelog: Π§ΡΠ΅Π½ΠΈΠ΅ ΠΈΡΡΠΎΡΠΈΠΈ ΠΎΠ±Π½ΠΎΠ²Π»Π΅Π½ΠΈΠΉ CLI.
π Π£ΡΡΠ°Π½ΠΎΠ²ΠΊΠ°
Π‘ΠΊΠ°ΡΠ°ΠΉΡΠ΅ ΡΠ°ΠΉΠ»Ρ ΠΏΡΠΎΠ΅ΠΊΡΠ°.
ΠΠ°ΠΏΡΡΡΠΈΡΠ΅ ΡΠΊΡΠΈΠΏΡ Π°Π²ΡΠΎΠΌΠ°ΡΠΈΡΠ΅ΡΠΊΠΎΠΉ Π½Π°ΡΡΡΠΎΠΉΠΊΠΈ ΠΈΠ· ΠΏΠ°ΠΏΠΊΠΈ ΠΏΡΠΎΠ΅ΠΊΡΠ°:
Windows: ΠΠ°ΠΏΡΡΡΠΈΡΠ΅
setup.bat(Π΄Π²ΠΎΠΉΠ½ΡΠΌ ΠΊΠ»ΠΈΠΊΠΎΠΌ)macOS: ΠΠ°ΠΏΡΡΡΠΈΡΠ΅
setup.command(Π΄Π²ΠΎΠΉΠ½ΡΠΌ ΠΊΠ»ΠΈΠΊΠΎΠΌ)Linux: ΠΡΠΏΠΎΠ»Π½ΠΈΡΠ΅
./setup.shΠ² ΡΠ΅ΡΠΌΠΈΠ½Π°Π»Π΅
Π‘ΠΊΡΠΈΠΏΡΡ Π°Π²ΡΠΎΠΌΠ°ΡΠΈΡΠ΅ΡΠΊΠΈ Π²ΡΠΏΠΎΠ»Π½ΡΡ
npm install, ΠΏΡΠΎΠ²Π΅ΡΡΡ ΡΡΠ°ΡΡΡagyΠΈ ΡΠ³Π΅Π½Π΅ΡΠΈΡΡΡΡ ΠΏΠ΅ΡΡΠΎΠ½Π°Π»ΡΠ½ΡΠΉ ΡΠ°ΠΉΠ» Π½Π°ΡΡΡΠΎΠ΅ΠΊmcp_config_generated.jsonΡ Π°Π±ΡΠΎΠ»ΡΡΠ½ΡΠΌΠΈ ΠΏΡΡΡΠΌΠΈ Π΄Π»Ρ Π²Π°ΡΠ΅ΠΉ ΠΠ‘.
π License / ΠΠΈΡΠ΅Π½Π·ΠΈΡ
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/NohchiyBors/antigravity-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server