portkey-admin-mcp 0.16.2 → 0.16.3

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/COMPATIBILITY.md CHANGED
@@ -5,11 +5,11 @@ protocol revisions are separate compatibility boundaries.
5
5
 
6
6
  ## Release lines
7
7
 
8
- | Package release | MCP SDK | MCP protocol | Support and behavior |
9
- | --- | --- | --- | --- |
10
- | 0.16.0 | server/client 2.4.0, Node adapter 2.1.2 (exact pins) | Native `2026-07-28` plus older clients on the same endpoint | Current release, 194 tools across 22 domains, Node.js 24+, also tested on Node 26, which the Docker image runs. HTTP session and replay stores are retired; obsolete settings warn and are ignored. First warnings and ignored settings start in 0.15.0; session/replay behavior is removed in that release. |
11
- | 0.15.2 | server/client 2.4.0, Node adapter 2.1.2 (exact pins) | Native `2026-07-28` plus older clients on the same endpoint | Previous line, 194 tools across 22 domains, Node.js 24+. HTTP session and replay stores are retired; obsolete settings warn and are ignored. First warnings and ignored settings start in 0.15.0; session/replay behavior is removed in that release. |
12
- | 0.13.0 | v1; dependency floor 1.31.0 | Latest supported revision: `2025-11-25` | Historical release, 184 tools across 20 domains. Upgrade to the latest minor for security fixes. |
8
+ | Package release | MCP SDK | MCP protocol | Support and behavior |
9
+ | --------------- | ---------------------------------------------------- | ----------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
10
+ | 0.16.3 | server/client 2.4.0, Node adapter 2.1.2 (exact pins) | Native `2026-07-28` plus older clients on the same endpoint | Current release, 194 tools across 22 domains, Node.js 24+, also tested on Node 26, which the Docker image runs. HTTP session and replay stores are retired; obsolete settings warn and are ignored. First warnings and ignored settings start in 0.15.0; session/replay behavior is removed in that release. |
11
+ | 0.15.2 | server/client 2.4.0, Node adapter 2.1.2 (exact pins) | Native `2026-07-28` plus older clients on the same endpoint | Previous line, 194 tools across 22 domains, Node.js 24+. HTTP session and replay stores are retired; obsolete settings warn and are ignored. First warnings and ignored settings start in 0.15.0; session/replay behavior is removed in that release. |
12
+ | 0.13.0 | v1; dependency floor 1.31.0 | Latest supported revision: `2025-11-25` | Historical release, 184 tools across 20 domains. Upgrade to the latest minor for security fixes. |
13
13
 
14
14
  Node.js 24 is the supported floor (`engines.node` is `>=24`). The main CI checks and the release build run on Node 24. Node 26 is also tested in CI, and the Docker image runs Node 26 from 0.16.0.
15
15
 
@@ -30,16 +30,16 @@ session/replay behavior is removed. There was no intermediate warning-only
30
30
  release. Obsolete names remain recognized for warnings; this does not retain
31
31
  their former functionality. 0.14.x is unchanged.
32
32
 
