antigravity-link-extension

作者 cafeTechne

Mobile companion for Google's Antigravity IDE. Mirror AI sessions on your phone, send messages, stop generation, automate via 9 MCP tools or OpenAPI.

207
Stars
32
Forks
HTML
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/cafeTechne/antigravity-link-extension

快速入门

使用 antigravity-link-extension 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

Antigravity Link (VS Code Extension)

CI Open VSX Version Open VSX Downloads npm version npm downloads GitHub Stars License: MIT

Read this in your language: 日本語 · 中文(简体) · 中文(繁體) · 한국어 · Deutsch · Français · Español · Português · Русский · Italiano · Polski · Türkçe · Tiếng Việt · Bahasa Indonesia · العربية

What's new in v1.0.20 — Security: removed child_process dependency entirely; debug endpoints now require auth; localhost guard on all LS RPC calls. See CHANGELOG.


Contents


You're running an Antigravity session and need to step away from your desk. The AI is mid-generation. You want to monitor it, redirect it, upload a file, or just read what it wrote from your phone, without coming back to your computer.

Antigravity Link makes that possible. Scan a QR code and your phone becomes a live mirror of the active chat: read responses as they stream, send messages, stop generation, upload files, dictate via voice, and switch between multiple Antigravity windows all from a mobile browser, on your local network.

For automation, the extension also exposes a local HTTP API and an MCP server so agents and external tools can drive Antigravity sessions programmatically.

Demo

https://github.com/user-attachments/assets/43c7d029-a598-474f-949e-5da333c9a3f2

Screenshots
Demo 1Demo 2Demo 3
Demo 4Demo 5Demo 6
Demo 7

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.

Installation

Install from the Antigravity extensions marketplace: search Antigravity Link or install directly from Open VSX.

Prerequisites

  • Antigravity IDE installed and running.
  • A phone and computer on the same Wi-Fi network.
  • Antigravity launched with the remote debugging flag. This is required for the extension to discover and connect to your session. See the launch command in Quick start below.

Quick start

  1. Start Antigravity with remote debugging enabled. This is required; sessions launched without this flag are not discoverable by the extension.

Windows:

& "C:\Users\<username>\AppData\Local\Programs\Antigravity IDE\Antigravity IDE.exe" --remote-debugging-port=9000

macOS:

open -a "Antigravity IDE" --args --remote-debugging-port=9000

Linux:

antigravity-ide --remote-debugging-port=9000

Multiple Antigravity sessions are supported, but every window must be launched with this command.

  1. In VS Code, run: Antigravity Link: Start Server

  2. Then run: Antigravity Link: Show QR Code

  3. Scan the QR code with your phone. Your mobile UI is ready.

  4. 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

CommandDescription
Antigravity Link: Start ServerStarts the local bridge server.
Antigravity Link: Stop ServerStops the server.
Antigravity Link: Show QR CodeDisplays the connection QR code.
Antigravity Link: Select Network InterfaceChoose which network interface the QR URL advertises.

Settings

SettingDefaultDescription
antigravityLink.port3000Port for the local bridge server.
antigravityLink.autoStartfalseStart the server on VS Code launch.
antigravityLink.useHttpstrueServe over HTTPS for mic access.
antigravityLink.preferredHost""Optional LAN IPv4 to advertise in QR URL (example: 192.168.1.101).
antigravityLink.strictWorkbenchOnlytrueOnly bind to workbench.html CDP targets for stability.
antigravityLink.includeFallbackTargetsfalseAllow jetski/launchpad fallback targets when strict mode is disabled.

For agent builders

If you want to integrate quickly, use this sequence:

  1. Start the extension server and copy the token from the QR URL (?token=...).
  2. Use either MCP tools (mcp-server.mjs) or direct HTTP calls against https://localhost:3000.
  3. 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": ["<extension-dir>/mcp-server.mjs"],
    "env": {
      "AG_BRIDGE_URL": "https://localhost:3000",
      "AG_BRIDGE_TOKEN": "<token>"
    }
  }
}

Replace <extension-dir> with the path to the installed extension:

  • Windows: %USERPROFILE%\.antigravity-ide\extensions\cafetechne.antigravity-link-extension-1.0.20
  • macOS/Linux: ~/.antigravity-ide/extensions/cafetechne.antigravity-link-extension-1.0.20

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/.

Account safety

Antigravity Link has no known ban cases and is designed to stay that way.

The extension works by connecting to a debug port that Antigravity exposes on your own machine the same Chrome DevTools Protocol used by VS Code's built-in debugger and browser devtools. It reads your local UI and simulates keypresses and clicks, exactly as if you were sitting at your keyboard.

