{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "slow-stack-mneme--give-coding-agents-shared-memory-via-mcp",
 "repo": "slow-stack/mneme",
 "repo_url": "https://github.com/slow-stack/mneme",
 "repo_slug": "slow-stack-mneme",
 "title": "Give Claude Code or Cursor a shared memory via MCP",
 "page_title": "How to give Claude Code or Cursor a shared memory via MCP with Mneme",
 "summary": "Mount the six memory tools from the Mneme MCP server so coding agents read and write the same memory store.",
 "who": "A developer who uses Claude Code, Cursor, or Codex daily and repeats project context in every new session.",
 "problem": "Each coding agent starts blank, so preferences and project decisions must be re-explained for every tool.",
 "outcome": "The coding agent can save, search, and update memories in the same local library that DSH uses, through the memory_save and memory_search tools.",
 "steps": [
  "Install the plugin and open the web interface: `dsh plugin --profile web add @modusensus/dsh-mneme` then `dsh web`",
  "In DSH, open 设置 → 外部访问 API and generate a token",
  "Install the MCP package globally: `npm i -g mneme-memory` (inferred, check the README)",
  "In your project root, create .mcp.json with {\"mcpServers\": {\"mneme-memory\": {\"command\": \"mneme-mcp\", \"env\": {\"MNEME_TOKEN\": \"<your-token>\"}}}}",
  "Restart Claude Code or Cursor and confirm the memory_save, memory_search, memory_list, memory_get, memory_update, and memory_delete tools are listed"
 ],
 "agent_prompt": "In the dsh-mneme repo, use the mneme-memory MCP server to call memory_save with the text '<fact about the target project>', then call memory_search for '<keyword>'. Expected output: the new memory id and its text returned by search. Verify that memory_get on that id returns the same text.",
 "agents": [
  "claude-code",
  "cursor",
  "codex"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The MCP data path goes through the plugin's API on 127.0.0.1:8790, so DSH must be running with the plugin installed for the tools to work.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "javascript",
 "requirements": [
  "DeepSeek Harness (DSH) installed, with the dsh command available",
  "Node.js and npm for the MCP server and the standalone daemon",
  "Access to the DSH settings panel to generate an external access token"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "The MNEME_TOKEN value grants read and write access to your memory library, so keep it out of shared repositories and committed .mcp.json files."
  }
 ],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/slow-stack-mneme/give-coding-agents-shared-memory-via-mcp/",
 "md": "https://dedupedai.com/use-cases/slow-stack-mneme/give-coding-agents-shared-memory-via-mcp/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/slow-stack-mneme--give-coding-agents-shared-memory-via-mcp.json",
 "api_version": "v1"
}
