DeepSeek Harness plugin

mtmdsh

Optional DeepSeek Harness bundle for codebase-memory-mcp

Jump to install

Source facts

Repository
codeh007/mtmdsh
Latest update
Aug 18, 2026
Category
Tools & Capabilities
GitHub stars
0
Format
plugin
Package path
packages/mtm-codebase-memory
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
packages/mtm-codebase-memory/package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/codeh007/mtmdsh/tree/HEAD/packages/mtm-codebase-memory
Plugin: mtmdsh
Author: codeh007

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer2 files
README.mdSource · read only

mtm-codebase-memory

Optional DeepSeek Harness profile bundle for the local codebase-memory-mcp server.

What it provides

This package adds one profile patch row for DSH's official @deepseek-ai/dsh-mcp-client bridge. The bridge starts the codebase-memory-mcp executable over stdio and exposes its discovered tools under the stable mcp__codebase_memory__* namespace.

The package does not include or install the native server. Indexes, cache files, daemon processes, and project selection remain owned by codebase-memory-mcp.

Prerequisites

  • Node.js 22.19 or newer.
  • An installed DSH web profile with the official MCP client available.
  • The codebase-memory-mcp executable available on PATH.

The local integration was checked with codebase-memory-mcp 0.8.1 and the DSH release line installed on the development host. Keep the DSH core packages on one release line when publishing or deploying this bundle.

Install

After publishing the package:

~~~sh dsh plugin --profile web add mtm-codebase-memory ~~~

For a local checkout, install the package directory instead:

~~~sh dsh plugin --profile web add /path/to/mtmdsh/packages/mtm-codebase-memory ~~~

The bundle is profile-wide by design. Once installed, every agent preset in the profile can see the MCP tools. A new DSH host/session is required after changing the profile composition; existing sessions keep their composition.

First use

The server does not auto-index a workspace. In a new DSH session:

1. Call mcp__codebase_memory__list_projects or mcp__codebase_memory__index_status. 2. If the workspace is not indexed, call mcp__codebase_memory__index_repository with its absolute repo_path. 3. Use search_graph before trace_path when the exact symbol name is unknown. 4. Use get_code_snippet only after discovering the qualified symbol.

The model-facing names are generated from serverName: codebase_memory; do not change that namespace casually because it changes the visible tool names.

Configuration

The shipped row uses these defaults:

  • transport: stdio
  • command: codebase-memory-mcp
  • working directory: DSH's process working directory
  • extra environment: empty
  • startup failure: the official client default

To constrain indexing, add a later row with the same id in the profile's cordis.patch.yml and restate the complete MCP client configuration. Patch layers replace a row's whole config rather than deep-merging it. For example, set the server-owned CBM_ALLOWED_ROOT explicitly for a known workspace:

~~~yaml

  • insert:

- id: mtm-codebase-memory name: '@deepseek-ai/dsh-mcp-client' config: serverName: codebase_memory transport: stdio command: codebase-memory-mcp args: [] cwd: !!js process.cwd() env: CBM_ALLOWED_ROOT: !!js process.env.CBM_ALLOWED_ROOT ?? process.cwd() ~~~

Do not put credentials in this patch. DSH scrubs credential-shaped ambient variables before spawning stdio MCP children and merges only the explicit variables in config.env.

Verify

Inspect the composed profile without booting it:

~~~sh dsh --profile web --dump-config ~~~

Look for a layer named mtm-codebase-memory and the @deepseek-ai/dsh-mcp-client row. Then verify indexing and a structural query from two fresh sessions in the same profile.

Scope

This bundle targets local DSH stdio use. A Cloudflare Worker deployment needs a separate authenticated remote MCP service and tenant-aware repository/cache isolation; the native executable is not bundled into a Worker.