Skip to main content

🔌 MCP, explained from zero

MCP lets an AI app you already use — Claude, Cursor, your own tool — read a study room's knowledge directly, without copying and pasting anything. It also works the other way: a room can call someone else's MCP server on a schedule and pull what it returns onto its shelf. This page explains both, how each is configured today, and walks through a real connection.

No prior knowledge assumed~15 minutesOne config file
💡

What MCP actually is

💡The 30-second version. MCP — the Model Context Protocol — is a common plug shape. On one side is an AI app (Claude, Cursor, your own assistant). On the other is a source of knowledge. Before MCP, every pairing needed its own custom integration. With MCP, any client that speaks the protocol can talk to any server that speaks it.

In NotaeLibrary, a study room can act as an MCP server: it publishes its knowledge in that standard shape. Your AI app is the MCP client. You give the client a URL and a token, and from then on the AI can search the room when it needs to.

🧠The client

The AI application you already use. It decides when to search, and writes the answer.

📚The server

Your study room. It answers search requests from its shelf, and never talks to the user directly.

What it is not

Not thisThat is
A chatbot on your websiteThe public widget: anonymous visitors, no install. Different feature.
A generic chatbotIt answers nothing on its own — the AI decides, the room supplies.
A sync or an exportNothing is copied. Every request reads the room as it is now.
An API you must write code forClients do the talking; you paste one config block.
ℹ️Why it matters for a private room. A study room can stay private and still be useful inside your own AI. Nobody else can read it; you can ask your assistant about it from wherever you work.
↔️

MCP works in two directions

NotaeLibrary uses MCP both ways, and they are configured in different places. Most of this page covers the first one; the second starts at a room that pulls knowledge in.

DirectionWhat happensConfigured in
The room is the serverAn AI app you use reads the room's knowledge when it needs to.Settings → MCP
The room is the clientThe room calls someone else's MCP server and stores the result as a shelf item.Bookshelf → Add work → Live feed
ℹ️One is access, the other is ingestion. The room-as-server direction exposes what the room already knows. The room-as-client direction adds something new to the room. Neither changes the other's tokens or settings.
🗺️

Where MCP lives in the product

A study room → Settings → MCP

The page is called API / MCP Access. It is steward-only: you need to be an OWNER or MODERATOR of the room. Everyone else is redirected back to the room settings, because issuing a token is a decision about exposing the room.

On the pageWhat it does
Generate API TokenCreates a token for this room. The plaintext is shown once.
Token listLabel, scopes, hourly limit, calls, last used, and Revoke.
Pending partner notesNotes written through the write API, waiting for a moderator to approve.
TutorialThe room-specific guide, which knows this room's name and tokens.
ℹ️Room MCP is free. Sharing a room's knowledge this way costs nothing and is not billed to a team. A team that wants corpus-wide access — several rooms under one key, metered — uses Teams → Keys instead. Same idea, different scope.
🎫

Create a token (5 minutes)

1

Open the room's MCP settings

Room → Settings → MCP. If you do not see it, you are not an owner or moderator of that room.

2

Press “Generate API Token”

Three fields decide what the token can do:

  • Label — name it for the client, not for the room: Claude Desktop, Cursor, Zendesk bot. You will need to tell them apart when you revoke one.
  • Rate limit — requests per hour, default 60. An interactive assistant rarely needs more; a batch job does.
  • Scopes — knowledge:read is always on. notae:write is optional, owner-only, and every note it posts lands in the moderation queue.
3

Copy the token now

It starts with nsr_ and is shown once. Only a hash is stored, so nobody — including you — can recover it. Lose it and you revoke and create another.

4

Note the endpoint

Every token uses the same URL shape; the token identifies the room and its scopes:

https://notaelibrary.com/api/mcp/rooms/nsr_your_token_here
🤖

Connect an AI app

Every MCP client wants the same two things — the URL and the credential — but the exact file or screen differs by app and version. Two common ones:

Claude Desktop

Recent versions can add a custom remote MCP server from the app's settings. If yours only reads a config file, add an entry under mcpServers using a small bridge. The file is at:

macOS:   ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "moby-dick-room": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://notaelibrary.com/api/mcp/rooms/nsr_your_token_here"
      ]
    }
  }
}

Name it after the room, not “server”. With three rooms connected, the names are the only thing distinguishing them in a menu.

Cursor

Cursor uses .cursor/mcp.json in the project (or a global equivalent). Recent versions accept a remote URL directly:

