imembr

connect an agent.

New to this? Start here. MCP is a standard way to let an AI assistant use an app on your behalf. Once connected, you can talk to your assistant (Claude Code, Claude Desktop, Cursor) and it saves to and searches your imembr library for you. You do not need to know anything else about MCP.

$ what you will be able to say

  • "Save this article: https://… and tag it reading-list."
  • "I saw a great thread on X about vector search. Here is what it said: … Save it as a note."
  • "What do I have about pgvector?"
  • "What did I save last week?"

1. make a token (your key)

A token proves to imembr that the assistant is you. Sign in, click the gear (settings), open api tokens, give it a name like “claude code” and press create. Copy it right away: it starts with imn_ and is shown only once. Lost it? Revoke it and make another.

The dialog then shows the commands below with your token already filled in, so you can copy them from there instead.

2. tell your assistant where imembr lives

The address of the imembr server is below. Your assistant needs it plus your token. Pick the app you use:

server address
https://link-binder.web.app/api/v1/mcp

Claude Code

Open a terminal (the same one you run claude in), paste this, and replace imn_YOURTOKEN with your token:

terminal
claude mcp add --transport http imembr https://link-binder.web.app/api/v1/mcp \
  --header "Authorization: Bearer imn_YOURTOKEN"

Then start claude and type /mcp. You should see imembr listed as connected.

Claude Desktop

Open Settings, then Developer, then Edit Config. Add this to the file that opens, save, and restart the app. It needs Node.js installed, because it uses a small bridge called mcp-remote.

claude_desktop_config.json
{ "mcpServers": { "imembr": {
  "command": "npx",
  "args": ["mcp-remote", "https://link-binder.web.app/api/v1/mcp",
           "--header", "Authorization: Bearer imn_YOURTOKEN"] } } }

Cursor and other apps

Anything that reads an mcpServers config (a .mcp.json file) takes this:

.mcp.json
{ "mcpServers": { "imembr": {
  "type": "http",
  "url": "https://link-binder.web.app/api/v1/mcp",
  "headers": { "Authorization": "Bearer imn_YOURTOKEN" } } } }

3. try it

Ask your assistant: “what do I have in imembr?” or save something. If it says it cannot find imembr, check that the token was pasted whole and that you restarted the app.

$ ls ~/mcp/tools

Your assistant picks these on its own; you never call them by hand.

  • save_bookmark

    save a link; title, image and summary fill in in the background

  • create_note

    save text you wrote — the reliable path for X/Twitter or anything a scraper cannot read

  • search_notes

    semantic search over your library

  • get_note

    read one note or bookmark in full

  • get_related

    the nearest neighbors of an item

  • list_recent

    what you saved most recently

$ cat ~/mcp/is-it-safe

A token can reach the MCP endpoint and nothing else: not the REST API, not export, not delete, so a leaked token cannot destroy or copy your library. It only ever sees its owner’s notes, and content marked :secret[] is redacted from what the assistant sees. It can still read and add to your library, so keep it private, and revoke it from the same dialog if it leaks.