33
- | Setting or behavior | 0.14.x | 0.15.0 behavior | First warning / ignored / removal release |
34
- | --- | --- | --- | --- |
35
- | `MCP_SESSION_MODE`, `MCP_SESSION_TIMEOUT` | Active; stateful mode is the default | Ignored with a warning; older clients use stateless requests | 0.15.0 / 0.15.0 / 0.15.0 |
36
- | `MCP_EVENT_STORE`, `MCP_EVENT_TTL_SECONDS`, `MCP_EVENT_STORE_MAX_EVENTS`, `MCP_EVENT_STORE_MAX_BYTES`, `MCP_EVENT_STORE_COMMAND_TIMEOUT_MS` | Active replay configuration | Ignored with a warning; authenticated GET/DELETE return 405 (auth and Origin checks still apply first: 401 without credentials when HTTP authentication is enabled, meaning `MCP_AUTH_MODE` other than `none`; 403 for a disallowed Origin) | 0.15.0 / 0.15.0 / 0.15.0 |
37
- | `MCP_EVENT_ENCRYPTION_KEY`, `MCP_REDIS_KEY_PREFIX` | Active Redis replay configuration | Ignored with a warning | 0.15.0 / 0.15.0 / 0.15.0 |
38
- | HTTP GET stream, `Last-Event-ID` recovery, session identifiers | Active under the configured HTTP mode | No session IDs are returned; authenticated GET/DELETE, including legacy session or `Last-Event-ID` headers, return 405. Unauthenticated requests get 401 when HTTP authentication is enabled (`MCP_AUTH_MODE` other than `none`), and a disallowed Origin gets 403 | 0.15.0 / 0.15.0 / 0.15.0 |
39
- | `RATE_LIMIT_*` | Active rate-limit configuration | Retained, including shared Redis limiting | No removal planned |
40
- | `RATE_LIMIT_REDIS_URL`, `MCP_REDIS_URL`, `REDIS_URL` | Rate limiter uses these URL sources in that order; replay uses the latter two | Documented Redis connection path for rate limiting is preserved now that replay is retired | No removal assigned |
41
- | `MCP_MAX_SESSIONS` | Bounds stateful sessions or active stateless request handlers | Retain the stateless concurrency bound | No removal planned |
42
- | `MCP_TOOL_DOMAINS`, `CORS_ORIGIN` | Supported fallbacks for `PORTKEY_TOOL_DOMAINS`, `ALLOWED_ORIGINS` | No change assigned | No removal planned |
33
+ | Setting or behavior | 0.14.x | 0.15.0 behavior | First warning / ignored / removal release |
34
+ | ------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------- |
35
+ | `MCP_SESSION_MODE`, `MCP_SESSION_TIMEOUT` | Active; stateful mode is the default | Ignored with a warning; older clients use stateless requests | 0.15.0 / 0.15.0 / 0.15.0 |
36
+ | `MCP_EVENT_STORE`, `MCP_EVENT_TTL_SECONDS`, `MCP_EVENT_STORE_MAX_EVENTS`, `MCP_EVENT_STORE_MAX_BYTES`, `MCP_EVENT_STORE_COMMAND_TIMEOUT_MS` | Active replay configuration | Ignored with a warning; authenticated GET/DELETE return 405 (auth and Origin checks still apply first: 401 without credentials when HTTP authentication is enabled, meaning `MCP_AUTH_MODE` other than `none`; 403 for a disallowed Origin) | 0.15.0 / 0.15.0 / 0.15.0 |
37
+ | `MCP_EVENT_ENCRYPTION_KEY`, `MCP_REDIS_KEY_PREFIX` | Active Redis replay configuration | Ignored with a warning | 0.15.0 / 0.15.0 / 0.15.0 |
38
+ | HTTP GET stream, `Last-Event-ID` recovery, session identifiers | Active under the configured HTTP mode | No session IDs are returned; authenticated GET/DELETE, including legacy session or `Last-Event-ID` headers, return 405. Unauthenticated requests get 401 when HTTP authentication is enabled (`MCP_AUTH_MODE` other than `none`), and a disallowed Origin gets 403 | 0.15.0 / 0.15.0 / 0.15.0 |
39
+ | `RATE_LIMIT_*` | Active rate-limit configuration | Retained, including shared Redis limiting | No removal planned |
40
+ | `RATE_LIMIT_REDIS_URL`, `MCP_REDIS_URL`, `REDIS_URL` | Rate limiter uses these URL sources in that order; replay uses the latter two | Documented Redis connection path for rate limiting is preserved now that replay is retired | No removal assigned |
41
+ | `MCP_MAX_SESSIONS` | Bounds stateful sessions or active stateless request handlers | Retain the stateless concurrency bound | No removal planned |
42
+ | `MCP_TOOL_DOMAINS`, `CORS_ORIGIN` | Supported fallbacks for `PORTKEY_TOOL_DOMAINS`, `ALLOWED_ORIGINS` | No change assigned | No removal planned |
43
43
 
44
44
  Redis rate limiting and Redis replay are separate features. Retiring the replay
45
45
  store does not remove the need for a shared rate limiter in multi-instance or
package/README.md CHANGED
@@ -19,7 +19,7 @@
19
19
  <a href="https://securityscorecards.dev/viewer/?uri=github.com/CodesWhat/portkey-admin-mcp"><img src="https://img.shields.io/ossf-scorecard/github.com/CodesWhat/portkey-admin-mcp?label=openssf+scorecard&style=flat" alt="OpenSSF Scorecard"></a>
20
20
  <a href="https://www.bestpractices.dev/projects/14031"><img src="https://www.bestpractices.dev/projects/14031/badge" alt="OpenSSF Best Practices"></a>
21
21
  <a href="https://qlty.sh/gh/CodesWhat/projects/portkey-admin-mcp"><img src="https://qlty.sh/gh/CodesWhat/projects/portkey-admin-mcp/maintainability.svg" alt="Maintainability"></a>
22
- <a href="https://qlty.sh/gh/CodesWhat/projects/portkey-admin-mcp"><img src="https://qlty.sh/gh/CodesWhat/projects/portkey-admin-mcp/coverage.svg" alt="Code Coverage"></a>
22
+ <a href="https://codecov.io/gh/CodesWhat/portkey-admin-mcp"><img src="https://codecov.io/gh/CodesWhat/portkey-admin-mcp/graph/badge.svg" alt="Code Coverage"></a>
23
23
  </p>
24
24
 
25
25
  <p align="center">
