memos-mcp-server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@memos-mcp-server remember that the build script requires Node 18"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
memos-mcp-server
A small Python MCP server that bridges any MCP-compatible IDE (VS Code, Cursor, Claude Code) to a local MemOS instance, so notes you take in your editor land in the same knowledge base your AI agents read from.
Designed for the Animus Systems / Paperclip stack, where MemOS is already running in Docker and serving as the shared knowledge layer for ~50 Paperclip agents. Until now, knowledge written in human IDE sessions and knowledge written by agents lived in different worlds. This server closes that loop with one config line.
Why
Sequence of events from a real Paperclip session:
You tell Claude/Copilot in VS Code: "the accounts rename routine uses spaces around all dashes and 3-letter currency codes"
That fact is captured nowhere persistent — when the session ends, it's gone
Two days later your bookkeeping agent runs the routine, doesn't know the convention, gets it wrong, and you have to type the same explanation into a Paperclip issue description
With this MCP server, step 1 stores the fact into MemOS via memos_remember. The Paperclip agent-memory plugin's pre-run hook auto-injects the same MemOS scope into every agent run. The bookkeeping agent picks up the convention on its next heartbeat, no plugin changes required.
Related MCP server: AgentMemory Offline
Tools
Tool | What it does |
| Store a memory. Auto-redacts credentials before sending. |
| Search MemOS, return ranked results with metadata. |
| Recent memories (default last 24 h), optional source filter. |
A startup health check pings MemOS once and logs the result; tool errors are returned cleanly when MemOS is unreachable rather than crashing the server.
How it integrates with Paperclip
The default config writes to MemOS scope user_id = kb-{companyId} — the same scope the Paperclip agent-memory plugin uses for its KB entries. This is the scope the OpenRouter adapter's pre-run hook queries when it builds the "## RELEVANT CONTEXT FROM PREVIOUS RUNS" block injected into every agent run.
So a memory you write from VS Code is, with zero plugin changes, automatically available to every Paperclip agent's next run. Bidirectional human ↔ agent memory.
If you don't want this — e.g. you want personal notes that Paperclip agents can't see — change MEMOS_USER_ID in the env block to something like seth-personal.
Install (macOS)
git clone https://github.com/mchosc/memos-mcp-server.git ~/Documents/GitHub/animusystems/memos-mcp-server
cd ~/Documents/GitHub/animusystems/memos-mcp-server
bash install.shThen open ~/Library/Application Support/Code/User/mcp.json and add the entry from vscode-mcp.snippet.json under the servers object. Reload VS Code (Cmd+Shift+P → "Developer: Reload Window").
The server will auto-start the next time you open the Chat panel and use any MCP tool. Verify it's connected by asking: "What MCP tools do you have?"
Configuration
All config is read from environment variables, which you set in the VS Code mcp.json env block:
Env var | Default | Purpose |
|
| MemOS HTTP base URL |
| Animus Group UUID | Paperclip companyId — used as MemOS cube |
|
| MemOS user_id scope (default: shared with agent KB) |
|
| Author tag stamped on every entry |
|
| Origin tag (e.g. |
|
| HTTP request timeout |
A note on MemOS consolidation
MemOS stores raw entries via /product/add but its internal pipeline runs an LLM (Mistral Small 3.2 in the Animus deployment) to consolidate raw entries into "evolving knowledge objects" — paraphrased, deduplicated versions of related memories. Searches return both the raw entries and the consolidated ones, and the consolidated ones often outrank the raw because they're cleaner.
Practical implication: the inline [source: human] / [author: seth] / [category: note] tags this MCP server adds to your content may not survive consolidation. The semantic content is preserved (your decisions, conventions, and notes still appear in search results), but the structured metadata block can be paraphrased away.
When that happens, search results display (consolidated) instead of the raw tag values. The only_human=True filter in memos_search only works for entries that still carry the raw tags — useful when you've just stored something, less useful weeks later when consolidation has run.
If you want guaranteed verbatim recall of personal notes, set MEMOS_USER_ID to a separate scope (e.g. seth-personal-raw) and skip the shared KB scope. That trade-off costs you the bidirectional human↔agent visibility.
Sanitizer
memos_remember runs the content through a regex sanitizer (sanitizer.py) before storing. Patterns currently covered:
Credit card numbers (Visa / MC / Amex / Discover)
IBAN
US SSN
PEM private keys
AWS access keys / secret keys
Generic API keys (
sk-,sk-or-v1-,sk-ant-, GitHub PATsghp_*/gho_*, GitLabglpat-, Slackxox[bps]-)Bearer tokens
Connection strings with embedded creds (postgres / mysql / mongodb / redis / amqp / smtp)
JWT tokens
Password / token assignments (
password=...,api_key: ..., etc.)
These are ported from paperclip-plugin-agent-memory/src/worker/sanitizer.ts. If new patterns get added there, port them here too — the README documents what's covered.
When something is redacted, the tool's response includes a note like "sanitized: 1x api_key" so you know it happened.
Usage examples
From any MCP client connected to this server, just ask:
"Remember that we set autoDecompose to false on the Animus Group task-triage plugin to stop routine fires from being decomposed into stuck-blocked subtasks."
The model calls memos_remember(content="...", category="decision", project="paperclip", tags=["task-triage", "routines"]). Done.
A week later from a fresh session:
"Why did we disable autoDecompose on task-triage?"
The model calls memos_search(query="autoDecompose task-triage") and gets the original decision back, verbatim, with the date and reason.
Troubleshooting
MemOS unreachable at http://localhost:8000
Docker stack isn't running. cd ~/Documents/paperclip-data && ./restart.sh or docker compose up -d memos.
Tools don't appear in VS Code chat
Check the mcp.json was saved with valid JSON (
jq < ~/Library/Application\ Support/Code/User/mcp.json)Reload VS Code (
Cmd+Shift+P → "Developer: Reload Window")Open the Chat panel → MCP servers panel; you should see
memoslistedIf it shows as failed, run the server manually to see the error:
/Users/seth/Documents/GitHub/animusystems/memos-mcp-server/.venv/bin/python3 /Users/seth/Documents/GitHub/animusystems/memos-mcp-server/server.py(it will block on stdin — that's fine, you just want to see startup logs on stderr)
Memories aren't showing up in agent runs
The shared kb-{companyId} scope is only auto-injected by the Paperclip agent-memory plugin's pre-run hook. Check:
The plugin is loaded:
docker logs paperclip-data-server-1 2>&1 | grep agent-memoryYour memory has the right
cube_id(matches the agent's companyId)The relevance ranking — MemOS is semantic, so unrelated queries won't surface your note. Try a
memos_searchwith a similar query first to confirm it's findable.
I want personal notes that agents can't see
Change MEMOS_USER_ID in your mcp.json env block from kb-... to something like seth-personal. The server will use that scope instead, and agent runs (which still query kb-...) won't see those entries.
License
MIT
Available Tools
3 toolsmemos_recentA
List recent memories from the last N hours.
Useful for "what was I working on yesterday?". Searches with a wildcard query then sorts client-side by stored_at timestamp.
Args: hours: How many hours back to look (default 24). source: Optional filter on the [source: ...] tag, e.g. "human".
Inputs: hours, source. Returns: result
memos_rememberA
Store a memory in MemOS, visible to both human and Paperclip agent searches.
The content is sanitized (credentials, API keys, tokens, JWTs etc. are redacted) before being stored. Use this to capture decisions, conventions, debugging insights, or anything you want to recall later — or want your Paperclip agents to know about on their next run.
Args: content: The text to remember. Will be auto-sanitized for credentials. category: One of decision, learning, fact, preference, note, convention. project: Optional project tag, e.g. "paperclip", "accounts", "memos". tags: Optional free-form tag list.
Inputs: content (required), category, project, tags. Returns: result
memos_searchA
Search MemOS for memories matching a query.
Returns the top matches as a markdown list with score, source, category, project, and content excerpt. Searches the same scope that Paperclip agents read from, so results include both human notes and any agent KB entries (completed issues, executive briefs, indexed documents).
Args: query: Natural language query, e.g. "rename routine convention". top_k: Maximum number of results to return (default 5, max 25). only_human: If True, filter results to entries with [source: human]. Use this when you specifically want notes Seth wrote, not agent runs.
Inputs: query (required), top_k, only_human. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool serves a clear, distinct purpose: storing memories, retrieving recent ones, and searching by query. No overlap exists between the three operations.
All tools follow a consistent 'memos_<verb>' pattern (remember, recent, search), making the naming predictable and easy to understand.
With 3 tools, the count is slightly on the low side but appropriate for a focused memory server. It covers the core operations without unnecessary bloat.
The tool set lacks update and delete operations, which are notable gaps for a complete memory management system. However, the retrieval and creation tools are well-implemented.
Maintenance
Related MCP Connectors
Markdown-based note-taking with a hosted MCP server. Your notes serve you and your AI.
Persistent memory, knowledge graph, task management and more for AI agents via MCP.
Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.
Read and write your Fresh Jots notes from Claude, Cursor, and any MCP client.
Related MCP Servers
- AlicenseCqualityDmaintenanceMCP server for sharing source-backed engineering memory across AI coding clients like Cursor and VS Code.301MIT
- AlicenseNot gradedqualityDmaintenanceProvides local, project-aware memory for coding agents via MCP tools, lifecycle hooks, and a REST service, with no outbound network access.Apache 2.0

mind-elixir-mcpofficial
AlicenseNot gradedqualityCmaintenanceBridges stdio-only MCP clients to the Mind Elixir Desktop app, enabling AI assistants to create, inspect, edit, and annotate mind maps in real time.57 npm1MIT- AlicenseNot gradedqualityBmaintenanceEnables MCP-compatible AI coding tools to store and recall persistent memories across sessions and projects, with keyword and semantic search backed by a local SQLite database.709 npm75Apache 2.0