Introduction¶
The extension philosophy of DSH is “Everything is a plugin.” In agent development, a common issue is: context is easily lost after a single session ends; if you want to implement long-term memory, you usually need to deploy a memory service yourself and write tool calls in the plugin.
Below is an introduction to dsh-noc-memory. It connects DeepSeek Harness to the user’s self-hosted Noc Memory MCP server, providing tools such as booting at session start, daily briefing, and memory read, search, create, update, etc.
What is it¶
dsh-noc-memory is a DeepSeek Harness plugin used to connect DSH to a user-provided Noc Memory MCP server. The materials use both Noc Memory and Nocturne Memory; this article uses Noc Memory based on the plugin name.
Basic information is as follows:
- Plugin name:
dsh-noc-memory - Maintainer:
RealAlexandreAI - License:
MIT package.jsonversion:0.3.1engines.node:>=20.0.0- Prerequisites: Requires user’s own Noc Memory server; materials mention deploying
cf-noc-memto Cloudflare
It does not solve the problem of “providing a ready-to-use memory bank,” but rather connects DSH’s tool layer to your existing memory backend.
Core Features¶
dsh-noc-memory mainly provides two types of capabilities:
- Long-term memory loading and daily briefing at session start.
- Read, search, create, and update of memory entries.
The corresponding tools are as follows:
| Tool | Purpose |
|---|---|
noc_boot |
Session start loading |
noc_briefing |
Daily briefing |
noc_read |
Read memory |
noc_search |
Search memory |
noc_create |
Create memory |
noc_update |
Update memory |
It supports the following items in configuration:
| Configuration Item | Required | Description |
|---|---|---|
mcp_url |
Yes | Noc Memory MCP server endpoint |
mcp_auth |
No | For example, Bearer <token> |
mcp_headers |
No | Additional request headers, useful for scenarios like Cloudflare Access |
Installation and Enablement¶
First, confirm the runtime environment meets Node >=20.0.0, then install the plugin:
dsh plugin --profile web add dsh-noc-memory
This command is used to add dsh-noc-memory under the web profile.
After installation, you also need to provide the address of your own Noc Memory server. Basic configuration example:
- id: noc-memory
name: dsh-noc-memory
config:
mcp_url: https://mem.example.com/mcp
mcp_auth: Bearer <your token>
You need to fill in a valid mcp_url here. If the server requires a Bearer token, configure mcp_auth as well.
If the server is located behind Cloudflare Access, you can use service token headers instead:
- id: noc-memory
name: dsh-noc-memory
config:
mcp_url: https://your-noc-mem.example.com/mcp
mcp_headers:
CF-Access-Client-Id: <your client id>
CF-Access-Client-Secret: <your client secret>
This configuration is used to append the request headers required by Cloudflare Access in every MCP request.
Typical Usage¶
A practical workflow is:
- Deploy or prepare the Noc Memory server first, and get an accessible MCP endpoint. Materials mention deploying
cf-noc-memto Cloudflare. - Install
dsh-noc-memoryand configuremcp_url. If the server requires authentication, configuremcp_authormcp_headers. - Use memory tools in DSH sessions. At session start, focus on
noc_bootandnoc_briefing; when retrieval or maintenance of memory is needed, usenoc_read,noc_search,noc_create,noc_update.
Applicable Scenarios and Notes¶
dsh-noc-memory is suitable for these situations:
- Want to use long-term memory in DSH but don’t want to bind the memory backend to a fixed service.
- Have deployed or are willing to deploy your own Noc Memory MCP server.
- Want to use unified
noc_*tool names for easy reference in prompts or workflows.
Notes before use:
mcp_urlis a required field.- The plugin runs with the permissions of the current DSH process; it is recommended to check the source code and license before installation.
- If you previously used
dsh-nocturne-memory(≤0.1.x), be aware of the following during upgrade: the plugin name is changed todsh-noc-memory, and tool names are changed fromnocturne_*tonoc_*. You should remove the old plugin, re-add the new package, and update all prompt text that references the old tool names. - The DSH community directory is an independent site with no official affiliation with DeepSeek or Fanqian; it should not be interpreted as an official app store.
Get¶
- GitHub:
https://github.com/RealAlexandreAI/dsh-noc-memory - Directory page link:
https://www.skillhub.cn/plugins/RealAlexandreAI/dsh-noc-memory