depgraph-core 1.8.0 → 1.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -311,18 +311,18 @@ DepGraph ships an **MCP server** (`depgraph-mcp`) that lets Claude analyze your
311
311
 
312
312
  ### Quick setup
313
313
 
314
- **1. Build the MCP server**
314
+ **If the package is published to npm** (zero-install, always up to date):
315
315
  ```bash
316
- npm install
317
- npm run release:all # compiles + bundles both CLI and MCP server
316
+ claude mcp add depgraph -- npx -p depgraph-core depgraph-mcp
318
317
  ```
319
318
 
320
- **2. Register with Claude Code** (run once)
319
+ **If running from a local build** (clone the repo first):
321
320
  ```bash
322
- claude mcp add depgraph -- node /absolute/path/to/depgraph/depgraph-mcp.js
321
+ npm install && npm run release:all
322
+ npm run mcp:register
323
323
  ```
324
324
 
325
- **3. Use it** — open Claude Code in any project and ask naturally:
325
+ **Then use it** — open Claude Code in any project and ask naturally:
326
326
  ```
327
327
  Summarize the dependency graph of /Users/me/my-app
328
328
  What is the risk of changing getUserById in /Users/me/my-app?