code-auditor-mcp 1.0.0 → 1.0.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
@@ -304,11 +304,36 @@ stage('Code Audit') {
304
304
 
305
305
  Code Auditor includes a built-in MCP (Model Context Protocol) server that enables AI assistants like Claude to analyze your code interactively.
306
306
 
307
- ### Setting up with Claude Desktop
307
+ ### Using with Claude Code CLI
308
+
309
+ The easiest way to use Code Auditor with Claude is through the Claude Code CLI:
310
+
311
+ ```bash
312
+ # Add the Code Auditor MCP server to your project
313
+ claude mcp add code-auditor -- npx code-auditor-mcp
314
+
315
+ # The MCP server is now available in your Claude Code session
316
+ # Just ask Claude to analyze your code!
317
+ ```
318
+
319
+ Alternative installation methods:
320
+
321
+ ```bash
322
+ # Using npm start (if installed locally)
323
+ claude mcp add code-auditor -- npm start
324
+
325
+ # Using global installation
326
+ npm install -g code-auditor-mcp
327
+ claude mcp add code-auditor -- code-auditor-mcp
328
+ ```
329
+
330
+ ### Manual Setup with Claude Desktop
331
+
332
+ If you prefer to configure Claude Desktop manually:
308
333
 
309
334
  1. Install code-auditor globally:
310
335
  ```bash
311
- npm install -g code-auditor
336
+ npm install -g code-auditor-mcp
312
337
  ```
313
338
 
314
339
  2. Add to your Claude Desktop configuration:
@@ -333,7 +358,9 @@ Code Auditor includes a built-in MCP (Model Context Protocol) server that enable
333
358
  ### Available MCP Tools
334
359
 
335
360
  - **audit_run** - Run a comprehensive code audit
361
+ - **audit_analyze_file** - Analyze a specific file for issues
336
362
  - **audit_check_health** - Get a quick health score for your codebase
363
+ - **audit_list_analyzers** - List all available analyzers and their capabilities
337
364
 
338
365
  ### Usage Examples with Claude
339
366
 
@@ -341,6 +368,8 @@ Code Auditor includes a built-in MCP (Model Context Protocol) server that enable
341
368
  "Run a code audit on my project and show me the critical issues"
342
369
  "Check the health score of the src directory"
343
370
  "Analyze my code for SOLID principle violations"
371
+ "Find security vulnerabilities in my authentication code"
372
+ "Show me all code duplication in the components folder"
344
373
  ```
345
374
 
346
375
  ## Contributing
package/dist/cli.js CHANGED
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "code-auditor-mcp",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "TypeScript/JavaScript code quality auditor with MCP server - Analyze code for SOLID principles, DRY violations, security patterns, and more",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -14,6 +14,7 @@
14
14
  "watch": "tsc --watch",
15
15
  "dev": "tsx src/cli.ts",
16
16
  "audit": "node dist/cli.js",
17
+ "start": "node dist/mcp-standalone.js",
17
18
  "prepublishOnly": "npm run build",
18
19
  "test": "echo \"No tests yet\" && exit 0"
19
20
  },