Persistent memory for AI agents. Remember, recall, and explore a shared knowledge graph.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Model Context Protocol server for SharedMemory. Gives Claude Code, Claude Desktop, Cursor, VS Code Copilot, and other MCP-compatible tools persistent memory.
The fastest way to set up SharedMemory β one command, no JSON editing:
Supported clients: --claude-code, --claude, --cursor, --vscode, --windsurf, --all
If you prefer to edit config files yourself:
One command:
Or with env vars:
Or create .mcp.json in your project root to share with your team:
Tip: Copy the included
CLAUDE.mdinto your project root to teach Claude Code when and how to use SharedMemory proactively.
~/Library/Application Support/Claude/claude_desktop_config.json:
.cursor/mcp.json in your project root:
.vscode/mcp.json:
~/.codeium/windsurf/mcp_config.json:
| Variable | Required | Default | Description |
|---|---|---|---|
SHAREDMEMORY_API_KEY | Yes | β | Agent API key |
SHAREDMEMORY_API_URL | No | https://api.sharedmemory.ai | API endpoint |
SHAREDMEMORY_VOLUME_ID | No | β | Default volume |
| Tool | Description |
|---|---|
remember | Store a fact or note |
query | Retrieve context BEFORE answering β semantic search over memories |
get_entity | Get entity details and relationships |
search_entities | Search entities by name |
get_graph | Knowledge graph overview |
list_volumes | List accessible volumes |
delete_memory | Delete a memory by ID |
update_memory | Update a memory by ID |
feedback | Submit feedback on memory relevance |
batch_remember | Store multiple memories at once |
get_memory | Retrieve a specific memory by ID |
get_profile | Auto-generated user profile from memories |
get_context | Get a context block for LLM prompting |
set_instruction | Store a persistent rule all agents will follow |
list_instructions | List all active instructions for a volume |
list_documents | List uploaded documents |
| URI | Description |
|---|---|
memory://graph | Knowledge graph for the default volume |
| Name | Description |
|---|---|
summarize-knowledge | Summarize all knowledge in a volume |
what-do-you-know-about | Retrieve everything known about a topic |
https://docs.sharedmemory.ai/sdks/mcp-server
MIT
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/memory-8)<a href="https://allmcps.com/mcp/memory-8"><img src="https://allmcps.com/api/badge/memory-8?style=directory" alt="Memory on AllMCPs" /></a>