Dsh Codebase Memory MCP
MCP server by LoveDoLove Verified · npm:@lovedolove
Adds knowledge-graph code search, snippets, architecture summaries and call-path tracing to DeepSeek Harness. It wraps the codebase-memory-mcp executable and starts its daemon on first use.
Install Dsh Codebase Memory MCP
Built from the published package, never by AI.
claude mcp add dsh-codebase-memory-mcp -- npx -y @lovedolove/dsh-codebase-memory-mcpRun in your terminal. Add --scope user to use it in every project.
Step-by-step: install Dsh Codebase Memory MCP in Claude Code
{
"mcpServers": {
"dsh-codebase-memory-mcp": {
"args": [
"-y",
"@lovedolove/dsh-codebase-memory-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install Dsh Codebase Memory MCP in Claude Desktop
{
"mcpServers": {
"dsh-codebase-memory-mcp": {
"args": [
"-y",
"@lovedolove/dsh-codebase-memory-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"dsh-codebase-memory-mcp": {
"args": [
"-y",
"@lovedolove/dsh-codebase-memory-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add dsh-codebase-memory-mcp -- npx -y @lovedolove/dsh-codebase-memory-mcp{
"mcpServers": {
"dsh-codebase-memory-mcp": {
"args": [
"-y",
"@lovedolove/dsh-codebase-memory-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install Dsh Codebase Memory MCP in Antigravity CLI
gemini mcp add dsh-codebase-memory-mcp npx -y @lovedolove/dsh-codebase-memory-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the dsh-codebase-memory-mcp block.
About
Dsh Codebase Memory MCP is a bridge plugin and library for DeepSeek Harness (DSH). It registers six knowledge-graph code tools that let the assistant search symbols, read source snippets, summarize directory architecture, trace call paths and run text searches over indexed code. The plugin relies on the upstream codebase-memory-mcp executable for indexing and queries.
The plugin starts the codebase-memory-mcp daemon lazily, on the first tool call or the /cbm command, using stdio JSON-RPC. The daemon serves a graph visualization Web UI at localhost port 9749. The /cbm slash command reports the executable path, the UI link and indexed projects. The package also ships an agent skill and a system prompt policy that guides the model toward the graph tools.
Written from the project's README and checked against it.
Tools it gives your assistant
cbm_projectsList all projects indexed in the daemon.cbm_searchSearch the knowledge graph for symbols or files.cbm_snippetFetch the exact source snippet of a symbol.cbm_archArchitectural summary of a directory (components, entry points, dependencies).cbm_traceTrace inbound/outbound call paths through the graph.cbm_search_codeFast textual regex search over indexed files.
What you need
- DeepSeek Harness >=0.1.2-rc.1 <0.3.0-0
- Node.js >=18 <25
- codebase-memory-mcp executable
Try asking
- Who calls the login function in this codebase?
- Give me an architecture overview of the src directory.
- Find all symbols matching auth in the indexed project.
Good to know
- Indexing is not exposed as a cbm_* tool; the DSH plugin is query-only.
- The executable must be installed, and the profile must be reloaded after installing it.
- cbm_snippet ignores end_line and cbm_arch ignores depth in the current bridge.
- Tool results are text, with no pagination or freshness metadata.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Dsh Codebase Memory MCP
All alternatives →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
Compare with GitDiagram, mockserver or XcodeBuildMCP
Dsh Codebase Memory MCP: common questions
Does it work without the codebase-memory-mcp executable?
The plugin loads without it, but queries need the executable. Without it, tool calls return a degraded result and /cbm prints an install hint.
Where is the graph visualization UI?
The daemon runs with --ui=true and serves the UI at http://localhost:9749/ by default. The DSH plugin uses that port.
Can I build or refresh an index from the plugin?
No. Indexing is not exposed as a cbm_* tool. The source says to use the library API or the upstream CLI to build or refresh an index.
How do I install Dsh Codebase Memory MCP?
In Claude Code run claude mcp add dsh-codebase-memory-mcp -- npx -y @lovedolove/dsh-codebase-memory-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Dsh Codebase Memory MCP the official server?
Dsh Codebase Memory MCP is published by npm:@lovedolove from its verified domain in the official MCP Registry.
Is Dsh Codebase Memory MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Dsh Codebase Memory MCP safe to use?
It scores 79 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Dsh Codebase Memory MCP?
Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.
Does Dsh Codebase Memory MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
