Skip to main content
Glama
auuduu

dsh-timem-memory

by auuduu

dsh-timem-memory

TiMEM-Plugin für das DeepSeek Harness (DSH) für Langzeitgedächtnis. Ein Cordis-Eintrag erledigt zwei Dinge:

  1. MCP-Brücke – Verbindet über @deepseek-ai/dsh-mcp-client mit der TiMEM-Cloud-MCP (https://api.timem.cloud/mcp) und registriert 17 Tools unter dem Namen mcp__timem__* für das Modell (4 Gedächtnis, 8 Regeln, 4 Wissensdatenbank, 1 ready);

  2. Gedächtnis-Skill – Registriert 5 integrierte Skills im DSH-Skill-System (Runtime-Ebene, Rang 250), sodass das Modell automatisch den Workflow „Jede Runde zuerst Gedächtnis durchsuchen → arbeiten → Gedächtnis schreiben“ ausführt, ohne dass der Benutzer die S0–S6-Klassifizierung verstehen muss.

Anmeldeinformationen werden über ctx.credentials aufgelöst (TiMEM_API_KEY / TiMEM_USER_ID), Schlüssel werden in keiner Konfigurationsdatei hartcodiert; Änderungen der Anmeldeinformationen lösen ein Ereignis aus, das die MCP-Brücke automatisch neu einhängt, ohne Neustart.

Installation

Voraussetzung: DSH ist installiert, pnpm ist im PATH ( dsh plugin benötigt es).

# 1. 把插件装进目标 profile(任意名字,web / headless / 自定义皆可)
#    GitHub 渠道(当前即可用):
dsh plugin --profile web add git+https://github.com/auuduu/dsh-timem-memory.git
#    npm 官方商店渠道(发布后):
# dsh plugin --profile web add dsh-timem-memory

# 2. 在 <DSH_HOME>/profiles/web/cordis.patch.yml 中插入一条目(保存即热生效)
- insert:
    - id: timem-memory
      name: 'dsh-timem-memory'

Einfache Erklärung der Prinzipien (Was ist das Paket, wo wird es installiert, wie „weckt“ DSH es auf): docs/principles.zh.md

Related MCP server: r3 (Recall)

Anmeldeinformationen konfigurieren

Anmeldeinformationen werden im Anmeldeinformationsspeicher gespeichert (~/.dsh/.credentials.yaml, Berechtigung 0600, kann auf der DSH-Webseite unter Anmeldeinformationen verwaltet werden), oder als Umgebungsvariablen / ~/.dsh/.env (wird beim Start geladen). Beispiel mit .credentials.yaml:

DEEPSEEK_API_KEY: sk-…
TiMEM_API_KEY: sk-…          # https://console.timem.cloud/settings/api-key
TiMEM_USER_ID: usr_…         # TiMEM 控制台个人资料页

Nach dem Schreiben hängt das Plugin die MCP-Brücke automatisch neu ein (ohne DSH neu zu starten). Fehlen die TiMEM-Anmeldeinformationen, überspringt das Plugin nur die Brücke und protokolliert einen Fehler; die Skills werden trotzdem registriert.

Konfigurationsoptionen

Feld

Standardwert

Beschreibung

serverName

timem

MCP-Namespace, der vom Modell gesehene Toolname mcp__<serverName>__<tool>

url

https://api.timem.cloud/mcp

TiMEM-Cloud-MCP-Endpunkt

apiKeyRef

TiMEM_API_KEY

Referenzname des API-Schlüssels in ctx.credentials

userIdRef

TiMEM_USER_ID

Referenzname der Benutzer-ID in ctx.credentials

enableSkills

true

Ob die integrierten Skills registriert werden sollen

skillNames

5 integrierte Skills

Liste der zu registrierenden Skills

toolCallTimeoutMs

60000

Wird an den MCP-Client weitergegeben

failOnStartupError

false

Wird an den MCP-Client weitergegeben

reconnect.*

Client-Standard

Wird an den MCP-Client weitergegeben

Überprüfung

Nach Neustart / Hot-Reload fragen Sie das Modell im Chat „Ist TiMEM verbunden?“ – es ruft mcp__timem__ready auf und bestätigt, dass 17 Tools sichtbar sind; oder gehen Sie zu Einstellungen → Plugins und prüfen Sie den Status des Eintrags timem-memory.

Funktionsweise

  • lib/index.js: Cordis-Plugin-Körper (inject: ['credentials', 'skills']). Bei Aktivierung: ① Anmeldeinformationen auflösen → MCP-Brücke mit ctx.plugin(mcpClient, …) einhängen; ② skills/*/SKILL.md im Paket lesen → mit ctx.skills.register() registrieren (wird automatisch mit dem Kontext zerstört).

  • skills/: 5 Skill-Pakete (DSH-adaptierte Version der offiziellen TiMEM-Skills, Toolnamen nach mcp__timem__* umgeschrieben, mit eigener Verfügbarkeitsprüfung und S3/S0/S6-Klassifizierung).

  • Hot-Reload der Anmeldeinformationen: Hört auf credentials/updated, gibt bei Übereinstimmung mit apiKeyRef / userIdRef die alte Brücke frei und hängt sie mit den neuen Anmeldeinformationen neu ein.

Lizenz

MIT

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    A fully self-hosted MCP server that integrates the Mem0 framework to provide persistent memory capabilities for AI assistants using local models and vector storage. It enables users to store, search, and manage contextual information across conversations through a Docker-based deployment.
    3
    MIT
  • A
    license
    B
    quality
    C
    maintenance
    An intelligent memory MCP server that provides AI applications with semantic search, entity extraction, and knowledge graph capabilities using local Redis caching and optional cloud sync. It enables LLMs to store and retrieve long-term context across sessions with high-performance multi-tier storage.
    12
    11
    2
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    MCP server providing persistent memory and context for AI tools, including semantic memory, knowledge graph, and session history to avoid starting from scratch in every conversation.
    34
    14
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    MCP server that provides AI agents with persistent memory, cross-agent sharing, and context management, enabling them to remember conversations, track complex tasks, and evolve skills across tools.
    2
    MIT

View all related MCP servers

Related MCP Connectors

  • Cloud-hosted MCP server for durable AI memory

  • Your memory, everywhere AI goes. Build knowledge once, access it via MCP anywhere.

  • Persistent memory and cross-session learning for AI coding assistants (hosted remote MCP).

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/auuduu/dsh-timem-memory'

If you have feedback or need assistance with the MCP directory API, please join our Discord server