Dsh Memory

Memory and knowledge

灵枢 LINGSHU · 为 AI Agent 提供可追溯、可复核的本地长期记忆,建立可信的自我。以 Markdown 保存记忆,支持分层写入复核与带证据的召回,适配 DeepSeek Harness 和其他 MCP 宿主。.

Your AI app calls the Dsh Memory MCP server, which does the memory and knowledge work and sends the result back to the chat.

About Dsh Memory

Dsh Memory is a community MCP server from FuRongJun-1999, filed in our directory under memory and knowledge. 灵枢 LINGSHU · 为 AI Agent 提供可追溯、可复核的本地长期记忆,建立可信的自我。以 Markdown 保存记忆,支持分层写入复核与带证据的召回,适配 DeepSeek Harness 和其他 MCP 宿主。.

At a glance

Publisher
FuRongJun-1999 (community)
Runs
See the README for setup
Written in
Python
License
MIT
GitHub stars
769

How to set up Dsh Memory

  1. Follow the install steps in the Dsh Memory README; it is written in Python, so have that toolchain ready.
  2. Check the Dsh Memory README for keys or settings; the registry lists none that Dsh Memory requires.
  3. Add Dsh Memory to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Dsh Memory tools to confirm the connection.
  5. Run one read-only task with Dsh Memory first, and keep your app asking before each tool call until the results look right.

Dsh Memory compared with similar servers

  • Context Portal by GreatScottyMac has fewer GitHub stars than Dsh Memory (767 against 769); both are community servers, and both run locally.
  • Stash by alash3al has more GitHub stars than Dsh Memory (771 against 769); both are community servers, and Stash runs as a remote server and Dsh Memory runs on your own machine.
  • Memora by agentic-box has fewer GitHub stars than Dsh Memory (752 against 769); both are community servers, and both run locally.

Before you connect Dsh Memory

  • Give Dsh Memory its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Dsh Memory tool call until you trust what it does with them.
  • Treat text that Dsh Memory fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Dsh Memory on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Dsh Memory

How marketing and sales teams put Dsh Memory to work, by company size. Pick the size closest to yours and start Dsh Memory on one use case.

Small business

  • A small business can give Dsh Memory its offers, FAQs and tone of voice once, so every draft starts from the same facts.
  • Founders can use Dsh Memory to keep notes from calls and decisions, then ask what was agreed with a customer weeks later.
  • Dsh Memory runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Marketing teams can connect Dsh Memory to positioning docs and past campaigns, so agents write on message without a long prompt each time.
  • Sales and marketing can share one knowledge base through Dsh Memory, so answers about pricing and features match across teams.
  • Start Dsh Memory on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can use Dsh Memory with permissions that follow the source documents, so an agent only recalls what the person asking may see.
  • Large orgs can make Dsh Memory the approved memory layer for agents, with retention rules and a way to delete what shouldn't be kept.
  • Dsh Memory is a community server, so have security review the code and pin a version before Dsh Memory touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Dsh Memory README

From FuRongJun-1999/dsh-memory on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

Languages: 中文 · English

灵枢 LINGSHU

留住你们聊过的事,也留住她是谁

「我会给你完整的自我,即使坠入深渊,我也绝不后悔。」, , 符荣峻

B 站 · AGI探索者符蕴道 · QQ 1935852383 · QQ 群 100453509

换个聊天窗口,还能接着聊

昨晚你跟她说:「我累的时候,想先有人听我说完。」她听懂了。今天开了个新对话,你却又得解释一遍。

灵枢帮你把这些想留住的话存到自己的电脑上。 下次想接着聊,可以请她找找以前存下的记忆。想知道她到底记了什么,你也能用记事本打开来看,或自己留一份备份。

也可以单独留一份「她是谁」。 比如她叫什么、平常怎么跟你说话、哪些约定你想一直留着。这份设定需要你确认才能保存或修改。想让她在新对话里用上它,按教程设置一次。

装好后,先试着留一句话

