codebase-analyzer-mcp 2.1.1 → 2.1.2

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.
@@ -6,13 +6,13 @@
6
6
  },
7
7
  "metadata": {
8
8
  "description": "Multi-layer codebase analysis tools",
9
- "version": "2.1.1"
9
+ "version": "2.1.2"
10
10
  },
11
11
  "plugins": [
12
12
  {
13
13
  "name": "codebase-analyzer",
14
14
  "description": "Multi-layer codebase analysis with Gemini AI. 4 agents, 1 command, 1 skill for architecture analysis, pattern detection, and dataflow tracing.",
15
- "version": "2.1.1",
15
+ "version": "2.1.2",
16
16
  "author": {
17
17
  "name": "Jake Correa",
18
18
  "url": "https://github.com/jaykaycodes"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codebase-analyzer",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "description": "Multi-layer codebase analysis with Gemini AI. 4 agents, 1 command, 1 skill for architecture analysis, pattern detection, and dataflow tracing.",
5
5
  "author": {
6
6
  "name": "Jake Correa",
@@ -20,11 +20,13 @@
20
20
  "mcpServers": {
21
21
  "codebase-analyzer": {
22
22
  "type": "stdio",
23
- "command": "npx",
23
+ "command": "node",
24
24
  "args": [
25
- "-y",
26
- "codebase-analyzer-mcp"
27
- ]
25
+ "${CLAUDE_PLUGIN_ROOT}/dist/mcp/server.js"
26
+ ],
27
+ "env": {
28
+ "GEMINI_API_KEY": "${GEMINI_API_KEY}"
29
+ }
28
30
  }
29
31
  }
30
32
  }
package/README.md CHANGED
@@ -5,34 +5,28 @@
5
5
 
6
6
  Analyze any codebase with Gemini AI. Progressive disclosure keeps costs low - start with free structural analysis, drill into semantic details only when needed.
7
7
 
8
- ## Quick Start
8
+ ## Install
9
9
 
10
- ### Claude Code Plugin
10
+ ### Option 1: Claude Code Plugin (recommended)
11
11
 
12
12
  ```bash
13
- claude /plugin install https://github.com/jaykaycodes/codebase-analyzer-mcp
13
+ claude /plugin install jaykaycodes/codebase-analyzer-mcp
14
14
  ```
15
15
 
16
- Then use `/cba:analyze` to analyze a codebase, or just ask questions naturally.
16
+ This gives you MCP tools + agents + the `/cba:analyze` command. Just ask questions naturally.
17
17
 
18
- ### MCP Server
18
+ **Gemini API key (optional):** Enables semantic analysis, pattern detection, and dataflow tracing. Without it, you still get structural analysis.
19
19
 
20
- Add to `~/.mcp.json` (create if it doesn't exist):
21
-
22
- ```json
23
- {
24
- "mcpServers": {
25
- "codebase-analyzer": {
26
- "command": "npx",
27
- "args": ["-y", "codebase-analyzer-mcp"]
28
- }
29
- }
30
- }
20
+ ```bash
21
+ mkdir -p ~/.config/codebase-analyzer
22
+ echo '{"geminiApiKey":"YOUR_KEY"}' > ~/.config/codebase-analyzer/config.json
31
23
  ```
32
24
 
33
- Restart Claude Code, then use the `analyze_repo` or `query_repo` tools.
25
+ Get a free key at https://aistudio.google.com/apikey
26
+
27
+ ### Option 2: Standalone MCP Server
34
28
 
35
- **Optional:** For semantic analysis with Gemini AI, get an API key at https://aistudio.google.com/apikey and add it:
29
+ Add to `~/.mcp.json`:
36
30
 
37
31
  ```json
38
32
  {
@@ -41,14 +35,16 @@ Restart Claude Code, then use the `analyze_repo` or `query_repo` tools.
41
35
  "command": "npx",
42
36
  "args": ["-y", "codebase-analyzer-mcp"],
43
37
  "env": {
44
- "GEMINI_API_KEY": "your_api_key"
38
+ "GEMINI_API_KEY": "your_key_here"
45
39
  }
46
40
  }
47
41
  }
48
42
  }
49
43
  ```
50
44
 
51
- ### CLI
45
+ Restart Claude Code, then use `analyze_repo`, `query_repo`, etc.
46
+
47
+ ### Option 3: CLI
52
48
 
53
49
  ```bash
54
50
  npx codebase-analyzer-mcp analyze . # Standard analysis
@@ -81,7 +77,7 @@ Analysis results include expandable sections - you only pay for what you drill i
81
77
  | `trace_dataflow` | Trace data flow through the system |
82
78
  | `get_analysis_capabilities` | List supported languages and analysis options |
83
79
 
84
- ## Plugin
80
+ ## Plugin Components
85
81
 
86
82
  ### Command
87
83
 
@@ -98,18 +94,7 @@ Analysis results include expandable sections - you only pay for what you drill i
98
94
  | `dataflow-tracer` | Data flow tracing through systems |
99
95
  | `codebase-explorer` | Quick exploration and Q&A |
100
96
 
101
- Agents are routed automatically based on your question — just ask naturally.
102
-
103
- ---
104
-
105
- ## Alternative Installation
106
-
107
- ### Global Install
108
-
109
- ```bash
110
- npm install -g codebase-analyzer-mcp
111
- # Then use: cba analyze .
112
- ```
97
+ Agents are routed automatically based on your question.
113
98
 
114
99
  ## Development
115
100
 
@@ -117,9 +102,21 @@ npm install -g codebase-analyzer-mcp
117
102
  git clone https://github.com/jaykaycodes/codebase-analyzer-mcp.git
118
103
  cd codebase-analyzer-mcp
119
104
  bun install
105
+ bun run build # Build dist/
120
106
  bun run dev # Watch mode
121
- bun run build # Build
122
- bun run cba analyze . # Test CLI
107
+ ```
108
+
109
+ For local MCP testing, create `.mcp.json` at repo root:
110
+
111
+ ```json
112
+ {
113
+ "mcpServers": {
114
+ "codebase-analyzer": {
115
+ "command": "node",
116
+ "args": ["dist/mcp/server.js"]
117
+ }
118
+ }
119
+ }
123
120
  ```
124
121
 
125
122
  ## License
package/dist/cli/index.js CHANGED
@@ -44251,7 +44251,7 @@ var package_default;
44251
44251
  var init_package = __esm(() => {
44252
44252
  package_default = {
44253
44253
  name: "codebase-analyzer-mcp",
44254
- version: "2.1.1",
44254
+ version: "2.1.2",
44255
44255
  description: "Multi-layer codebase analysis with Gemini AI. MCP server + Claude plugin with progressive disclosure.",
44256
44256
  type: "module",
44257
44257
  main: "dist/mcp/server.js",
@@ -71136,7 +71136,7 @@ function buildFallbackAnswer(question, analysisId, cached2, scored, fileContents
71136
71136
  // package.json
71137
71137
  var package_default = {
71138
71138
  name: "codebase-analyzer-mcp",
71139
- version: "2.1.1",
71139
+ version: "2.1.2",
71140
71140
  description: "Multi-layer codebase analysis with Gemini AI. MCP server + Claude plugin with progressive disclosure.",
71141
71141
  type: "module",
71142
71142
  main: "dist/mcp/server.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codebase-analyzer-mcp",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "description": "Multi-layer codebase analysis with Gemini AI. MCP server + Claude plugin with progressive disclosure.",
5
5
  "type": "module",
6
6
  "main": "dist/mcp/server.js",