antigravity-mcp

antigravity-mcp

Bridges Google Antigravity CLI with MCP clients, enabling 13 specialized tools for AI-assisted coding, automation, and security audits.

Category
Visit Server

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 (--continue or --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-permissions flag and --mode accept-edits.
  • agy_sandbox_agent: Runs commands inside a restricted sandbox environment using the --sandbox flag.
  • 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 in agy.
  • 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 (agy command should be accessible in the terminal).

πŸš€ Installation

  1. Clone or copy this repository files to your local drive.

  2. Run the automated configuration script for your OS:

    • Windows: Double-click setup.bat
    • macOS: Double-click setup.command
    • Linux: Run ./setup.sh in the terminal

    These scripts will automatically install npm packages, verify your agy installation, 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)

  1. Go to Settings -> Cursor Settings -> General -> MCP.
  2. Click + Add Server.
  3. Name: antigravity-mcp.
  4. Type: command.
  5. 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.

πŸš€ Установка

  1. Π‘ΠΊΠ°Ρ‡Π°ΠΉΡ‚Π΅ Ρ„Π°ΠΉΠ»Ρ‹ ΠΏΡ€ΠΎΠ΅ΠΊΡ‚Π°.

  2. ЗапуститС скрипт автоматичСской настройки ΠΈΠ· ΠΏΠ°ΠΏΠΊΠΈ ΠΏΡ€ΠΎΠ΅ΠΊΡ‚Π°:

    • Windows: ЗапуститС setup.bat (Π΄Π²ΠΎΠΉΠ½Ρ‹ΠΌ ΠΊΠ»ΠΈΠΊΠΎΠΌ)
    • macOS: ЗапуститС setup.command (Π΄Π²ΠΎΠΉΠ½Ρ‹ΠΌ ΠΊΠ»ΠΈΠΊΠΎΠΌ)
    • Linux: Π’Ρ‹ΠΏΠΎΠ»Π½ΠΈΡ‚Π΅ ./setup.sh Π² Ρ‚Π΅Ρ€ΠΌΠΈΠ½Π°Π»Π΅

    Π‘ΠΊΡ€ΠΈΠΏΡ‚Ρ‹ автоматичСски выполнят npm install, провСрят статус agy ΠΈ ΡΠ³Π΅Π½Π΅Ρ€ΠΈΡ€ΡƒΡŽΡ‚ ΠΏΠ΅Ρ€ΡΠΎΠ½Π°Π»ΡŒΠ½Ρ‹ΠΉ Ρ„Π°ΠΉΠ» настроСк mcp_config_generated.json с Π°Π±ΡΠΎΠ»ΡŽΡ‚Π½Ρ‹ΠΌΠΈ путями для вашСй ОБ.


πŸ“ License / ЛицСнзия

MIT

Recommended Servers

playwright-mcp

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured