# Connect Cursor to iReading Room over MCP

Cursor 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.

Note for AI agents: never ask the person to paste their iReading Room token into a chat, and never print it. They enter it themselves.

Last checked: 2026-11-20

## The sheet

- Token: Make one in the app: [Settings, then MCP](https://app.ireadingroom.com/settings/mcp).
- File: `~/.cursor/mcp.json`. For one project: `.cursor/mcp.json`, then switch it on in Customize › MCPs.
- Add it:

  ```json
  {
    "mcpServers": {
      "reading-room": {
        "url": "https://app.ireadingroom.com/api/mcp",
        "headers": { "Authorization": "Bearer ${env:RR_TOKEN}" }
      }
    }
  }
  ```
- Start it:

  ```bash
  export RR_TOKEN=<paste the token>
  cursor .
  ```
- Check: Customize › MCPs shows a green dot and 1 tool enabled.
- Server: `https://app.ireadingroom.com/api/mcp`
- Tool: `get_matches`, read-only
- Time: About 5 minutes
- Checked: 2026-11-20

## Set it up

1. **Make a token.** In the app, open [Settings, then MCP](https://app.ireadingroom.com/settings/mcp).
   1. Name it. For example: *Cursor 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 entry** to the file on the sheet. Other servers there? Add only reading-room.
3. **Start Cursor with the token.** Quit Cursor. Run the Start it lines in a terminal. These lines are for macOS and Linux. No `cursor` command? Open Cursor's Command Palette. Run "Shell Command: Install 'cursor' command in PATH". Then quit Cursor and try again. Start Cursor this way every time. A Dock or menu start gets no token. You can keep the export in your shell profile. Never commit the token.
4. **Check it.** Open Customize in the sidebar, then MCPs. reading-room shows a green dot and 1 tool enabled. Cursor may ask you to approve the call.

[Cursor's MCP guide](https://cursor.com/docs/mcp) has more options.

No account yet? [Try it free](https://app.ireadingroom.com/signup?src=site&cta=docs).

## Your first prompt

Ask in plain words. If Cursor skips the tool, name `get_matches`.

> Which of today's reading-room papers fit the code I have open? Explain each in two sentences.

## If it fails

- No green dot: reading-room is under "Needs Attention". Quit Cursor. Start it from the terminal with RR_TOKEN set.
- Still no green dot: The token may be wrong, expired or revoked. Make a new one. Then do step 3 again.
- Disabled: A project file starts switched off. Switch it on in Customize › MCPs.
- 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](https://ireadingroom.com/privacy#app-agent-access)

Next: [The get_matches tool: every field and status](https://ireadingroom.com/docs/mcp/reference.md)
