
Memory
Gives Claude and other MCP clients persistent memory backed by a shared knowledge graph. Exposes tools like `remember` to store facts, `query` for semantic search before answering, and `get_entity` to navigate relationships. You can batch insert memories, set persistent instructions that apply across all agents, and pull auto-generated user profiles. Ships with a one-line installer that configures Claude Code, Cursor, VS Code Copilot, or Windsurf without touching JSON. Useful when you need context to survive across sessions or want multiple agents working from the same knowledge base instead of starting from scratch every time.
- tools
- 16
- auth
- Secret needed
- transport
- STDIO
- env vars
- 3
- last updated
- Apr 22, 2026
Tools
16 toolsPublic tool metadata for what this MCP can expose to an agent.
rememberStore a fact or note
Store a fact or note
No parameter schema in public metadata yet.
queryRetrieve context BEFORE answering — semantic search over memories
Retrieve context BEFORE answering — semantic search over memories
No parameter schema in public metadata yet.
get_entityGet entity details and relationships
Get entity details and relationships
No parameter schema in public metadata yet.
search_entitiesSearch entities by name
Search entities by name
No parameter schema in public metadata yet.
get_graphKnowledge graph overview
Knowledge graph overview
No parameter schema in public metadata yet.
list_volumesList accessible volumes
List accessible volumes
No parameter schema in public metadata yet.
delete_memoryDelete a memory by ID
Delete a memory by ID
No parameter schema in public metadata yet.
update_memoryUpdate a memory by ID
Update a memory by ID
No parameter schema in public metadata yet.
feedbackSubmit feedback on memory relevance
Submit feedback on memory relevance
No parameter schema in public metadata yet.
batch_rememberStore multiple memories at once
Store multiple memories at once
No parameter schema in public metadata yet.
get_memoryRetrieve a specific memory by ID
Retrieve a specific memory by ID
No parameter schema in public metadata yet.
get_profileAuto-generated user profile from memories
Auto-generated user profile from memories
No parameter schema in public metadata yet.
get_contextGet a context block for LLM prompting
Get a context block for LLM prompting
No parameter schema in public metadata yet.
set_instructionStore a persistent rule all agents will follow
Store a persistent rule all agents will follow
No parameter schema in public metadata yet.
list_instructionsList all active instructions for a volume
List all active instructions for a volume
No parameter schema in public metadata yet.
list_documentsList uploaded documents
List uploaded documents
No parameter schema in public metadata yet.
Sponsors
Configuration
SHAREDMEMORY_API_KEY*secretYour SharedMemory API key
SHAREDMEMORY_API_URLAPI endpoint URL
SHAREDMEMORY_VOLUME_IDDefault volume/project ID
Readme
@sharedmemory/mcp-server
Model Context Protocol server for SharedMemory. Gives Claude Code, Claude Desktop, Cursor, VS Code Copilot, and other MCP-compatible tools persistent memory.
Quick Install (Recommended)
The fastest way to set up SharedMemory — one command, no JSON editing:
# Interactive — picks your client, asks for your API key
npx -y @sharedmemory/mcp-server install
# Or specify everything inline
npx -y @sharedmemory/mcp-server install --cursor --api-key sm_live_... --volume your-volume-id
# Install for all supported clients at once
npx -y @sharedmemory/mcp-server install --all --api-key sm_live_...
Supported clients: --claude-code, --claude, --cursor, --vscode, --windsurf, --all
Manual Setup
If you prefer to edit config files yourself:
Claude Code
One command:
claude mcp add sharedmemory -- npx -y @sharedmemory/mcp-server
Or with env vars:
claude mcp add --env SHAREDMEMORY_API_KEY=sm_live_... \
--env SHAREDMEMORY_VOLUME_ID=your-volume-id \
sharedmemory -- npx -y @sharedmemory/mcp-server
Details
- Repository
- github.com/sharedmemoryai/mcp-server
- Categories
- AI & LLM Tools, Documents & Knowledge, Productivity & Office
- Package
@sharedmemory/mcp-server- Transport
- STDIO
- Auth
- Required
- Registry
- MCP registry, active