portkey-admin-mcp 0.4.2 → 0.5.0

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 (4) hide show
  1. package/README.md +68 -28
  2. package/build/index.js +1212 -632
  3. package/build/server.js +1596 -682
  4. package/package.json +15 -12
package/package.json CHANGED
@@ -7,6 +7,7 @@
7
7
  "scripts": {
8
8
  "build": "esbuild src/index.ts src/server.ts --bundle --platform=node --target=node24 --format=esm --outdir=build --packages=external && chmod 755 build/index.js build/server.js",
9
9
  "typecheck": "tsc --noEmit",
10
+ "typecheck:tests": "tsc --project tsconfig.tests.json --noEmit",
10
11
  "lint": "biome lint .",
11
12
  "format": "biome format --write .",
12
13
  "check": "biome check --write .",
@@ -17,10 +18,11 @@
17
18
  "test:http": "bash scripts/test-mcp-http.sh",
18
19
  "test:e2e": "tsx --test tests/mcp-e2e.test.ts",
19
20
  "test:contract": "tsx --test tests/contract.test.ts",
21
+ "test:redis": "tsx --test tests/redis-integration.test.ts",
20
22
  "record:fixtures": "tsx tests/fixtures/record.ts",
21
23
  "verify:readme-tools": "node scripts/verify-readme-tools.mjs",
22
24
  "knip": "knip",
23
- "ci": "npm run lint && npm run knip && npm run typecheck && npm run test && npm run build && npm run test:e2e && npm run verify:readme-tools",
25
+ "ci": "npm run lint && npm run knip && npm run typecheck && npm run typecheck:tests && npm run test && npm run build && npm run test:e2e && npm run verify:readme-tools",
24
26
  "start:http": "node build/server.js",
25
27
  "generate:lobehub-tools": "npm run build && node scripts/generate-lobehub-tools.mjs && biome format --write lhm.plugin.json",
26
28
  "publish:lobehub": "npm run generate:lobehub-tools && npx -y @lobehub/market-cli plugin publish --dir \"$PWD\"",
@@ -30,6 +32,7 @@
30
32
  "engines": {
31
33
  "node": ">=24"
32
34
  },
35
+ "packageManager": "npm@11.16.0",
33
36
  "files": [
34
37
  "build"
35
38
  ],
@@ -37,14 +40,14 @@
37
40
  "@modelcontextprotocol/sdk": "^1.29.0",
38
41
  "cors": "^2.8.6",
39
42
  "express": "^5.2.1",
40
- "helmet": "^8.1.0",
43
+ "helmet": "^8.3.0",
41
44
  "jose": "^6.2.2",
42
- "redis": "^5.11.0",
45
+ "redis": "^6.1.0",
43
46
  "zod": "^4.3.6"
44
47
  },
45
48
  "name": "portkey-admin-mcp",
46
49
  "mcpName": "io.github.CodesWhat/portkey-admin-mcp",
47
- "version": "0.4.2",
50
+ "version": "0.5.0",
48
51
  "main": "build/index.js",
49
52
  "keywords": [
50
53
  "mcp",
@@ -71,15 +74,15 @@
71
74
  "url": "https://github.com/CodesWhat/portkey-admin-mcp/issues"
72
75
  },
73
76
  "devDependencies": {
74
- "@biomejs/biome": "^2.4.10",
77
+ "@biomejs/biome": "^2.5.3",
75
78
  "@types/cors": "^2.8.19",
76
79
  "@types/express": "^5.0.6",
77
- "@types/node": "^25.5.2",
78
- "dotenv": "^17.4.1",
79
- "esbuild": "^0.28.0",
80
- "knip": "^6.3.0",
81
- "lefthook": "^2.1.5",
82
- "tsx": "^4.21.0",
83
- "typescript": "^6.0.2"
80
+ "@types/node": "^24.13.3",
81
+ "dotenv": "^17.4.2",
82
+ "esbuild": "^0.28.1",
83
+ "knip": "^6.26.0",
84
+ "lefthook": "^2.1.10",
85
+ "tsx": "^4.23.1",
86
+ "typescript": "^7.0.2"
84
87
  }
85
88
  }