dsh-codebase-memory-mcp: A Codebase Knowledge-Graph MCP Bridge Plugin for DeepSeek Harness
princeofdream/dsh-codebase-memory-mcp
A DSH plugin that bridges the local codebase-memory-mcp knowledge-graph MCP server into DeepSeek Harness, reusing the built-in MCP client to expose 14 mcp__codebase-memory__* tools, with status and restart support.
dsh-codebase-memory-mcp is a plugin built for DeepSeek Harness that seamlessly bridges the local codebase-memory-mcp knowledge-graph MCP server into DSH, reusing the built-in MCP client bridge so you don't implement transport yourself. Once installed, the model can directly call 14 mcp__codebase-memory__* tools to index, search, trace, and detect changes in your codebase. It also provides status monitoring and restart tools, flexible configuration with hot reload, making codebase knowledge-graph capabilities available out of the box in DSH.
How to Install
dsh plugin --profile <your-profile> add github:princeofdream/dsh-codebase-memory-mcpReplace --profile with the profile name you actually run (see ls ~/.dsh/profiles/): usually web in the browser UI, desktop or desktop-NNN in the desktop app.
- Category
- Tools & Capabilities
- Platform
- DSH Plugin
- Author
- princeofdream
- Distribution
- Plugin
dsh-codebase-memory-mcp Key Features
dsh-codebase-memory-mcp Repo Summary
What Does It Do?
dsh-codebase-memory-mcp is a DSH plugin for DeepSeek Harness that bridges the local codebase-memory-mcp knowledge-graph MCP server into DSH, reusing the built-in MCP client bridge so you don't implement MCP transport yourself. It solves the problem of using codebase knowledge-graph tools directly inside the harness, letting the model access 14 tools named mcp__codebase-memory__* for indexing, searching, tracing, and more. Maintained by princeofdream under the MIT license, it was last updated in 2026-08.
Core Features
- Bridges the MCP server: automatically connects codebase-memory-mcp to DSH, exposing tools like
index_repository,search_graph,trace_path,query_graph, anddetect_changes. - Status monitoring: provides the
codebase_memory_statustool to report bridge state (idle/connecting/ready/error/disabled), live tool count, and last error. - Bridge restart: provides the
codebase_memory_restarttool to dispose and relaunch the bridge from current settings. - Flexible configuration: supports settings like
exePath,cwd,extraArgs,env, andenabledunder thecodebase-memory-mcpnamespace, with default auto-lookup on PATH. - Hot reload: saving settings hot-reloads the bridge without restarting DSH.
How to Use This Plugin?
After enabling the plugin in DSH, the model will see the mcp__codebase-memory__* tools. If not, call codebase_memory_status to check the state; if it's error, verify the exePath setting. If the server binary isn't on PATH, set the absolute path in the codebase-memory-mcp settings namespace. After changing config, call codebase_memory_restart to restart the bridge, or save settings to trigger hot reload. To verify, ask the model to run codebase_memory_status; if state is ready and tool count is greater than 0, the bridge is bound successfully.
This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: princeofdream/dsh-codebase-memory-mcp. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.
DSH Plugin FAQ