@@ -48,6 +48,7 @@
48
48
  - [Development](#development)
49
49
  - [Roadmap](#roadmap)
50
50
  - [Community](#community)
51
+ - [Star History](#star-history)
51
52
  - [Built With](#built-with)
52
53
  - [Contributing](https://github.com/CodesWhat/portkey-admin-mcp/blob/main/CONTRIBUTING.md)
53
54
  - [Governance](https://github.com/CodesWhat/portkey-admin-mcp/blob/main/GOVERNANCE.md)
@@ -400,9 +401,9 @@ line, branch, and function coverage.
400
401
  The [CI workflow](https://github.com/CodesWhat/portkey-admin-mcp/actions/workflows/ci.yml)
401
402
  also runs the standalone Qlty CLI and publishes `quality-reports` artifacts for
402
403
  each analyzed commit, including lint/security results, duplication, complexity,
403
- and metrics. The existing Qlty maintainability and coverage badges remain
404
- Cloud-generated; local analysis does not update those badges. Coverage uploads
405
- and Cloud analysis still consume Qlty analysis minutes.
404
+ and metrics. The Qlty maintainability badge remains Cloud-generated; local
405
+ analysis does not update it. Coverage is reported through Codecov, not Qlty,
406
+ and the Coverage workflow uploads it on every PR and on pushes to `main` and `codex/**`.
406
407
 
407
408
  `npm run dev:http` now requires `MCP_AUTH_MODE=bearer` or `MCP_AUTH_MODE=clerk` by default. For deliberate local-only unauthenticated testing, set `MCP_ALLOW_UNAUTHENTICATED_HTTP=true`.
408
409
 
@@ -431,6 +432,18 @@ The maintained package, registry, marketplace, and directory records are listed
431
432
  in [Distribution and directories](./docs/DISTRIBUTION.md). Treat the generated
432
433
  tool catalog in this repository as authoritative when a third-party index lags.
433
434
 
435
+ <hr>
436
+
437
+ <h2 align="center" id="star-history">Star History</h2>
438
+
439
+ <a href="https://www.star-history.com/#CodesWhat/portkey-admin-mcp&type=date">
440
+ <picture>
441
+ <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/chart?repos=CodesWhat/portkey-admin-mcp&type=date&legend=top-left&theme=dark" />
442
+ <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/chart?repos=CodesWhat/portkey-admin-mcp&type=date&legend=top-left" />
443
+ <img alt="Star History chart for CodesWhat/portkey-admin-mcp" src="https://api.star-history.com/chart?repos=CodesWhat/portkey-admin-mcp&type=date&legend=top-left" />
444
+ </picture>
445
+ </a>
446
+
434
447
  ---
435
448
 
436
449
  <div align="center">
package/build/index.js CHANGED
@@ -1196,7 +1196,8 @@ var HealthService = class extends BaseService {
1196
1196
  const latency_ms = Date.now() - startTime;
1197
1197
  const errorMessage = error instanceof Error ? error.message : "Unknown error";
1198
1198
  const healthError = new Error(
1199
- `Health check failed: ${errorMessage} (${latency_ms}ms)`
1199
+ `Health check failed: ${errorMessage} (${latency_ms}ms)`,
1200
+ { cause: error }
1200
1201
  );
1201
1202
  this.cachedFailure = {
1202
1203
  error: healthError,
package/build/server.js CHANGED
@@ -1209,7 +1209,8 @@ var HealthService = class extends BaseService {
1209
1209
  const latency_ms = Date.now() - startTime;
1210
1210
  const errorMessage = error instanceof Error ? error.message : "Unknown error";
1211
1211
  const healthError = new Error(
1212
- `Health check failed: ${errorMessage} (${latency_ms}ms)`
1212
+ `Health check failed: ${errorMessage} (${latency_ms}ms)`,
1213
+ { cause: error }
1213
1214
  );
1214
1215
  this.cachedFailure = {
1215
1216
  error: healthError,
@@ -71,7 +71,7 @@ open and awaiting maintainer review as of 2026-10-16. Its `source.commit` is the
71
71
  release pin; refresh that pin, the PR release description, and discovery evidence
72
72
  after publication. It is not listed until Docker merges it and the catalog is live.
73
73
 
74
- [Smithery](https://smithery.ai/docs/build/publish) is deferred. Its current
74
+ [Smithery](https://smithery.ai/) is deferred. Its current
75
75
  publishing paths expect a public Streamable HTTP endpoint or an MCPB bundle for a
76
76
  local server. This project intentionally supports npm-based stdio and self-hosted
77
77
  HTTP, and does not publish either Smithery artifact today.
package/package.json CHANGED
@@ -62,7 +62,7 @@
62
62
  },
63
63
  "name": "portkey-admin-mcp",
64
64
  "mcpName": "io.github.CodesWhat/portkey-admin-mcp",
65
- "version": "0.16.2",
65
+ "version": "0.16.3",
66
66
  "main": "build/index.js",
67
67
  "keywords": [
68
68
  "mcp",
@@ -91,13 +91,13 @@
91
91
  "url": "https://github.com/CodesWhat/portkey-admin-mcp/issues"
92
92
  },
93
93
  "devDependencies": {
94
- "@biomejs/biome": "2.5.15",
94
+ "@biomejs/biome": "2.6.3",
95
95
  "@types/cors": "2.8.19",
96
96
  "@types/express": "5.0.6",
97
97
  "@types/node": "24.19.2",
98
- "dotenv": "18.0.8",
98
+ "dotenv": "18.0.9",
99
99
  "esbuild": "0.28.2",
100
- "knip": "6.42.0",
100
+ "knip": "6.43.0",
101
101
  "lefthook": "2.2.2",
102
102
  "tsx": "4.23.15",
103
103
  "typescript": "7.0.2",