antigravity-mcp
Bridges Google Antigravity CLI with MCP clients, enabling 13 specialized tools for AI-assisted coding, automation, and security audits.
README
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.
π 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.bat - macOS: Double-click
setup.command - Linux: 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. - Windows: Double-click
βοΈ 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".
<a name="russian-description"></a>
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Ρ Π°Π±ΡΠΎΠ»ΡΡΠ½ΡΠΌΠΈ ΠΏΡΡΡΠΌΠΈ Π΄Π»Ρ Π²Π°ΡΠ΅ΠΉ ΠΠ‘. - Windows: ΠΠ°ΠΏΡΡΡΠΈΡΠ΅
π License / ΠΠΈΡΠ΅Π½Π·ΠΈΡ
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.