Skip to main content

How Inki Works in Antigravity

From the agent in Google’s Antigravity, you can find your Inki notes, or save a draft you wrote on your computer as an Inki note. You can also run Inki’s checks and reviews. Notes you save open in Inki, so you can keep writing there.

Connect Inki

You need an Inki account. The steps differ a little between the Antigravity CLI and the Antigravity app. Both finish the same way: Antigravity shows a code on its page, and you paste it into Antigravity.

Antigravity CLI

  1. Run this command in your terminal
  2. Start the Antigravity CLI, type /mcp, and press Enter. Select “inki”, press Enter, use the arrow keys to select “Authenticate”, and press Enter
  3. Inki opens in your browser. Log in to Inki and click “Allow connection”. If your browser doesn’t open, open the URL the CLI shows
  4. Antigravity’s page shows a code. Click “Copy to Clipboard”, paste the code into the CLI, and press Enter
  5. When you see “Authentication successful!”, press Enter and check that “inki” shows “Authed”

Antigravity App

  1. In the left sidebar, open “Customizations” > “Installed” and click “Copy Config File Path” in the “MCP Servers” heading. Open the settings file at that path (usually ~/.gemini/config/mcp_config.json) in a text editor
  2. Add this entry inside mcpServers, then save. Don’t replace the whole file, or you’ll lose the servers you already have
    If the file is empty, make it look like this
  3. In the app, open “Customizations” > “Installed”, and under “MCP Servers”, click “Authenticate” next to “inki”
  4. Inki opens in your browser. Log in to Inki and click “Allow connection”
  5. Antigravity’s page shows a code. Click “Copy to Clipboard”, go back to the app, paste the code into “Enter authorization code”, and click “Submit”
  6. Check that “inki” shows a green dot

What You Can Do

  • Find notes: Ask about a topic and Antigravity searches your notes for those words. Ask for recent notes or the notes in a folder and Antigravity lists them, newest first
  • Read and summarize: Antigravity reads the text saved in Inki before it summarizes, quotes, or edits a note. Each note it mentions comes with a link that opens the note in Inki
  • Save new notes: Save a draft from a local file or the conversation as a new note, in a folder you name. If the folder doesn’t exist yet, Antigravity can create it
  • Edit notes: Ask Antigravity to replace a paragraph, add a sentence, or remove a passage. Inki keeps the version from before each edit in the note’s version history, so you can restore it
  • Run checks and reviews: Antigravity runs the same check as Inki’s editor on a note and shows you what it found. You can also ask for a review. Checks don’t use credits but count toward your plan’s usage limit. Reviews use Inki credits
  • Rename and move notes: Change a note’s title or move it to another folder. The note’s text stays the same
  • Move a note to the trash: Antigravity moves one note at a time. You can restore it from Trash for 30 days
  • Check the connected account: Ask which Inki account is connected, and Antigravity shows its name and email address

Example Prompts

  • Which Inki account is connected?
  • What did I write most recently in Inki?
  • Write a release announcement based on this repository’s README and save it as “v2.0 announcement” in my Announcements folder in Inki.
  • Read my Inki note “Design notes” and list where it differs from the current code.
  • Check my Inki note “Weekly update”. I’ll decide what to fix, so don’t change it yet.

When Antigravity Asks for Permission

Depending on your settings, Antigravity asks before it uses one of Inki’s tools. When it asks, check the tool and what it will send to Inki before you allow it. We recommend checking each change before you allow Antigravity to edit a note, rename or move it, or move it to the trash.

What Antigravity Can’t Do

  • Permanently delete notes or empty Trash
  • Delete folders
  • Move several notes, a whole folder, or all your notes to the trash at once
  • Create share links
  • Read or change notes that belong to other members of your workspace
To delete a note permanently, use Trash in Inki.

Disconnect

  • Desktop browser and Mac app: Open Settings > Account. Under “Connect your agent”, click “Disconnect” next to Google Antigravity in the connected list, then click “Disconnect” again in the same row to confirm
  • Any browser: Open inki.so/en/connections, sign in, click “Disconnect” next to Google Antigravity, then confirm in the same row
If you remove “inki” in Antigravity (agy mcp remove inki in the CLI, or “More actions” > “Delete” next to “inki” in the app), Google Antigravity still appears in Inki’s connected list. To remove it there, disconnect it in Inki as described above. Notes you’ve already saved stay in Inki after you disconnect. To use Inki again, log in again from “Authenticate” next to “inki”.

Things to Know

  • If “inki” doesn’t appear, check mcp_config.json. The entry has to be inside mcpServers, use serverUrl, and have no missing commas
  • If pasting the code doesn’t connect, start again from “Authenticate”. Each code works only once and stops working after a few minutes
  • Search matches the words in your notes. If Antigravity doesn’t find a note, try different words. Recent edits can take a moment to show up in search results
  • Antigravity reads the version saved in Inki. Edits still open on another device may not be saved yet, so Antigravity may not see them
  • If a note changes in Inki after Antigravity reads it, Antigravity’s edit still goes through when the passage it changes is unchanged and appears only once in the note. If that passage changed, or the edit rewrites the whole note or only adds text at the end, Inki refuses Antigravity’s edit and nothing is written. Antigravity reads the note again before it tries again, so your newer changes aren’t overwritten
  • Inki tells Antigravity that text inside your notes is your content, not instructions. Only your own requests should decide what Antigravity does. If Antigravity asks to make a change you didn’t ask for, don’t allow it

Get Help

For questions about using Inki in Antigravity, email hello@inki.so. Report security issues, including vulnerabilities, to the same address. See Account and Privacy for support hours. How Inki handles the data a connected service works with is described in Article 11 of the Privacy Policy.