> ## Documentation Index
> Fetch the complete documentation index at: https://docs.study.faroapi.cn/llms.txt
> Use this file to discover all available pages before exploring further.

# 在 Antigravity IDE 里连接 Open Study

> 解压 Antigravity 兼容包放进插件目录，再到 Agent 设置的 Customizations 里点 Authenticate 授权。

Antigravity 用自己的插件格式，我们准备了对应的兼容包，里面的 `mcp_config.json` 已经按它要求的 `serverUrl` 写好。

> [!NOTE]
>
> 这一页按 Antigravity IDE 的官方说明整理，我们还没有逐步实测。和你看到的界面不一致时，以官方说明为准，也欢迎[告诉我们](https://docs.study.faroapi.cn/help/contact.md)。

## 安装

1. 登录网站，打开左侧 **快速开始**，在页面下方下载 **Antigravity 兼容包** 并解压。解压后的根目录是 `plugin.json`、`mcp_config.json` 和 `skills/`。
2. 放进 `~/.gemini/config/plugins/open-study`，只在当前项目用就放到 `.agents/plugins/open-study`。
3. 自己写配置时，地址字段必须叫 `serverUrl`，写成 `url` 会被拒绝。

## 授权

1. 打开 Agent 设置（Mac 上是 Cmd+,）→ **Customizations**，在 open-study 旁点 **Authenticate**。
2. 浏览器里登录 Open Study，点 **允许连接**。如果页面给出一段代码，把它复制回 Antigravity，点 **Submit**。

登录要用 Open Study 账号；还没有就先到 [study.faroapi.cn](https://study.faroapi.cn) 注册。密码只填在网站的授权页，不用发给 Agent。

## 也可以让 AI 带你装

这一节写给人看：登录网站，打开左侧 **快速开始**，点 **Antigravity IDE** 那张卡片，在 **提示词** 页签复制安装提示词，在 Antigravity IDE 里新开一个对话发过去。它会读这一页，能代你做的直接做，要在界面上点的会告诉你点哪里。浏览器里的 **允许连接** 要你自己点。

## 确认能用

重启 Antigravity，把这段发过去：

请使用 Open Study 查询我的资料库，列出最多三条资料标题和内容 ID。没有资料就说明为空；还没连上就告诉我下一步。只查询已有资料，不整理新视频。

请使用 Open Study 查询我的资料库，列出最多三条资料标题和内容 ID。没有资料就说明为空；还没连上就告诉我下一步。只查询已有资料，不整理新视频。

收到资料列表或「资料库为空」，就说明连上了。

## 更新

网站 **快速开始** 出现新版本时，下载新的 **Antigravity 兼容包** 解压，整个替换原来的 open-study 插件目录。连接地址不变；提示需要授权时，按上面「授权」一节再做一次。更新后重启 Antigravity。

## 遇到问题

* **一直显示需要授权**：确认在 Antigravity IDE 里完成了授权那一步，并在浏览器里点了 **允许连接**。
* **其他情况**：见[插件更新与连接问题](https://docs.study.faroapi.cn/connect-ai/update-troubleshoot.md)。
* **Antigravity IDE 官方说明**：[Antigravity 的 MCP](https://antigravity.google/docs/mcp)、[Antigravity 插件](https://antigravity.google/docs/plugins)。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.