Antigravity Docs MCP
A Model Context Protocol (MCP) server that provides AI agents with up-to-date documentation for the Antigravity IDE. It includes a built-in scraper to automatically fetch and update the latest docs directly into a local knowledge base.
Features
- Server: Provides
docs://indexto list pages, and toolslist_document_namesandsearch_docsto find relevant information. - Scraper & Extractor: Python scripts powered by Playwright to crawl the Antigravity Docs site and extract readable Markdown.
- Auto-Updater: A single bash script
update.shto fully automate the parsing of the site and injecting the content into theknowledge_base/folder.
Installation
1. Clone the repository
git clone https://github.com/imgt511/Antigravity_Docs_MCP.git
cd Antigravity_Docs_MCP
2. Setup the Python Environment (For the Scraper)
The scraper uses Python and Playwright. Build a local virtual environment: ``bash python3 -m venv venv source venv/bin/activate pip install playwright playwright install ``
3. Setup the Node Environment (For the Server)
The MCP server itself is served using the official MCP Node SDK. ``bash npm install ``
Usage
Connecting the MCP Server to Antigravity IDE
Point your Antigravity IDE settings (or any other MCP-compatible client) to execute the Node.js server: ``json { "mcpServers": { "antigravity-docs": { "command": "node", "args": ["/absolute/path/to/Antigravity_Docs_MCP/mcp_server.js"] } } } ``
How to Refresh the Knowledge Base
When new updates are released for the Antigravity IDE, you can easily pull the latest documentation yourself!
The Easy Way
Simply run the included update script from inside the project directory: ``bash ./update.sh ``
What it does:
- Runs
scraper.pyto find any new pages on the website. - Runs
extractor.pyto overwrite yourknowledge_base/folder with the newest text. - Your MCP server instantly starts using the new files. There is no need to restart anything!
Daily Catchup Log
- Update: 2026-03-13 21:03:50 - Automated Catchup push.
- Update: 2026-03-17 20:29:47 - Automated Catchup push.











