Markdown memory for coding agents that audits itself: drift reports and session digests.
memory MCP Server
Published by sharedmemoryaiPersistent memory for AI agents. Remember, recall, and explore a shared knowledge graph.
- CATEGORY
- More to explore
- DEPLOYMENT
- Local package
- LATEST SOURCE VERSION
- 2.1.1
- SOURCE CHECKED
- Nov 30, 2026
Quick answers
How do I add memory MCP Server to Claude Code, Cursor or Codex?
Claude CodeCommand
Run this in your terminal:
claude mcp add --env 'SHAREDMEMORY_API_KEY=<your-sharedmemory-api-key>' --transport stdio memory -- npx -y @sharedmemory/mcp-serverReplace the <your-…> placeholder with your own SHAREDMEMORY_API_KEY.
CursorConfig
Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:
{
"mcpServers": {
"memory": {
"command": "npx",
"args": [
"-y",
"@sharedmemory/mcp-server"
],
"env": {
"SHAREDMEMORY_API_KEY": "<your-sharedmemory-api-key>"
}
}
}
}Replace the <your-…> placeholder with your own SHAREDMEMORY_API_KEY.
CodexCommand
Run this in your terminal:
codex mcp add memory --env 'SHAREDMEMORY_API_KEY=<your-sharedmemory-api-key>' -- npx -y @sharedmemory/mcp-serverReplace the <your-…> placeholder with your own SHAREDMEMORY_API_KEY.
VS CodeConfig
Add this to .mcp.json at the root of your workspace:
{
"mcpServers": {
"memory": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@sharedmemory/mcp-server"
],
"env": {
"SHAREDMEMORY_API_KEY": "<your-sharedmemory-api-key>"
}
}
}
}Replace the <your-…> placeholder with your own SHAREDMEMORY_API_KEY.
Claude DesktopConfig
Add this to claude_desktop_config.json, then restart Claude:
{
"mcpServers": {
"memory": {
"command": "npx",
"args": [
"-y",
"@sharedmemory/mcp-server"
],
"env": {
"SHAREDMEMORY_API_KEY": "<your-sharedmemory-api-key>"
}
}
}
}Replace the <your-…> placeholder with your own SHAREDMEMORY_API_KEY.
ChatGPTNot available
ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.
ChatGPT setup guideWhich apps can use memory MCP Server?
Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.
Does memory MCP Server need an API key?
To run it on your computer, set SHAREDMEMORY_API_KEY first, with values from the publisher.
Is memory MCP Server official?
It's published by sharedmemoryai. The Official MCP Registry accepts names under io.github.sharedmemoryai only from the GitHub account or organisation sharedmemoryai. We last checked its listing on Nov 30, 2026. A listing shows where a server comes from; it isn't a security review.
Published packages
npm · @sharedmemory/mcp-server@2.1.1