# Connect Cline to iReading Room over MCP

Cline 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-21

## The sheet

- Token: Make one in the app: [Settings, then MCP](https://app.ireadingroom.com/settings/mcp).
- Needs: VS Code with the Cline extension and a model: your own API key or a Cline account.
- File: `cline_mcp_settings.json` in `~/.cline/data/settings/`. Open it with **Edit Configuration**. It holds the token itself, in your home folder.
- Add it:

  ```json
  {
    "mcpServers": {
      "reading-room": {
        "type": "streamableHttp",
        "url": "https://app.ireadingroom.com/api/mcp",
        "headers": { "Authorization": "Bearer <paste the token>" },
        "disabled": false,
        "autoApprove": []
      }
    }
  }
  ```
- Check: In Cline's MCP list, reading-room shows a green dot and Tools (1).
- 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](https://app.ireadingroom.com/settings/mcp).
   1. Name it. For example: *Cline 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. **Open the file.** In Cline, open **Customize** (the wrench icon), then **MCP**, then **Edit Configuration**. The Add Remote Server form there has no field for the token, so use the file. The file sits in your home folder, not in your project.
3. **Add the server.** If the file holds only `{"mcpServers": {}}`, replace all of it with the Add it entry. Already have servers in the file? Add only the reading-room entry. Replace `<paste the token>` with your token. Save. Cline connects right away.
4. **Check it.** In the MCP list, reading-room shows a green dot. Open it: Tools (1) lists get_matches. get_matches only reads. Cline calls it without asking, because **Use MCP servers** is on in **Auto-approve** by default.

[Cline's MCP guide](https://docs.cline.bot/mcp/mcp-overview) 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, in Act mode. If Cline skips the tool, name `get_matches`.

> Use the reading-room MCP server to get today's papers. Which one fits this project best, and why?

## If it fails

- No green dot: reading-room shows `Unexpected token '<', "<!DOCTYPE "... is not valid JSON`. It looks like a file error, but the token was refused: it is wrong, expired or revoked. Make a new one. Put it in the file after `Bearer`, in place of the old one. Save. Then choose **Retry Connection**.
- 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)
