@nekzus/mcp-server 1.18.3 → 1.19.0-alpha.10

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 (49) hide show
  1. package/README.md +162 -283
  2. package/dist/.tsbuildinfo +1 -1
  3. package/dist/index.d.ts +60 -40
  4. package/dist/index.d.ts.map +1 -1
  5. package/dist/index.js +488 -785
  6. package/dist/index.js.map +1 -1
  7. package/dist/src/cache.d.ts +22 -0
  8. package/dist/src/cache.d.ts.map +1 -0
  9. package/dist/src/cache.js +68 -0
  10. package/dist/src/cache.js.map +1 -0
  11. package/dist/src/config.d.ts +11 -0
  12. package/dist/src/config.d.ts.map +1 -0
  13. package/dist/src/config.js +45 -0
  14. package/dist/src/config.js.map +1 -0
  15. package/dist/src/handlers/index.d.ts +2 -0
  16. package/dist/src/handlers/index.d.ts.map +1 -0
  17. package/dist/src/handlers/index.js +2 -0
  18. package/dist/src/handlers/index.js.map +1 -0
  19. package/dist/src/icons.d.ts +21 -0
  20. package/dist/src/icons.d.ts.map +1 -0
  21. package/dist/src/icons.js +29 -0
  22. package/dist/src/icons.js.map +1 -0
  23. package/dist/src/prompts/index.d.ts +3 -0
  24. package/dist/src/prompts/index.d.ts.map +1 -0
  25. package/dist/src/prompts/index.js +22 -0
  26. package/dist/src/prompts/index.js.map +1 -0
  27. package/dist/src/resources/index.d.ts +3 -0
  28. package/dist/src/resources/index.d.ts.map +1 -0
  29. package/dist/src/resources/index.js +62 -0
  30. package/dist/src/resources/index.js.map +1 -0
  31. package/dist/src/schemas.d.ts +143 -0
  32. package/dist/src/schemas.d.ts.map +1 -0
  33. package/dist/src/schemas.js +189 -0
  34. package/dist/src/schemas.js.map +1 -0
  35. package/dist/src/server.d.ts +7 -0
  36. package/dist/src/server.d.ts.map +1 -0
  37. package/dist/src/server.js +21 -0
  38. package/dist/src/server.js.map +1 -0
  39. package/dist/src/tools/index.d.ts +3 -0
  40. package/dist/src/tools/index.d.ts.map +1 -0
  41. package/dist/src/tools/index.js +411 -0
  42. package/dist/src/tools/index.js.map +1 -0
  43. package/dist/src/utils/fetch-retry.d.ts +5 -0
  44. package/dist/src/utils/fetch-retry.d.ts.map +1 -0
  45. package/dist/src/utils/fetch-retry.js +69 -0
  46. package/dist/src/utils/fetch-retry.js.map +1 -0
  47. package/llms-full.txt +312 -422
  48. package/package.json +16 -17
  49. package/smithery.yaml +10 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nekzus/mcp-server",
3
- "version": "1.18.3",
3
+ "version": "1.19.0-alpha.10",
4
4
  "mcpName": "io.github.Nekzus/npm-sentinel-mcp",
5
5
  "description": "NPM Sentinel MCP - A powerful Model Context Protocol (MCP) server that revolutionizes NPM package analysis through AI. Built to integrate with Claude and Anthropic AI, it provides real-time intelligence on package security, dependencies, and performance.",
6
6
  "type": "module",
@@ -19,21 +19,18 @@
19
19
  "server.json"
20
20
  ],
