@codacy/codacy-mcp 0.6.17 → 0.6.18

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 +13 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -236,7 +236,19 @@ npm run update-api
236
236
  npm run build
237
237
  ```
238
238
 
239
- Then you can test your local instance configuring the MCP Server as follows:
239
+ ### Testing with Inspector
240
+
241
+ You can test the MCP server using the inspector tool. You can either set a `CODACY_ACCOUNT_TOKEN` environment variable or pass it inline:
242
+
243
+ ```bash
244
+ CODACY_ACCOUNT_TOKEN=your_token_here npm run inspect
245
+ ```
246
+
247
+ This will build the project and launch the MCP inspector with your Codacy token.
248
+
249
+ ### Testing with an Agent
250
+
251
+ You can test your local instance configuring the MCP Server as follows:
240
252
 
241
253
  ```
242
254
  "codacy": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codacy/codacy-mcp",
3
- "version": "0.6.17",
3
+ "version": "0.6.18",
4
4
  "description": "Codacy MCP server",
5
5
  "license": "MIT",
6
6
  "author": "Codacy",
@@ -28,7 +28,7 @@
28
28
  "lint:fix": "eslint . --ext .ts --fix",
29
29
  "format": "prettier --write \"**/*.{ts,json,md}\"",
30
30
  "format:check": "prettier --check \"**/*.{ts,json,md}\"",
31
- "inspect": "npm run build && npx @modelcontextprotocol/inspector -e CODACY_ACCOUNT_TOKEN=123456 node dist/index.js"
31
+ "inspect": "npm run build && npx @modelcontextprotocol/inspector -e CODACY_ACCOUNT_TOKEN=$CODACY_ACCOUNT_TOKEN node dist/index.js"
32
32
  },
33
33
  "dependencies": {
34
34
  "@modelcontextprotocol/sdk": "1.0.1",