@ashkand/code-graph-mcp 0.2.2 → 0.3.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
@@ -44,7 +44,56 @@ files in milliseconds with two pure-JS dependencies.
44
44
 
45
45
  ## Install
46
46
 
47
- ### Fastest: let the CLI configure your client
47
+ ### Claude Code: install as a plugin (recommended)
48
+
49
+ Two commands inside any Claude Code session — no config files:
50
+
51
+ ```
52
+ /plugin marketplace add dorkian/code-graph-mcp
53
+ /plugin install code-graph@code-graph-mcp
54
+ ```
55
+
56
+ The plugin bundles the MCP server (starts automatically, indexing whatever
57
+ project you're in) **and** the skill that teaches Claude to query the graph
58
+ instead of grepping. Update later with `/plugin update`, remove with
59
+ `/plugin uninstall` — nothing to hand-edit. When Claude Code asks you to
60
+ approve the plugin's MCP server on first use, that's the standard trust gate
61
+ for plugin-declared servers.
62
+
63
+ #### Same thing from the terminal (no session needed)
64
+
65
+ Every `/plugin` command is also a `claude plugin` CLI command, so the install
66
+ is scriptable — dotfiles, onboarding scripts, CI:
67
+
68
+ ```bash
69
+ claude plugin marketplace add dorkian/code-graph-mcp
70
+ claude plugin install code-graph@code-graph-mcp
71
+ ```
72
+
73
+ Pick where it lands with `--scope`:
74
+
75
+ ```bash
76
+ claude plugin install code-graph@code-graph-mcp # user: all your projects (default)
77
+ claude plugin install code-graph@code-graph-mcp --scope project # this repo, shared with the team via VCS
78
+ claude plugin install code-graph@code-graph-mcp --scope local # this repo, just you
79
+ ```
80
+
81
+ Verify and manage:
82
+
83
+ ```bash
84
+ claude plugin list # installed plugins + status
85
+ claude plugin marketplace list # registered marketplaces
86
+ claude plugin marketplace update code-graph-mcp # pull latest catalog
87
+ claude plugin update code-graph # update the plugin itself
88
+ claude plugin disable code-graph # keep installed, turn off
89
+ claude plugin uninstall code-graph # remove
90
+ ```
91
+
92
+ Inside a session, `/mcp` should list the `code-graph` server and `/plugin`
93
+ opens the manager UI. If `claude plugin` prints "unknown command", update
94
+ Claude Code first (`claude --version` to check).
95
+
96
+ ### Or: let the CLI configure your client
48
97
 
49
98
  ```bash
50
99
  # Claude Code — writes .mcp.json AND installs the companion skill
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ashkand/code-graph-mcp",
3
- "version": "0.2.2",
3
+ "version": "0.3.1",
4
4
  "description": "Local code-intelligence MCP server: index a mono-repo into a knowledge graph (routes, components, API calls, backend handlers) and answer structural questions in a fraction of the tokens.",
5
5
  "type": "module",
6
6
  "bin": {
package/src/server.js CHANGED
@@ -25,7 +25,7 @@ function loadOrIndex(repoRoot) {
25
25
  }
26
26
 
27
27
  export function buildServer(ref) {
28
- const server = new McpServer({ name: "code-graph-mcp", version: "0.2.2" });
28
+ const server = new McpServer({ name: "code-graph-mcp", version: "0.3.1" });
29
29
  const text = (s) => ({ content: [{ type: "text", text: s }] });
30
30
 
31
31
  server.registerTool("repo_summary", {