Antigravity Link
Antigravity Link is an MCP server and mobile companion for Google's Antigravity IDE. It captures live snapshots of the Antigravity chat UI via Chrome DevTools Protocol and serves them to a mobile web client. From your phone you can send messages, upload files, stop AI generation, switch instances, and read task/walkthrough/plan documents. Exposes 9 MCP tools and a full OpenAPI 3.1 spec.
README
Antigravity Link (VS Code Extension)
Read this in your language: 日本語 · 中文(简体) · 中文(繁體) · 한국어 · Deutsch · Français · Español · Português · Русский · Italiano · Polski · Türkçe · Tiếng Việt · Bahasa Indonesia · العربية
GitHub repo: https://github.com/cafeTechne/antigravity-link-extension
Open VSX: https://open-vsx.org/extension/cafetechne/antigravity-link-extension
Bring your Antigravity sessions to your phone. Upload files, dictate prompts, stop generation, and control multiple active Antigravity chats from a mobile-friendly interface — or automate them via MCP or the local HTTP API.
MCP server + OpenAPI API
Antigravity Link provides two automation surfaces for agent workflows:
- MCP server (
mcp-server.mjs) for MCP-compatible clients - OpenAPI-spec'd local HTTP API (
openapi.yaml) for direct integrations
This allows agents and automation tools to interact with live Antigravity IDE sessions for snapshot retrieval, prompt submission, stop generation, instance switching, and plan/task/walkthrough access.
Who this is for
- Teams who want a simple, secure mobile companion for Google's Antigravity IDE.
- Power users who want fast uploads and voice-to-text on the go.
- Developers who want to automate or integrate Antigravity sessions via API or MCP.
- New developers who want a zero-config way to interact with a running Antigravity session.
What you get
- Live mirror of the active Antigravity chat — read and interact from your phone.
- File upload into the active Antigravity chat.
- Voice-to-text input from mobile (HTTPS required for mic permissions).
- Stop generation from your phone with a dedicated stop chip.
- Active instance switching for multiple Antigravity windows.
- Local HTTP API for automation and integrations (see API).
- MCP server for AI assistant integration (see MCP server).
- Local-only server with token authentication.
- Interface available in 16 languages with automatic detection and RTL support.
For agent builders
If you want to integrate quickly, use this sequence:
- Start the extension server and copy the token from the QR URL (
?token=...). - Use either MCP tools (
mcp-server.mjs) or direct HTTP calls againsthttps://localhost:3000. - Validate control flow with
/snapshot,/send, and/stop.
OpenAPI example:
curl -k https://localhost:3000/snapshot \
-H "Authorization: Bearer <token>"
MCP client configuration example:
{
"antigravity-link": {
"command": "node",
"args": ["/path/to/antigravity-link-extension/mcp-server.mjs"],
"env": {
"AG_BRIDGE_URL": "https://localhost:3000",
"AG_BRIDGE_TOKEN": "<token>"
}
}
}
Demo photos
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Quick start
- Start Antigravity with remote debugging enabled. This is required; sessions launched without this flag are not discoverable by the extension.
Example (Windows, Start Menu shortcut path):
& "C:\Users\<username>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Antigravity\Antigravity.lnk" --remote-debugging-port=9000
Replace <username> with your Windows username. Multiple Antigravity sessions are supported, but every window must be launched with this command.
-
In VS Code, run:
Antigravity Link: Start Server -
Then run:
Antigravity Link: Show QR Code -
Scan the QR code with your phone. Your mobile UI is ready.
-
Your phone may warn that the connection is unsafe because the certificate is self-signed. This is expected for local HTTPS. Use your browser's "Advanced" or similar option to proceed (wording differs between Safari/Chrome/Firefox).
Commands
| Command | Description |
|---|---|
| Antigravity Link: Start Server | Starts the local bridge server. |
| Antigravity Link: Stop Server | Stops the server. |
| Antigravity Link: Show QR Code | Displays the connection QR code. |
| Antigravity Link: Select Network Interface | Choose which network interface the QR URL advertises. |
Settings
| Setting | Default | Description |
|---|---|---|
antigravityLink.port |
3000 |
Port for the local bridge server. |
antigravityLink.autoStart |
false |
Start the server on VS Code launch. |
antigravityLink.useHttps |
true |
Serve over HTTPS for mic access. |
antigravityLink.preferredHost |
"" |
Optional LAN IPv4 to advertise in QR URL (example: 192.168.1.101). |
antigravityLink.strictWorkbenchOnly |
true |
Only bind to workbench.html CDP targets for stability. |
antigravityLink.includeFallbackTargets |
false |
Allow jetski/launchpad fallback targets when strict mode is disabled. |
API
The extension exposes a local HTTP API at https://localhost:3000 (or your configured port). All endpoints except /ping require an Authorization: Bearer <token> header. The token is the value after ?token= in the QR code URL.
| Method | Endpoint | Description |
|---|---|---|
| GET | /ping |
Health check — returns pong. No auth required. |
| GET | /snapshot |
Current chat surface: HTML, CSS, mode/model, isGenerating. |
| GET | /instances |
List active Antigravity windows. |
| POST | /instance |
Switch active window. Body: { "targetId": "..." } |
| POST | /send |
Send a message. Body: { "message": "..." } |
| POST | /click |
Click a UI element. Body: { "selector"?, "text"?, "x"?, "y"? } |
| POST | /stop |
Stop AI generation. |
| POST | /upload |
Upload a file (multipart/form-data, field name file). |
| GET | /task |
Read the current task document. |
| GET | /walkthrough |
Read the current walkthrough document. |
| GET | /plan |
Read the current implementation plan. |
Full schema: openapi.yaml
MCP server
Antigravity Link ships an MCP (Model Context Protocol) server that lets AI assistants drive your Antigravity session directly.
Setup
Add the following to your MCP client configuration (e.g. claude_desktop_config.json):
{
"antigravity-link": {
"command": "node",
"args": ["/path/to/antigravity-link-extension/mcp-server.mjs"],
"env": {
"AG_BRIDGE_URL": "https://localhost:3000",
"AG_BRIDGE_TOKEN": "<your-token>"
}
}
}
The token is the value after ?token= in the QR code URL. The extension server must be running before the MCP client connects.
Available tools
| Tool | Description |
|---|---|
get_snapshot |
Get current chat state, mode, model, and generation status. |
send_message |
Send a message to the active chat. |
stop_generation |
Cancel active AI generation. |
get_instances |
List available Antigravity windows. |
switch_instance |
Switch to a different Antigravity window. |
click_element |
Click a UI element by selector, text, or coordinates. |
get_task |
Read the current task document. |
get_walkthrough |
Read the current walkthrough document. |
get_plan |
Read the current implementation plan. |
Standalone vs workspace assets
This extension is self-contained. It ships its own public/ assets and uploads/ folder and does not require the parent npm run dev build.
If your workspace contains public/ or uploads/, the extension will prefer those paths automatically. This makes it easy to customize the mobile UI or keep uploads in your project root, but it also means behavior can differ between workspaces.
How it works (high level)
- The extension starts a local server (HTTP or HTTPS).
- It discovers Antigravity targets via the Chrome DevTools Protocol (CDP).
- Your phone connects to the mobile UI and sends upload/command requests.
- The extension injects into the selected chat target and saves files to
uploads/.
Security and privacy
- The server runs locally and is authenticated with a token.
- HTTPS is enabled by default to allow microphone access on mobile.
- No data is sent to third-party services by this extension.
Troubleshooting
- No instances found: Make sure every Antigravity window was launched with the
--remote-debugging-portcommand shown above. - Can't connect from mobile: Ensure your phone and computer are on the same network.
- Uploads save but don't appear in chat: Switch to the correct Active Instance in the mobile UI.
- Stuck on "Initializing…": The server is reachable but the chat surface has not been captured yet. Wait a few seconds for the CDP connection to initialize.
FAQ
-
It does not work unless Antigravity is launched with the debug port. Use the exact launch command shown in the Quick start section. Any Antigravity window started without
--remote-debugging-portcannot be discovered or controlled. -
Can I run multiple sessions? Yes. Multiple Antigravity windows are supported as long as each one is launched with the command shown above.
-
Can I use this for automation? Yes. The local HTTP API and MCP server are designed for exactly this. See the API and MCP server sections.
Internationalization and accessibility
The mobile interface automatically detects your browser's language and renders in:
English · 日本語 · 中文(简体)· 中文(繁體)· 한국어 · Deutsch · Français · Español · Português · Русский · Italiano · Polski · Türkçe · Tiếng Việt · Bahasa Indonesia · العربية
Arabic is rendered right-to-left automatically. Language detection uses navigator.language with no configuration required.
The interface is built with semantic HTML, ARIA roles, aria-live regions for connection status, keyboard navigation, and screen-reader-compatible labels throughout.
Contributing
We are accepting pull requests and actively looking for contributors. If you want to help, check the TODOs in the codebase or open an issue to discuss ideas.
See CONTRIBUTING.md for setup and PR notes.
License
MIT. See LICENSE.
Acknowledgments
Inspired by early community projects including:
- https://github.com/Mario4272/ag_bridge
- https://github.com/gherghett/Antigravity-Shit-Chat
- https://github.com/lukasz-wronski/Antigravity-Shit-Chat
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。