21
21
  "scripts": {
22
- "build": "npm run build:stdio && npm run build:http",
22
+ "build": "npm run build:stdio",
23
23
  "build:stdio": "tsc && shx chmod +x dist/*.js",
24
- "build:http": "smithery build",
25
24
  "prepare": "npm run build:stdio",
26
25
  "dev": "npx @smithery/cli dev",
27
- "start": "npm run start:http",
28
- "start:http": "node .smithery/index.cjs",
29
- "start:stdio": "node dist/index.js",
26
+ "start": "node dist/index.js",
30
27
  "test": "vitest",
31
28
  "test:coverage": "vitest run --coverage",
32
29
  "format": "biome format --write .",
33
30
  "lint": "biome lint --write .",
34
31
  "check": "biome check --apply .",
35
32
  "commit": "git-cz",
36
- "semantic-release": "semantic-release --branches main",
33
+ "semantic-release": "semantic-release",
37
34
  "watch": "tsc --watch",
38
35
  "prepublishOnly": "npm run build:stdio",
39
36
  "changelog:init": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0"
@@ -84,10 +81,11 @@
84
81
  },
85
82
  "homepage": "https://github.com/Nekzus/npm-sentinel-mcp#readme",
86
83
  "dependencies": {
87
- "@modelcontextprotocol/sdk": "^1.26.0",
88
- "@smithery/sdk": "3.0.1",
84
+ "@modelcontextprotocol/core": "^2.0.0-beta.4",
85
+ "@modelcontextprotocol/server": "^2.0.0-beta.4",
86
+ "@smithery/sdk": "4.3.0",
89
87
  "node-fetch": "3.3.2",
90
- "zod": "^4.2.0"
88
+ "zod": "^4.4.3"
91
89
  },
92
90
  "overrides": {
93
91
  "hono": "^4.11.7",
@@ -97,15 +95,16 @@
97
95
  "lodash": "^4.17.23"
98
96
  },
99
97
  "devDependencies": {
100
- "@biomejs/biome": "2.4.4",
98
+ "@biomejs/biome": "2.5.3",
99
+ "@modelcontextprotocol/client": "2.0.0-beta.4",
101
100
  "@semantic-release/changelog": "6.0.3",
102
101
  "@semantic-release/git": "10.0.1",
103
102
  "@semantic-release/github": "12.0.9",
104
103
  "@semantic-release/npm": "13.1.5",
105
104
  "@semantic-release/release-notes-generator": "14.1.1",
106
- "@smithery/cli": "^3.19.0",
107
- "@types/node": "22.15.17",
108
- "@vitest/coverage-v8": "3.1.3",
105
+ "@smithery/cli": "4.11.1",
106
+ "@types/node": "26.1.1",
107
+ "@vitest/coverage-v8": "4.1.10",
109
108
  "chalk": "^5.6.2",
110
109
  "cors": "^2.8.6",
111
110
  "cz-conventional-changelog": "3.0.1",
@@ -113,8 +112,8 @@
113
112
  "semantic-release": "25.0.5",
114
113
  "shx": "0.4.0",
115
114
  "tsx": "4.19.4",
116
- "typescript": "5.8.3",
117
- "vitest": "3.1.3",
115
+ "typescript": "7.0.2",
116
+ "vitest": "4.1.10",
118
117
  "zod-to-json-schema": "^3.25.0"
119
118
  },
120
119
  "config": {
@@ -127,6 +126,6 @@
127
126
  "registry": "https://registry.npmjs.org/"
128
127
  },
129
128
  "engines": {
130
- "node": ">=18"
129
+ "node": ">=20"
131
130
  }
132
131
  }
package/smithery.yaml CHANGED
@@ -11,7 +11,7 @@ configSchema:
11
11
  default: "https://registry.npmjs.org"
12
12
 
13
13
  startCommand:
14
- type: "http"
14
+ type: "stdio"
15
15
  configSchema:
16
16
  type: "object"
17
17
  required: []
@@ -19,4 +19,12 @@ startCommand:
19
19
  NPM_REGISTRY_URL:
20
20
  type: "string"
21
21
  description: "URL of the NPM registry to use (default: https://registry.npmjs.org)"
22
- default: "https://registry.npmjs.org"
22
+ default: "https://registry.npmjs.org"
23
+ commandFunction: |-
24
+ (config) => ({
25
+ command: 'node',
26
+ args: ['dist/index.js'],
27
+ env: {
28
+ NPM_REGISTRY_URL: config.NPM_REGISTRY_URL
29
+ }
30
+ })