{
  "mcpServers": {
    "moby-dick-room": {
      "url": "https://notaelibrary.com/api/mcp/rooms/nsr_your_token_here"
    }
  }
}

Anything else

The endpoint speaks MCP's Streamable HTTP transport and answers JSON-RPC. If a client asks for a transport, choose remote HTTP (sometimes called streamable HTTP), not stdio — unless you are using a bridge like mcp-remote.

⚠️Token in the URL vs the header. The room endpoint accepts the token in the path because MCP clients conventionally take a URL. If your client supports a Authorization: Bearer header, prefer it — a token in a URL ends up in logs and screenshots.
🧰

What the AI can actually do

Once connected, the model sees a small, fixed set of tools. It chooses when to call them; you never write the calls yourself.

ToolWhat it doesScope
search_room_knowledgeSearches the room's approved shelf items and returns passages.read
get_room_infoThe room's name, description and shape — context before searching.read
get_entity_graphEntities and relationships the room has recorded.read
get_entity_tasksTasks attached to an entity.read
find_orphan_entitiesEntities with no links — tidy-up candidates.read
find_missing_task_linksTasks not attached to anything.read
generate_onboarding_summaryA summary of the room for a newcomer.read
search_web / get_weather / geocode / get_exchange_rateSmall utility calls, useful alongside room results.read
post_room_notaeWrites a note into the room — quarantined until a moderator approves.write
create_task / complete_taskAdds or closes a task in the room.write

Two resources are also published — room://profile and room://works — for clients that prefer reading a resource over calling a tool.

⚠️Write means “submitted”, not “published”. A write token can post a note, but it lands in the room's moderation queue. Nothing an external tool writes becomes knowledge until a steward approves it.
🏭

Worked example: asking about a book room

A literature room, Moby Dick, holds chapter notes, criticism, and discussion summaries. A reader wants to work on an essay in Claude.

1

Create a read-only token

Label it Claude Desktop, leave the limit at 60/hour, leave notae:write off. Copy the token.

2

Add it to Claude

Add the server as above under the name moby-dick-room, then fully restart the app.

3

Ask a question that needs the room

“Using the Moby Dick room, what do the chapter notes say about how Ishmael's attitude to Queequeg changes?”

Claude calls search_room_knowledge, receives passages, and answers from them — usually naming the shelf item it used.

4

Ask something the room does not cover

“What did the 1956 film change?”

If the shelf has nothing, the honest result is that the tool returns little or nothing. Claude should say it cannot find it rather than inventing an answer — the room is the source of truth, and its gaps are real.

5

Revoke when done

Back on Settings → MCP, press Revoke next to the token. It stops working on the very next request — no waiting for a token to expire.

📥

The other direction: a room that pulls knowledge in

Sometimes the knowledge lives somewhere else — a ticketing system, a status page, a partner's API — and that system already exposes an MCP server. A live data feed lets a room call that server on a schedule and add what it returns to the room's shelf.

Here the room is the client. The external server is the source, and the room keeps a snapshot of its last answer.

Room → Bookshelf → Add work → Live feed

Only a room owner or moderator can add one, because every refresh is charged to the room owner's credits.

FieldWhat it means
LabelBecomes the title of the shelf item, so name it for the knowledge.
MCP server URLHTTPS only, and it must be a public hostname — internal addresses are refused.
API key (optional)Sent as a Bearer token to the external server; encrypted at rest.
ToolDiscover the server's tools and pick one, or type a tool name.
Tool argumentsStatic key/value pairs sent on every call. No per-refresh templating.
Refresh interval1, 6, 12, 24 or 168 hours. The scheduler itself runs hourly.
⚙️

What a live feed does when it runs

When you save it

1

The URL is checked first

HTTPS only, and the host must be public. Loopback, private ranges and cloud metadata addresses are rejected before any request is made.

2

One immediate call

The tool is called straight away. If that call fails, the feed is not created — you find out now rather than at 3am.

3

The answer becomes a shelf item

Text parts of the response are joined into one document and stored on the room's shelf, with the feed configuration attached. Images and binary parts are dropped.

4

It follows the room's approval rule

If the room requires approval, the new item is pending; otherwise it goes live. It is vectorised so it becomes searchable like any other shelf item.

5

The owner is charged

5 credits for the first fetch, from the room owner's personal credits.

On every refresh

1

An hourly sweep finds what is due

Approved, enabled feeds whose next-refresh time has passed, up to 30 per run.

