dsh-timem-memory
dsh-timem-memory
TiMEM 長期記憶のための DeepSeek Harness(DSH)プラグイン。 1 つの cordis エントリで 2 つのことを行います:
MCP ブリッジ ——
@deepseek-ai/dsh-mcp-clientを介して TiMEM クラウド MCP (https://api.timem.cloud/mcp)に接続し、17 個のツールをmcp__timem__*という名前でモデルに登録 (記憶 4 個、ルール 8 個、ナレッジベース 4 個、ready1 個);記憶スキル —— 5 個の組み込みスキルを DSH スキルシステム(ランタイムレイヤー、rank 250)に登録し、 モデルが自動的に「毎ターンまず記憶を検索 → 作業 → 記憶を書き込む」というワークフローを実行できるようにします。ユーザーが S0–S6 の階層を理解する必要はありません。
認証情報は ctx.credentials で解析します(TiMEM_API_KEY / TiMEM_USER_ID)。設定ファイルにキーをハードコードすることはありません。認証情報が変更されると、イベントがトリガーされて MCP ブリッジが自動的に再マウントされ、再起動は不要です。
インストール
前提条件:DSH がインストールされており、pnpm が PATH に存在すること(dsh plugin が依存)。
# 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'初心者向けの原理説明(パッケージとは何か、インストール先、DSH がどのように「起動」するか): docs/principles.ja.md(※原文は
docs/principles.zh.md、日本語版は必要に応じて作成)
Related MCP server: r3 (Recall)
認証情報の設定
認証情報は認証情報ストア(~/.dsh/.credentials.yaml、パーミッション 0600、DSH ウェブ画面の認証情報ページで管理可能)か、環境変数 / ~/.dsh/.env(起動時に読み込み)に保存します。.credentials.yaml の例:
DEEPSEEK_API_KEY: sk-…
TiMEM_API_KEY: sk-… # https://console.timem.cloud/settings/api-key
TiMEM_USER_ID: usr_… # TiMEM 控制台个人资料页書き込み後、プラグインは自動的に MCP ブリッジを再マウントします(DSH の再起動は不要)。TiMEM の認証情報がない場合、プラグインはブリッジをスキップしてエラーログを記録するだけですが、スキルは登録されます。
設定項目
フィールド | デフォルト値 | 説明 |
|
| MCP 名前空間。モデルに表示されるツール名は |
|
| TiMEM クラウド MCP エンドポイント |
|
|
|
|
|
|
|
| 組み込みスキルを登録するかどうか |
| 5 個の組み込みスキル | 登録するスキルのリスト |
| 60000 | MCP クライアントにそのまま渡す |
| false | MCP クライアントにそのまま渡す |
| クライアントデフォルト | MCP クライアントにそのまま渡す |
検証
再起動 / ホットリロード後、会話の中で「TiMEM 接続できた?」とモデルに尋ねると、mcp__timem__ready を呼び出して 17 個のツールが利用可能であることを確認します。または、設定 → プラグインページで timem-memory エントリのステータスを確認できます。
動作原理
lib/index.js:cordis プラグイン本体(inject: ['credentials', 'skills'])。 アクティブ化時:① 認証情報を解析 →ctx.plugin(mcpClient, …)で MCP ブリッジをマウント; ② パッケージ内のskills/*/SKILL.mdを読み込み →ctx.skills.register()で登録(コンテキストに応じて自動破棄)。skills/:5 個のスキルパッケージ(TiMEM 公式スキルの DSH 対応版、ツール名はmcp__timem__*に書き換え、可用性チェックと S3/S0/S6 階層を内蔵)。認証情報のホットアップデート:
credentials/updatedイベントをリッスンし、apiKeyRef/userIdRefに一致する場合、古いブリッジを解放し、新しい認証情報で再マウントします。
ライセンス
MIT
This server cannot be installed
Maintenance
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
- Alicense-qualityDmaintenanceA 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.3MIT
- AlicenseBqualityCmaintenanceAn 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.12112MIT
- AlicenseAqualityAmaintenanceMCP 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.3414MIT
- Alicense-qualityCmaintenanceMCP 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.2MIT
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).
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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