troytse/dsh-plugin-codegraph-project
Project-scoped CodeGraph for DSH: one CodeGraph MCP server per project root, shared by every session in that project and visible only where a real index exists.
Solves CodeGraph's single working-directory limitation by answering "which project?" per session instead of globally. Each session's own workspace directory is resolved upward to the first .codegraph/ holding a database, using the same rule as the CodeGraph CLI; one server runs per project root and is reference-counted across every session in it, so two sessions in one repository share a process and two repositories get one each. A session may only call the tools once its project has a real index - otherwise the call is refused with a reason that includes the init command - and indexing a project mid-session injects the tools into the running session within seconds, without a restart. Processes are launched through the harness's managed-subprocess service, so closing a session releases its share and harness shutdown terminates the rest.
Install
dsh plugin --profile web add dsh-plugin-codegraph-projectCopied verbatim from the README's "from npm" CLI line. package dsh-plugin-codegraph-project, registry latest 0.1.5, and its repository field resolves back to github.com/troytse/dsh-plugin-codegraph-project. The README notes that the desktop profile is managed exclusively by the Electron app, so desktop users install through the app's own Plugins page by pasting the same package name.
Compatibility
The README documents the DSH tooling the bundle expects and says the CodeGraph version is chosen in the row configuration and can be overridden in DSH settings. The MCP server itself is launched through npx, so a warm npx cache or network access is needed the first time.
Details
- Repo: troytse/dsh-plugin-codegraph-project
- Category: Coding & Development
- Stars: 1
- Version: 1 star, JavaScript, MIT, created 2026-09-21; install source is npm (dsh-plugin-codegraph-project, latest 0.1.5, registry repository field resolves back to this repo); English README with a README.zh.md translation.
Alternatives
YYTbit/dsh-plugin-code-review · Gordonynh/dsh-plugin-codex-import · YYTbit/dsh-plugin-codex-bridge