2

Credits are checked before the call

Fewer than 5 credits and the feed is paused, with the reason recorded — not left to run up debt.

3

The schedule advances before the request

So a slow external server cannot cause the same feed to be fetched twice.

4

The content is replaced, then re-indexed

The item's text is overwritten with the new result and vectorised again. The room's AI context is marked stale so it picks the change up.

5

Failures are recorded, not silent

The error is stored on the item and the next attempt happens at the next scheduled slot.

⚠️A pending feed does not refresh. The scheduler only picks up approved items, so in a room that requires approval a newly added feed stays frozen until someone approves it.
⚠️

What to know before you rely on one

1

It is a snapshot, not a history

Each refresh replaces the item's text. If you need every version, the external tool has to return the history itself.

2

One tool, fixed arguments

A feed calls one tool with the arguments you set. Something that needs a different query each run is a job for your own software, not a feed.

3

The cost is personal

Refreshes are charged to the room owner's credits, not to a team balance — even when the room sits in a team's corpus.

4

The external server is trusted with your key

You supply its API key; it is encrypted at rest and decrypted only for the call, but it is still a credential you are handing to a third party you chose.

5

Only public HTTPS endpoints

This protects the platform from being used to probe internal networks. An MCP server on your office LAN cannot be used directly.

ℹ️It becomes normal knowledge. Once the item is approved it behaves like anything else on the shelf: the room's AI can answer from it, MCP clients can search it, and if the room is in a team corpus, the team can use it too.
🛡️

What keeps it safe

1

Read-only by default

The default token can search but not write. Write is a deliberate second checkbox, and only the room owner can tick it.

2

Consent is checked per request

If a room's steward has opted out of sharing, the endpoint refuses with 451 rather than quietly serving a thinner corpus.

3

Only approved, indexed content

Drafts, unapproved notes and deleted items are never returned. The moderation queue is the gate, not a suggestion.

4

Revocation is immediate

A revoked token fails on the next call. Suspicion is enough — revoke, then investigate.

5

Rate limit per token

A sliding hourly window, plus a hard cap of 10 uploads/hour on the write path.

⚠️Home Room is different. A token on a personal Home Room exposes your private shelf and notes. The settings page warns about this explicitly. Use read-only scope, a short-lived token if your client supports expiry, and revoke it when the task is done.
🛠️

When it does not work

The client says 401 / invalid token.

The token is wrong or truncated. Tokens are long; copy from the beginning of nsr_ to the end in one go. If it was already closed once, it cannot be recovered — create a new one.

403, revoked or expired.

The token was revoked (by you or another steward), or the room is inactive. Create a fresh token; revoking is immediate and final.

429, rate limited.

The hourly limit on that token is exhausted. Raise the limit on the token, or wait for the window to roll.

451, export not permitted.

A steward of the room has turned off sharing. That is a consent decision, not a bug — talk to the room's owners.

The server is listed but returns nothing.

The room may have no approved, indexed items yet. Check the shelf: a room full of drafts reads as an empty room.

The client does not list the server at all.

Usually a malformed JSON file (a trailing comma, or the entry outside mcpServers), or the app was not fully restarted. Quit it completely — closing the window is not enough.

A write token cannot post.

Only the room owner can grant notae:write, and the note still needs a moderator to approve it before it becomes readable.

“Insufficient credits” when adding a live feed (402).

The room owner needs at least 5 credits for the first fetch. Top up, then add the feed again.

“Initial MCP call failed” (422).

The server was reachable but the call was not: wrong tool name, an argument it did not accept, or a rejected API key. Run Discover tools against the same URL and key — if the list appears, the connection is fine and the tool call is the problem.

“Server responded but reported no tools.”

The URL is an MCP endpoint but not one that publishes tools. Live feeds can only call tools, so that server cannot be used this way.

A live feed stopped updating.

Three usual causes: it was paused for insufficient credits, its shelf item is still pending approval, or the external call has been failing. The item records the last outcome.

🎯

The mental model, in six lines

  • 1. MCP is a standard plug between an AI app and a source of knowledge.
  • 2. A study room can be that source; the AI app is the client.
  • 3. You connect them with one token (nsr_…) and one URL.
  • 4. Read is the default; write is owner-granted and always moderated.
  • 5. Revoke when you are done — it takes effect immediately.
  • 6. The same protocol runs the other way: a live feed calls another MCP server and adds the result to the shelf.
🚀

Where to go next