@j0hanz/code-assistant 0.9.0 → 0.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.
Files changed (2) hide show
  1. package/README.md +21 -21
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  <!-- mcp-name: io.github.j0hanz/code-assistant -->
4
4
 
5
- [![npm](https://img.shields.io/npm/v/%40j0hanz%2Fcode-assistant-mcp?style=flat-square&logo=npm&logoColor=white&color=CB3837)](https://www.npmjs.com/package/@j0hanz/code-assistant-mcp) [![Node.js](https://img.shields.io/badge/Node.js-%3E%3D24-339933?style=flat-square&logo=nodedotjs&logoColor=white)](package.json) [![TypeScript](https://img.shields.io/badge/TypeScript-5.9%2B-3178C6?style=flat-square&logo=typescript&logoColor=white)](package.json) [![MCP SDK](https://img.shields.io/badge/MCP_SDK-1.26%2B-6f42c1?style=flat-square)](package.json) [![License](https://img.shields.io/badge/License-MIT-blue?style=flat-square)](package.json)
5
+ [![npm](https://img.shields.io/npm/v/%40j0hanz%2Fcode-assistant?style=flat-square&logo=npm&logoColor=white&color=CB3837)](https://www.npmjs.com/package/@j0hanz/code-assistant) [![Node.js](https://img.shields.io/badge/Node.js-%3E%3D24-339933?style=flat-square&logo=nodedotjs&logoColor=white)](package.json) [![TypeScript](https://img.shields.io/badge/TypeScript-5.9%2B-3178C6?style=flat-square&logo=typescript&logoColor=white)](package.json) [![MCP SDK](https://img.shields.io/badge/MCP_SDK-1.26%2B-6f42c1?style=flat-square)](package.json) [![License](https://img.shields.io/badge/License-MIT-blue?style=flat-square)](package.json)
6
6
 
7
- [![Install in VS Code](https://img.shields.io/badge/VS_Code-Install_Server-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=Code+Assistant&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40j0hanz%2Fcode-assistant-mcp%40latest%22%5D%7D) [![Install in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Install_Server-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=Code+Assistant&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40j0hanz%2Fcode-assistant-mcp%40latest%22%5D%7D&quality=insiders) [![Install in Visual Studio](https://img.shields.io/badge/Visual_Studio-Install_Server-C16FDE?logo=visualstudio&logoColor=white)](https://vs-open.link/mcp-install?%7B%22name%22%3A%22code-assistant%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40j0hanz%2Fcode-assistant-mcp%40latest%22%5D%7D)
7
+ [![Install in VS Code](https://img.shields.io/badge/VS_Code-Install_Server-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=Code+Assistant&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40j0hanz%2Fcode-assistant%40latest%22%5D%7D) [![Install in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Install_Server-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=Code+Assistant&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40j0hanz%2Fcode-assistant%40latest%22%5D%7D&quality=insiders) [![Install in Visual Studio](https://img.shields.io/badge/Visual_Studio-Install_Server-C16FDE?logo=visualstudio&logoColor=white)](https://vs-open.link/mcp-install?%7B%22name%22%3A%22code-assistant%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40j0hanz%2Fcode-assistant%40latest%22%5D%7D)
8
8
 
9
- [![Install in Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en/install-mcp?name=code-assistant&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBqMGhhbnovY29kZS1hc3Npc3RhbnQtbWNwQGxhdGVzdCJdfQ==)
9
+ [![Install in Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en/install-mcp?name=code-assistant&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBqMGhhbnovY29kZS1hc3Npc3RhbnRAbGF0ZXN0Il19)
10
10
 
11
11
  Gemini-powered MCP server for code analysis with structured outputs for findings, risk assessment, and focused patch suggestions.
12
12
 
@@ -36,7 +36,7 @@ This server accepts unified diffs and returns structured JSON results — findin
36
36
  "mcpServers": {
37
37
  "code-assistant": {
38
38
  "command": "npx",
39
- "args": ["-y", "@j0hanz/code-assistant-mcp@latest"],
39
+ "args": ["-y", "@j0hanz/code-assistant@latest"],
40
40
  "env": {
41
41
  "GEMINI_API_KEY": "YOUR_API_KEY"
42
42
  }
@@ -50,7 +50,7 @@ This server accepts unified diffs and returns structured JSON results — findin
50
50
  <details>
51
51
  <summary><b>VS Code / VS Code Insiders</b></summary>
52
52
 
53
- [![Install in VS Code](https://img.shields.io/badge/VS_Code-Install_Server-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=Code+Assistant&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40j0hanz%2Fcode-assistant-mcp%40latest%22%5D%7D) [![Install in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Install_Server-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=Code+Assistant&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40j0hanz%2Fcode-assistant-mcp%40latest%22%5D%7D&quality=insiders)
53
+ [![Install in VS Code](https://img.shields.io/badge/VS_Code-Install_Server-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=Code+Assistant&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40j0hanz%2Fcode-assistant%40latest%22%5D%7D) [![Install in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Install_Server-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=Code+Assistant&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40j0hanz%2Fcode-assistant%40latest%22%5D%7D&quality=insiders)
54
54
 
55
55
  Add to `.vscode/mcp.json`:
56
56
 
@@ -59,7 +59,7 @@ Add to `.vscode/mcp.json`:
59
59
  "servers": {
60
60
  "code-assistant": {
61
61
  "command": "npx",
62
- "args": ["-y", "@j0hanz/code-assistant-mcp@latest"],
62
+ "args": ["-y", "@j0hanz/code-assistant@latest"],
63
63
  "env": {
64
64
  "GEMINI_API_KEY": "YOUR_API_KEY"
65
65
  }
@@ -71,7 +71,7 @@ Add to `.vscode/mcp.json`:
71
71
  Or via CLI:
72
72
 
73
73
  ```bash
74
- code --add-mcp '{"name":"code-assistant","command":"npx","args":["-y","@j0hanz/code-assistant-mcp@latest"]}'
74
+ code --add-mcp '{"name":"code-assistant","command":"npx","args":["-y","@j0hanz/code-assistant@latest"]}'
75
75
  ```
76
76
 
77
77
  </details>
@@ -79,7 +79,7 @@ code --add-mcp '{"name":"code-assistant","command":"npx","args":["-y","@j0hanz/c
79
79
  <details>
80
80
  <summary><b>Cursor</b></summary>
81
81
 
82
- [![Install in Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en/install-mcp?name=code-assistant&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBqMGhhbnovY29kZS1hc3Npc3RhbnQtbWNwQGxhdGVzdCJdfQ==)
82
+ [![Install in Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en/install-mcp?name=code-assistant&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBqMGhhbnovY29kZS1hc3Npc3RhbnRAbGF0ZXN0Il19)
83
83
 
84
84
  Add to `~/.cursor/mcp.json`:
85
85
 
@@ -88,7 +88,7 @@ Add to `~/.cursor/mcp.json`:
88
88
  "mcpServers": {
89
89
  "code-assistant": {
90
90
  "command": "npx",
91
- "args": ["-y", "@j0hanz/code-assistant-mcp@latest"],
91
+ "args": ["-y", "@j0hanz/code-assistant@latest"],
92
92
  "env": {
93
93
  "GEMINI_API_KEY": "YOUR_API_KEY"
94
94
  }
@@ -102,7 +102,7 @@ Add to `~/.cursor/mcp.json`:
102
102
  <details>
103
103
  <summary><b>Visual Studio</b></summary>
104
104
 
105
- [![Install in Visual Studio](https://img.shields.io/badge/Visual_Studio-Install_Server-C16FDE?logo=visualstudio&logoColor=white)](https://vs-open.link/mcp-install?%7B%22name%22%3A%22code-assistant%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40j0hanz%2Fcode-assistant-mcp%40latest%22%5D%7D)
105
+ [![Install in Visual Studio](https://img.shields.io/badge/Visual_Studio-Install_Server-C16FDE?logo=visualstudio&logoColor=white)](https://vs-open.link/mcp-install?%7B%22name%22%3A%22code-assistant%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40j0hanz%2Fcode-assistant%40latest%22%5D%7D)
106
106
 
107
107
  For more info, see [Visual Studio MCP docs](https://learn.microsoft.com/en-us/visualstudio/ide/mcp-servers).
108
108
 
@@ -118,7 +118,7 @@ Add to `claude_desktop_config.json`:
118
118
  "mcpServers": {
119
119
  "code-assistant": {
120
120
  "command": "npx",
121
- "args": ["-y", "@j0hanz/code-assistant-mcp@latest"],
121
+ "args": ["-y", "@j0hanz/code-assistant@latest"],
122
122
  "env": {
123
123
  "GEMINI_API_KEY": "YOUR_API_KEY"
124
124
  }
@@ -135,7 +135,7 @@ For more info, see [Claude Desktop MCP docs](https://modelcontextprotocol.io/qui
135
135
  <summary><b>Claude Code</b></summary>
136
136
 
137
137
  ```bash
138
- claude mcp add code-assistant -- npx -y @j0hanz/code-assistant-mcp@latest
138
+ claude mcp add code-assistant -- npx -y @j0hanz/code-assistant@latest
139
139
  ```
140
140
 
141
141
  For more info, see [Claude Code MCP docs](https://docs.anthropic.com/en/docs/agents-and-tools/claude-code/tutorials#set-up-model-context-protocol-mcp).
@@ -152,7 +152,7 @@ Add to MCP config:
152
152
  "mcpServers": {
153
153
  "code-assistant": {
154
154
  "command": "npx",
155
- "args": ["-y", "@j0hanz/code-assistant-mcp@latest"],
155
+ "args": ["-y", "@j0hanz/code-assistant@latest"],
156
156
  "env": {
157
157
  "GEMINI_API_KEY": "YOUR_API_KEY"
158
158
  }
@@ -169,7 +169,7 @@ For more info, see [Windsurf MCP docs](https://docs.windsurf.com/windsurf/mcp).
169
169
  <summary><b>Amp</b></summary>
170
170
 
171
171
  ```bash
172
- amp mcp add code-assistant -- npx -y @j0hanz/code-assistant-mcp@latest
172
+ amp mcp add code-assistant -- npx -y @j0hanz/code-assistant@latest
173
173
  ```
174
174
 
175
175
  For more info, see [Amp MCP docs](https://docs.amp.dev/mcp).
@@ -186,7 +186,7 @@ Add to `cline_mcp_settings.json`:
186
186
  "mcpServers": {
187
187
  "code-assistant": {
188
188
  "command": "npx",
189
- "args": ["-y", "@j0hanz/code-assistant-mcp@latest"],
189
+ "args": ["-y", "@j0hanz/code-assistant@latest"],
190
190
  "env": {
191
191
  "GEMINI_API_KEY": "YOUR_API_KEY"
192
192
  }
@@ -210,7 +210,7 @@ Add to Zed `settings.json`:
210
210
  "code-assistant": {
211
211
  "command": {
212
212
  "path": "npx",
213
- "args": ["-y", "@j0hanz/code-assistant-mcp@latest"],
213
+ "args": ["-y", "@j0hanz/code-assistant@latest"],
214
214
  "env": {
215
215
  "GEMINI_API_KEY": "YOUR_API_KEY"
216
216
  }
@@ -236,7 +236,7 @@ Add to `settings.json`:
236
236
  {
237
237
  "name": "code-assistant",
238
238
  "command": "npx",
239
- "args": ["-y", "@j0hanz/code-assistant-mcp@latest"],
239
+ "args": ["-y", "@j0hanz/code-assistant@latest"],
240
240
  "env": {
241
241
  "GEMINI_API_KEY": "YOUR_API_KEY"
242
242
  }
@@ -262,7 +262,7 @@ Add to `settings.json`:
262
262
  "--rm",
263
263
  "-e",
264
264
  "GEMINI_API_KEY=YOUR_API_KEY",
265
- "ghcr.io/j0hanz/code-assistant-mcp:latest"
265
+ "ghcr.io/j0hanz/code-assistant:latest"
266
266
  ]
267
267
  }
268
268
  }
@@ -272,7 +272,7 @@ Add to `settings.json`:
272
272
  Or build locally:
273
273
 
274
274
  ```bash
275
- docker build -t code-assistant-mcp .
275
+ docker build -t code-assistant .
276
276
  ```
277
277
 
278
278
  </details>
@@ -418,8 +418,8 @@ Releases are triggered via GitHub Actions `workflow_dispatch` with version bump
418
418
 
419
419
  The pipeline runs lint, type-check, test, and build, then publishes to three targets in parallel:
420
420
 
421
- - **npm** — `@j0hanz/code-assistant-mcp` with OIDC trusted publishing and provenance
422
- - **Docker** — `ghcr.io/j0hanz/code-assistant-mcp` (linux/amd64, linux/arm64)
421
+ - **npm** — `@j0hanz/code-assistant` with OIDC trusted publishing and provenance
422
+ - **Docker** — `ghcr.io/j0hanz/code-assistant` (linux/amd64, linux/arm64)
423
423
  - **MCP Registry** — `io.github.j0hanz/code-assistant`
424
424
 
425
425
  ## Troubleshooting
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@j0hanz/code-assistant",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "mcpName": "io.github.j0hanz/code-assistant",
5
5
  "description": "Gemini-powered MCP server for code analysis.",
6
6
  "type": "module",
@@ -14,7 +14,7 @@
14
14
  "./package.json": "./package.json"
15
15
  },
16
16
  "bin": {
17
- "code-assistant-mcp": "dist/index.js"
17
+ "code-assistant": "dist/index.js"
18
18
  },
19
19
  "files": [
20
20
  "dist",