Antigravity Sync MCP logo

Antigravity Sync MCP

Community
ada20204

一个面向 Antigravity 的 MCP 集成项目,目标是让外部 AI 客户端(Claude/Cursor/其他 MCP 客户端)稳定调用 Antigravity 的对话能力。

Publisherada20204
Repositoryantigravity-sync-mcp
LanguageJavaScript
Forks
7
Stars
54
Available tools
0
Transport typestdio
Links
  • Connect tools to AI workflows

    Antigravity Sync MCP exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    54 stars and 7 forks from the linked repository.

antigravity-sync

⚠️ 免责声明:此项目完全是 vibe coding 产物,代码由 AI 生成,未经严格审查。使用风险自己承担。

一个面向 Antigravity 的 MCP 集成项目,目标是让外部 AI 客户端(Claude/Cursor/其他 MCP 客户端)稳定调用 Antigravity 的对话能力。

Antigravity 现已拆分为三个产品形态,本项目对应两条独立可用的接入路径:

Antigravity 产品本项目接入方式
Antigravity IDE(VSCode fork)packages/server(CDP)+ packages/sidecar(IDE 内扩展)
Antigravity CLI(agy)packages/cli-server(子进程驱动,无需 IDE)
Antigravity(独立聊天 App)不接入(CDP 路径会主动排除它的调试端口)

项目目标

  • 提供可用的 CDP MCP Server(packages/server,对接 Antigravity IDE)
  • 提供独立的 CLI MCP Server(packages/cli-server,对接 agy,与 IDE 路径零依赖)
  • 提供 VS Code/Antigravity 侧 Sidecar(packages/sidecar)
  • 通过统一 registry(~/.config/antigravity-mcp/registry.json)解耦运行环境
  • 支持配额采集、模型选择、自动接受、安全控制、启动诊断

仓库结构

  • packages/core/:共享类型、schema 与平台工具
  • packages/server/:CDP MCP Server(TypeScript)
  • packages/cli-server/:CLI MCP Server(TypeScript,驱动 agy)
  • packages/sidecar/:Sidecar 扩展(JavaScript)
  • references/:参考实现(以 submodule 为主)
  • docs/plans/:设计与实现计划
  • openspec/:规格与变更管理
  • build/:本地打包产物(如 VSIX)

核心架构

  1. Sidecar 负责发现/验证 CDP,并写入 registry。
  2. Server 默认只读取本地 registry;当 CDP 不可用时会写入 __control__.cdp_prompt_requests 触发 Sidecar 端提示弹窗。
  3. Server 通过 ask-antigravity / ping / launch-antigravity / antigravity-stop / quota-status / list-antigravity-models / list-workspaces 工具提供能力。
  4. 配额策略基于 Sidecar 快照 + Server 侧策略选择。
  5. CLI Server 独立于上述链路:直接子进程驱动 agy -p,提供同步 ask、异步任务(start/poll/cancel/list)与动态模型列表。

快速开始

1) 构建 Server

bash
npm install
npm --workspace packages/server run build

2) 安装 Sidecar(推荐 VSIX)

  • 安装 packages/sidecar VSIX
  • 在 Antigravity 命令面板执行 Install Bundled MCP Server Launcher

3) CLI Server(可选,独立使用)

bash
npm --workspace packages/cli-server run build
# 全局安装(生成 ~/.config/antigravity-mcp/bin/antigravity-mcp-cli)
npm --workspace packages/cli-server run install:global

4) 基础验证

bash
node --test packages/core/test/*.mjs
node --test packages/server/test/*.mjs
node --test packages/cli-server/test/*.mjs
node --test packages/sidecar/test/*.mjs

文档入口

  • Core 包说明:packages/core/README.md
  • Server 使用说明:packages/server/README.md
  • CLI Server 使用说明:packages/cli-server/README.md
  • Sidecar 使用说明:packages/sidecar/README.md
  • 设计与计划:docs/plans/
  • 项目上下文:openspec/project.md

References(来源说明)

本项目在设计和实现过程中参考了多个开源项目,详见:

  • references/README.md

这些参考项目用于调研、对比、借鉴,不代表原仓库与本项目存在从属关系。

许可证

当前仓库内各组件请以各自目录下的许可证声明为准。 引用的第三方项目许可证以其原仓库为准。

Use Antigravity Sync MCP MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Antigravity Sync MCP is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Antigravity Sync MCP as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Antigravity Sync MCP MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "antigravity-sync-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Antigravity Sync MCP MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Antigravity Sync MCP MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Antigravity Sync MCP to help me with this task?
Antigravity Sync MCP
Sure. I read it.
Here is what I found using Antigravity Sync MCP.

Frequently asked questions

What is the Antigravity Sync MCP MCP server used for?

Antigravity Sync MCP is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Antigravity Sync MCP MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Antigravity Sync MCP with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Antigravity Sync MCP MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Antigravity Sync MCP connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Antigravity Sync MCP MCP to TypingMind?

Antigravity Sync MCP runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Antigravity Sync MCP MCP provide in TypingMind?

Antigravity Sync MCP exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Antigravity Sync MCP MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Antigravity Sync MCP requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