Credentials. 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.
Who it is forA developer who uses Claude Code, Cursor, or Codex daily and repeats project context in every new session.
The problemEach coding agent starts blank, so preferences and project decisions must be re-explained for every tool.
The outcomeThe coding agent can save, search, and update memories in the same local library that DSH uses, through the memory_save and memory_search tools.
What you need first
- 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
Steps
- Install the plugin and open the web interface:
dsh plugin --profile web add @modusensus/dsh-mnemethendsh 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
Prompt for your agent
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.
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.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for slow-stack/mneme and "Give Claude Code or Cursor a shared memory via MCP"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer