Skip to main content
You need Node.js 22 or newer and npm 10 or newer, as required by the package. Run project commands from the repository you want to index.

Install the CLI

Enable the current project and register supported MCP hosts:
enable installs the agent skill and project hooks, writes .gsd-graph/config.json, and runs a full sync of the discovered corpus. It mirrors settings into .planning/config.json only when that file already exists. Use gsd-graph enable --skip-sync to install the integration without building the graph. See MCP setup for host registration and restart steps.

Run without a global install

Use the scoped package name so npx resolves the binary:
For reproducible automation, pin a release rather than resolving the latest package on each run.

Use the library

Install a project dependency when application code imports the Node.js API:
The package includes TypeScript declarations. A local installation also makes npx gsd-graph available in that project.

Update

Continue with the quickstart.