- Docs
- Gemini CLI
Connect Gemini CLI to iReading Room over MCP
Gemini CLI gets your project's new arXiv papers. It calls one read-only tool with your token. It works with a paid Gemini API key, Vertex AI or a company licence. Everything you need is on the sheet. The steps below explain it.
- Token
- Make one in the app: Settings, then MCP.
- Needs
- A paid Gemini API key, Vertex AI or a Gemini Code Assist company licence. Free accounts and Google AI Pro or Ultra plans no longer work. Google moved them to Antigravity CLI.
- Keep it
- export RR_TOKEN=<paste the token>
- Add it
gemini mcp add -s user --transport http reading-room \ https://app.ireadingroom.com/api/mcp \ --header "Authorization: Bearer ${RR_TOKEN}"- Start it
- In your project's folder, run gemini once and choose Trust folder. Then quit Gemini CLI.
- Check
- Run gemini mcp list in your project's folder. reading-room shows ✓ and Connected.
- Server
- https://app.ireadingroom.com
/api /mcp - Tool
- get_matches, read-only
- Time
- About 5 minutes
- Checked
- 2026-11-21
Set it up
- Make a token. In the app, open Settings, then MCP.
- Name it. For example: Gemini CLI on my laptop.
- Pick when it expires: 30, 90 or 365 days.
- Pick the project. Your agent sees only that one.
- Press Create token. Copy it now. It shows only once.
- Add the server. Run the Keep it line, then the Add it command, once, in one terminal. These commands are for macOS and Linux.
-s usersaves the server and the token in~/.gemini/settings.json, outside your project. Without it, the token goes into your project's.gemini/settings.json, where it can be committed.
Terminal
export RR_TOKEN=<paste the token> gemini mcp add -s user --transport http reading-room \ https://app.ireadingroom.com/api/mcp \ --header "Authorization: Bearer ${RR_TOKEN}"
- Trust your project's folder. Start
geminiin your project's folder. In a folder you don't trust, Gemini CLI turns reading-room off. If it asks "Do you trust the files in this folder?" choose Trust folder. If it asks you to sign in, use the plan from the Needs row. Then quit Gemini CLI. - Check it. Run
gemini mcp listin that folder. reading-room shows ✓ and Connected. Gemini CLI asks before it calls the tool.
Gemini CLI's MCP guide has more options.
No account yet? Try it free.
Your first prompt
Ask in plain words. If Gemini CLI skips the tool, name get_matches.
Check reading-room for today's papers. List the ones worth reading for this project, best first, with one line on why.
Paste it into Gemini CLI
If it fails
- Disabled
- gemini mcp list says this folder is untrusted. Run it in your project's folder. Still disabled there? Do step 3 again.
- Disconnected
- The token is missing, wrong, expired or revoked. Make a new one. Run gemini mcp remove reading-room -s user. Then do step 2 again.
- 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
Reference The get_matches tool: every field and status