Cairn.ink Memory MCP server
ink.cairn · Updated
Cross-session memory for AI agents with a Source Receipt for every memory, over MCP.
At a glance
Cairn.ink Memory is an MCP server in the AI & Memory category. It is hosted remotely and connects over HTTP, and needs Authorization. It scores A (80/100) on the MCP Skills Hub health score as of Oct 28, 2026.
One-click install
Opens your editor and pre-fills the config. Your editor will ask before adding it.
How to install Cairn.ink Memory in your AI client
Setup for Claude Code, Claude Desktop, Cursor, Codex, Windsurf, Cline and VS Code — copy-paste ready.
How to install Cairn.ink Memory in Claude CodeAnthropic's agentic CLI
Add the server
bashclaude mcp add --transport http memory https://cairn.ink/api/mcp --header 'Authorization: Bearer <YOUR_TOKEN>'Fill in your credentials
Replace Bearer <YOUR_TOKEN> with your real value. Keep secrets out of any config file you commit.
Verify it's connected
bashclaude mcp listSharing it with your team?
Add `--scope project` to write it to .mcp.json in the repository root, which you can commit (with the secrets left as environment variables).
Use it in a session
Ask Claude to use the tools this server exposes. It discovers them automatically.
How to install Cairn.ink Memory in Claude DesktopDesktop app (MCP config)
Open your MCP config
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json · Windows: %APPDATA%\Claude\claude_desktop_config.json
Add this server
json{ "mcpServers": { "memory": { "command": "npx", "args": [ "-y", "mcp-remote", "https://cairn.ink/api/mcp", "--header", "Authorization:${AUTH_HEADER}" ], "env": { "AUTH_HEADER": "Bearer <YOUR_TOKEN>" } } } }Fill in your credentials
Replace Bearer <YOUR_TOKEN> with your real value. Keep secrets out of any config file you commit.
Why the wrapper?
This is a remote (HTTP) server and Claude Desktop only launches local processes, so mcp-remote proxies the connection. It will open a browser window if the server needs OAuth.
Restart Claude Desktop
The tools appear under the 🔌 menu once the app reloads.
How to install Cairn.ink Memory in CursorAI-first code editor
Create / edit .cursor/mcp.json in your project
json{ "mcpServers": { "memory": { "url": "https://cairn.ink/api/mcp", "headers": { "Authorization": "Bearer <YOUR_TOKEN>" } } } }Fill in your credentials
Replace Bearer <YOUR_TOKEN> with your real value. Keep secrets out of any config file you commit.
Enable it
Cursor Settings → MCP → toggle the server on. Tools become available to the Composer/Agent.
How to install Cairn.ink Memory in Codex CLIOpenAI coding agent
Add to ~/.codex/config.toml
toml[mcp_servers.memory] command = "npx" args = ["-y", "mcp-remote", "https://cairn.ink/api/mcp", "--header", "Authorization:${AUTH_HEADER}"] env = { AUTH_HEADER = "Bearer <YOUR_TOKEN>" }Fill in your credentials
Replace Bearer <YOUR_TOKEN> with your real value. Keep secrets out of any config file you commit.
Why the wrapper?
Codex runs MCP servers as local processes, so mcp-remote bridges this HTTP endpoint to stdio.
Run Codex
Codex loads MCP servers from config.toml on startup and exposes their tools to the agent.
How to install Cairn.ink Memory in WindsurfCodeium's agentic IDE
Edit ~/.codeium/windsurf/mcp_config.json
json{ "mcpServers": { "memory": { "serverUrl": "https://cairn.ink/api/mcp", "headers": { "Authorization": "Bearer <YOUR_TOKEN>" } } } }Fill in your credentials
Replace Bearer <YOUR_TOKEN> with your real value. Keep secrets out of any config file you commit.
Reload
Windsurf → Cascade → refresh MCP servers. Cascade can now call the tools.
How to install Cairn.ink Memory in ClineVS Code autonomous agent
Open Cline → MCP Servers → Configure
Adds to cline_mcp_settings.json.
Add the server
json{ "mcpServers": { "memory": { "type": "streamableHttp", "url": "https://cairn.ink/api/mcp", "headers": { "Authorization": "Bearer <YOUR_TOKEN>" } } } }Fill in your credentials
Replace Bearer <YOUR_TOKEN> with your real value. Keep secrets out of any config file you commit.
How to install Cairn.ink Memory in VS CodeCopilot / MCP support
Create .vscode/mcp.json
json{ "servers": { "memory": { "type": "http", "url": "https://cairn.ink/api/mcp", "headers": { "Authorization": "Bearer <YOUR_TOKEN>" } } } }Fill in your credentials
Replace Bearer <YOUR_TOKEN> with your real value. Keep secrets out of any config file you commit.
Start it
VS Code shows a ▶ Start action above the server entry. Agent mode (Copilot Chat) can then use the tools.
What does Cairn.ink Memory need from you?
OAuth or bearer token — Optional. Bearer <personal access token> from https://cairn.ink/settings/tokens. Clients that support OAuth discover authentication automatically and can omit this header.
AuthorizationoptionalsecretHTTP headerOptional. Bearer <personal access token> from https://cairn.ink/settings/tokens. Clients that support OAuth discover authentication automatically and can omit this header.
What tools does Cairn.ink Memory expose?
This server requires credentials before it will list its tools, so we cannot enumerate them here. Connect it in your client to see what it offers.
What the code can do
This is a remote server — nothing is installed or run on your machine, so there is no local code to analyze. What it can reach is described above: your requests go to the provider's host.
Before you install
Signals gathered from the source repo and package registry — not a safety verdict.
What it can reach
- Third-party hosted service — Your requests and any data in them are sent to cairn.ink.
- No local execution — Nothing is installed or run on your machine.
- Last commit today — Actively maintained.
- Repository created 1 month ago — Very new project with little track record yet.
- 31 GitHub stars — Community adoption signal.
Client compatibility
Health score
A · 80Maintenance, adoption, transparency and packaging — not a safety audit. How this is calculated
- Maintenance30%100%
Last commit 0 days ago.
- Adoption20%46%
31 stars.
- Transparency20%75%
3/4: ✓ public source repo, ✓ declared license, ✓ documentation, ✗ discoverable tool list.
- Provenance15%75%
Links to its own repository; package linkage unverified.
- Packaging15%100%
Remote endpoint with documented authentication.
Documentation
Full READMECairn Memory
<strong>Keep important context between AI sessions. Change it when things change.</strong>
English · 繁體中文
See an example · Where to start · Local setup · Hosted setup · Limitations · Privacy
Starting a new AI session often means repeating your preferences and project decisions. Cairn provides memory tools to save that context between sessions, inspect the submitted text behind each memory, and update it when things change.
A preference changes
Suppose you save “Keep my reports short.” Later, you decide you need detailed reports. You can inspect the old memory and its source text, correct the saved preference, or forget it so it is no longer available for active recall.
This is an illustrated explicit-tool example, not a chat-client screenshot. The local preview uses tools to save, inspect, correct and forget; it does not automatically read your conversations.
- Inspect the source. Read the source text stored with a memory. A receipt
does not prove that the memory is true or correctly interpreted.
- Correct what changed. Update the memory at the revision you inspected.
- Forget what should go. Remove a memory from active recall.
Deletion and backup boundaries apply.
A Source Receipt is the submitted text attached to a memory. It helps you check what was supplied when the memory was saved or corrected. It is not a verified transcript of the whole conversation or proof of human intent.
Cairn Memory and Cairn
Excerpt — the full document is on GitHub.
Alternatives to Cairn.ink Memory
- hmem — Humanlike Memory for AI AgentsA · 85Persistent 5-level hierarchical memory for AI agents. SQLite-backed, lazy-loaded.
- Cathedral — Persistent Memory for AI AgentsB · 73Persistent memory and drift detection for AI agents across session restarts.
- ReasonGraph Cloud memoryB · 75Graph memory for AI agents: entities, cause-effect links, cross-session recall, time travel.
- nlqdb — analytical memory for AI agentsB · 70Analytical memory for AI agents: a real Postgres queried in plain English over MCP. One command.
Maintain Cairn.ink Memory? Add a badge to your README
Shows its health grade, and links readers to install steps for every client.
[](https://mcp-skills-hub.vercel.app/mcps/ink-cairn-memory)Catalog data refreshed . Something wrong? Report it.