1. Docs
  2. Antigravity CLI

Connect Antigravity CLI to iReading Room over MCP

Antigravity CLI gets your project's new arXiv papers. It calls one read-only tool with your token. Everything you need is on the sheet. The steps below explain it.

Open as Markdown Last checked
Antigravity CLI
Token
Make one in the app: Settings, then MCP.
Keep it
export RR_TOKEN=<paste the token>
File
~/.gemini/config/mcp_config.json. It holds the token itself, in your home folder.
Add it
agy mcp add --header "Authorization: Bearer ${RR_TOKEN}" \
  reading-room https://app.ireadingroom.com/api/mcp
Check
In Antigravity CLI, type /mcp. reading-room should be active.
Server
https://app.ireadingroom.com/api/mcp
Tool
get_matches, read-only
Time
About 5 minutes
Checked
2026-11-21

Set it up

  1. Make a token. In the app, open Settings, then MCP.
    1. Name it. For example: Antigravity CLI on my laptop.
    2. Pick when it expires: 30, 90 or 365 days.
    3. Pick the project. Your agent sees only that one.
    4. Press Create token. Copy it now. It shows only once.
  2. Add the server. Run the Keep it line, then the Add it command, once, in one terminal. These commands are for macOS and Linux. The flag comes before the name. Antigravity CLI saves the server in the file on the sheet, for all your projects. It can't read RR_TOKEN later, so the file holds the token itself. Never put the token in a project's .agents/mcp_config.json, where it can be committed.
Terminal
export RR_TOKEN=<paste the token>
agy mcp add --header "Authorization: Bearer ${RR_TOKEN}" \
  reading-room https://app.ireadingroom.com/api/mcp
  1. Start Antigravity CLI. Run agy in your project's folder and sign in. It connects to reading-room when it starts.
  2. Check it. Type /mcp. reading-room should be active. Antigravity CLI asks before it calls the tool.

Antigravity CLI's MCP guide has more options.

Your first prompt

Ask in plain words. If Antigravity CLI skips the tool, name get_matches.

Ask reading-room for today's papers. Which one should this project try first, and why?

Paste it into Antigravity CLI

If it fails

Not active
reading-room isn't active in /mcp. The token may be missing, wrong, expired or revoked. Make a new one. Do step 2 again: the Add it command replaces the old entry. Then restart agy.
Not available
Your project isn't ready yet. Describe it in the app, then wait for its first day's papers.
not_ready
Not ready yet. Try again later, or ask for an earlier day.
out_of_window
Ask for today or the 6 days before.

What your agent sees

Your agent gets your recommended papers. It also gets your interest names. It sends them to the AI model it uses. You can revoke a token at any time. Privacy details