What this means in practice:

  • All network activity is local. The extension communicates only with: your phone on the LAN via the HTTPS server it starts; Antigravity IDE's Chrome DevTools Protocol port on localhost:9000; and Antigravity's Language Server process on 127.0.0.1 for the stop-generation RPC. No data is sent to Google's servers or any external service beyond what Antigravity itself sends.
  • Nothing is injected into Antigravity's network traffic. The extension reads your screen and types into your editor it does not intercept or modify API calls.
  • No Antigravity files are modified. There are no patches, hooks, or binary modifications.
  • The server runs entirely on your machine. Your prompts, chat history, and files never leave your local network unless you explicitly expose the server externally.
  • No data is sent to third-party services by this extension.

The source code is MIT-licensed and fully auditable: https://github.com/cafeTechne/antigravity-link-extension

Troubleshooting

  • No instances found: Make sure every Antigravity window was launched with the --remote-debugging-port command 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

Does this work on iOS and Android? Yes. The mobile UI runs in any modern mobile browser Safari on iOS, Chrome on Android, and others all work.

Does this work over cellular or VPN? Not by default: the server is LAN-only. For remote access you would need to expose it through a tunnel such as ngrok, wireguard, etc.. The token authentication and HTTPS remain in place regardless.

Is the self-signed certificate warning safe to accept? Yes. The certificate is generated locally on your machine at server start. The warning appears because it is not issued by a public certificate authority, not because the connection is insecure.

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

Pull requests are welcome. Check the TODOs in the codebase or open a GitHub issue to discuss ideas before starting large changes. See CONTRIBUTING.md for setup and PR notes.


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.

MethodEndpointDescription
GET/pingHealth check — returns pong. No auth required.
GET/snapshotCurrent chat surface: HTML, CSS, mode/model, isGenerating.
GET/instancesList active Antigravity windows.
POST/instanceSwitch active window. Body: { "targetId": "..." }
POST/sendSend a message. Body: { "message": "..." }
POST/clickClick a UI element. Body: { "selector"?, "text"?, "x"?, "y"? }
POST/stopStop AI generation.
POST/uploadUpload a file (multipart/form-data, field name file).
GET/taskRead the current task document.
GET/walkthroughRead the current walkthrough document.
GET/planRead 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": ["<extension-dir>/mcp-server.mjs"],
    "env": {
      "AG_BRIDGE_URL": "https://localhost:3000",
      "AG_BRIDGE_TOKEN": "<your-token>"
    }
  }
}

Replace <extension-dir> with the path to the installed extension:

  • Windows: %USERPROFILE%\.antigravity-ide\extensions\cafetechne.antigravity-link-extension-1.0.20
  • macOS/Linux: ~/.antigravity-ide/extensions/cafetechne.antigravity-link-extension-1.0.20

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

ToolDescription
get_snapshotGet current chat state, mode, model, and generation status.
send_messageSend a message to the active chat.
stop_generationCancel active AI generation.
get_instancesList available Antigravity windows.
switch_instanceSwitch to a different Antigravity window.
click_elementClick a UI element by selector, text, or coordinates.
get_taskRead the current task document.
get_walkthroughRead the current walkthrough document.
get_planRead 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.


Star history

Star History Chart

Acknowledgments

Inspired by early community projects including:

常见问题

What is antigravity-link-extension?

antigravity-link-extension is an open-source mcp servers skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by cafeTechne. Mobile companion for Google's Antigravity IDE. Mirror AI sessions on your phone, send messages, stop generation, automate via 9 MCP tools or OpenAPI. It has 207 GitHub stars.

Is antigravity-link-extension safe to use?

antigravity-link-extension returned warnings in SkillsLLM's automated security scan. It has no critical vulnerabilities, but review the flagged issues in the Security Report section before adding it to your workflow.

How do I install antigravity-link-extension?

Clone the repository with "git clone https://github.com/cafeTechne/antigravity-link-extension" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is antigravity-link-extension written in?

antigravity-link-extension is primarily written in HTML. It is open-source under cafeTechne on GitHub, so you can review or fork the full source.

Are there alternatives to antigravity-link-extension?

Yes. SkillsLLM lists many other MCP Servers skills you can browse and compare side by side. Open the MCP Servers category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh antigravity-link-extension against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

Scrapling

by D4Vinci

🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!

75,9137,581Python
MCP 服务器
查看详情

TrendRadar

by sansan0

⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。

61,65224,883Python
MCP 服务器
查看详情

context7

by upstash

Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors

61,0602,938TypeScript
MCP 服务器
查看详情

High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 158 languages, sub-ms queries, 99% fewer tokens. Single static binary, zero dependencies.

39,9393,219C
MCP 服务器
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情