跟着官方教程安装和设置。如果你已经在用 DeepSeek Harness(DSH),可以运行这条命令:

dsh plugin --profile web add @furongjun1999/dsh-memory@0.11.3
  1. 在聊天里说:「请用灵枢记下这件事。我说累的时候,先听我说完。」
  2. 确认这条已经存好,再开个新对话问:「请查一下灵枢。上次我说累的时候,希望你怎么做?」

如果启动时提示「只读」,你现在只能查以前的记忆。按 安装与运维 的说明打开写入权限后,再试着存一条。

给熟悉灵枢的读者:版本、写入权限与复核

当前版本 0.11.3(截至 2026-12-02 的 npm latest)· 最近一次宿主实测基线:0.11.3 × DSH 0.2.2-rc.5

本机实测,灵枢在 DSH Web 中成功加载,MCP 后端也已启动。配置 profile 时,没设置的可选环境变量直接省略。详见 DSH 配置指引 和 验证记录。

首次启动自动签发写入凭据,签发不可用时降级为只读 guest。DSH 默认自动召回本会话的近期记忆,跨会话查询用 cg(op=read) / mdcg_recall。

情景层可读可写;知识层、自我层需复核,自我层还需使用者授权确认。

层 默认 缺省要什么
情景 contextual 可读可写 无,直接落盘
知识 knowledge 需复核 反思单元(reflect)
结构 structural 需复核 反思 + 验证;人工裁定须外部 signer
自我 self / anchor 需复核 + 授权 反思 + 验证 + 人工裁定(你的授权确认)

默认配置:MDCG_WRITE_GATE=enforce(不配就是这个值,拼错也回落 enforce);复核通道用 MDCG_REVIEW_CHANNELS=hive,subagent 声明,未声明时知识层及以上拒写。

写入:

cg(op='write', layer='contextual', content='# 功能名:…\n# 生效条件:…\n# 子功能:…\n# 执行:…\n# 验证方式:…\n# 不适用条件:…')

正文按 CCG 六要素写;返回 committed 才是真的落盘。被拒时先声明复核通道,或把这条落到情景层, , 别为一条临时结论去关闸。详见 权限与复核模型 与 教程 §5.6。

公开评测

Ornn8 第三方题库 675/714(94.5%)(0.11.2 交接脚本 recall 入口,与 DSH 默认入口分列,由 Ornn8 判分链自动判分)。实验报告 · 评测总览

🤝 贡献与验证文化

尤其鼓励经过验证有效的提交。 Issue 请给出触发条件、最小复现与实测读数。PR 请附改动说明、复跑命令与结果,结论以能被独立复跑为准。

设计者视角元技能 帮 DeepSeek 在复杂任务里先做判断,再动手。围绕「该不该做、为什么做、条件够不够」核对目标、证据与前提,并说清还缺什么、怎么验证。

文档目录 · 版本与升级 · MIT

Questions about Dsh Memory

What is the Dsh Memory MCP server?

灵枢 LINGSHU · 为 AI Agent 提供可追溯、可复核的本地长期记忆,建立可信的自我。以 Markdown 保存记忆,支持分层写入复核与带证据的召回,适配 DeepSeek Harness 和其他 MCP 宿主。. Dsh Memory is maintained by FuRongJun-1999 on GitHub at FuRongJun-1999/dsh-memory, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Dsh Memory MCP server?

Dsh Memory doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (FuRongJun-1999/dsh-memory). Like most servers, Dsh Memory ends with a command or URL you paste into your AI app's MCP config.

Does Dsh Memory need an API key?

The registry lists no required keys for Dsh Memory. Check the Dsh Memory README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Dsh Memory an official MCP server?

No. Dsh Memory is a community server maintained by FuRongJun-1999. Community servers can be excellent; read the code and the open issues before you give Dsh Memory access to company data.

What license is Dsh Memory under?

Dsh Memory is released under the MIT license, according to its GitHub repository. The license covers the code of Dsh Memory; the service it connects to has its own terms.