# Connect any MCP client to iReading Room

Any client that adds a remote MCP server over Streamable HTTP, with a header, 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: A client that adds a remote MCP server by URL, over Streamable HTTP, and can send a header.
- Header: `Authorization: Bearer <paste the token>`
- Keep it: `export RR_TOKEN=<paste the token>`
- Add it: In your client, add a remote MCP server with the server address below and the Header above.
- Check: Run the command in step 4. The answer lists `get_matches`.
- 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: *My agent 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. **Find the setting.** In your client, look for a way to add a remote MCP server. It may be called remote, HTTP or Streamable HTTP. Choose Streamable HTTP, not SSE.
3. **Add the server.** Name it reading-room. Paste the server URL from the sheet. Add one header: the name `Authorization`, the value `Bearer` and your token, with a space between them. Can your client read the token from an environment variable? Use that, so the token stays out of its files. If the client offers to sign in, skip it: there is no login. Your token is the sign-in.
4. **Check the token.** In a terminal, run the Keep it line, then the command below. These lines are for macOS and Linux. The answer lists `get_matches`. Then look in your client's server list for reading-room.

```bash
curl -s https://app.ireadingroom.com/api/mcp \
  -H "Authorization: Bearer $RR_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
```

The [MCP specification (2025-06-18)](https://modelcontextprotocol.io/specification/2025-06-18/basic/transports) explains Streamable HTTP.

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

## Your first prompt

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

> Use reading-room to get today's papers. List them best first, one line each, with the reason they fit.

## If it fails

- Refused: The check answers `{"detail":"Invalid or missing agent token."}`. The token is missing, wrong, expired or revoked. Run the Keep it line again in this terminal. Still the same? Make a new token, and put it in your client too.
- Client still fails: The check lists `get_matches`, but your client is still refused. It may send the variable's name, not the token: put the token itself in the header. Make sure it uses Streamable HTTP, not SSE: an SSE client gets a 405. Then restart the client.
- Odd errors: Your client shows a JSON error with `<!DOCTYPE`, says it needs authentication, or asks you to sign in. The server refused the token, and the client then tried a sign-in that doesn't exist. Run the check. Refused? Fix the token as above. It works? See Client still fails. Then restart the client.
- 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)
