DOCUMENTATION / PORTKEY ADMIN MCP

Docs for 0.16.6, the latest release

On this page

Compatibility and deprecations

Package versions, SDK versions, and negotiated MCP protocol revisions are separate compatibility boundaries.

Last reviewed: 2026-11-13. Package versions, SDK versions, and negotiated MCP protocol revisions are separate compatibility boundaries.

Release lines

Package releaseMCP SDKMCP protocolSupport and behavior
0.16.4server/client 2.4.0, Node adapter 2.1.2 (exact pins)Native 2026-07-28 plus older clients on the same endpointCurrent 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.
0.15.2server/client 2.4.0, Node adapter 2.1.2 (exact pins)Native 2026-07-28 plus older clients on the same endpointPrevious 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.
0.13.0v1; dependency floor 1.31.0Latest supported revision: 2025-11-25Historical release, 184 tools across 20 domains. Upgrade to the latest minor for security fixes.

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.

The 0.14.x SDK supports 2025-11-25, 2025-06-18, 2025-03-26, 2024-11-05, and 2024-10-07. A newer client that negotiates an older revision can use this server; that fallback does not mean the server natively supports 2026-07-28. Release tests cover modern auto/pinned clients and default legacy clients over HTTP and stdio. Client products, deployed proxies and marketplace acceptance still need release validation.

SECURITY.md owns the security-support policy: fixes ship on the latest published minor line; older minor lines do not receive backports. See CHANGELOG.md for changes in each published release.

Configuration lifecycle

No deprecation warnings or removals for the settings below shipped in 0.14.x. As of 0.15.0, the listed settings warn and are ignored, and the underlying session/replay behavior is removed. There was no intermediate warning-only release. Obsolete names remain recognized for warnings; this does not retain their former functionality. 0.14.x is unchanged.

Setting or behavior0.14.x0.15.0 behaviorFirst warning / ignored / removal release
MCP_SESSION_MODE, MCP_SESSION_TIMEOUTActive; stateful mode is the defaultIgnored with a warning; older clients use stateless requests0.15.0 / 0.15.0 / 0.15.0
MCP_EVENT_STORE, MCP_EVENT_TTL_SECONDS, MCP_EVENT_STORE_MAX_EVENTS, MCP_EVENT_STORE_MAX_BYTES, MCP_EVENT_STORE_COMMAND_TIMEOUT_MSActive replay configurationIgnored 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
MCP_EVENT_ENCRYPTION_KEY, MCP_REDIS_KEY_PREFIXActive Redis replay configurationIgnored with a warning0.15.0 / 0.15.0 / 0.15.0
HTTP GET stream, Last-Event-ID recovery, session identifiersActive under the configured HTTP modeNo 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 4030.15.0 / 0.15.0 / 0.15.0
RATE_LIMIT_*Active rate-limit configurationRetained, including shared Redis limitingNo removal planned
RATE_LIMIT_REDIS_URL, MCP_REDIS_URL, REDIS_URLRate limiter uses these URL sources in that order; replay uses the latter twoDocumented Redis connection path for rate limiting is preserved now that replay is retiredNo removal assigned
MCP_MAX_SESSIONSBounds stateful sessions or active stateless request handlersRetain the stateless concurrency boundNo removal planned
MCP_TOOL_DOMAINS, CORS_ORIGINSupported fallbacks for PORTKEY_TOOL_DOMAINS, ALLOWED_ORIGINSNo change assignedNo removal planned

Redis rate limiting and Redis replay are separate features. Retiring the replay store does not remove the need for a shared rate limiter in multi-instance or serverless deployments. Keep working settings on a 0.14.x deployment until you upgrade to 0.15.0.

Migration notes

The migration shipped in 0.15.0, ahead of the original 2026-12-01 start-by date and the 2027-01-27 completion target. Those were project planning dates, not announced configuration-removal dates or an SDK end-of-life guarantee. ROADMAP.md tracks follow-up work.

Operators upgrading from 0.14.x need an upgrade guide covering:

  • warning and removal behavior for every retired setting;
  • loss of session affinity, the GET stream, and Last-Event-ID recovery;
  • how to inspect Portkey state after an interrupted mutation before retrying, since an automatic retry can repeat a successful write;
  • retained Redis rate-limit configuration and concurrency bounds; and
  • client, reverse-proxy, Vercel, and marketplace compatibility checks.

The release updated this table, the README configuration reference, architecture, Vercel guide, security assurance case, and changelog together.

Interrupted requests

The SDK v2 server keeps older initialize clients working on /mcp without persistent HTTP sessions. Modern clients use server/discover on the same URL. Clients and proxies must forward MCP-Protocol-Version, Mcp-Method and, for named operations such as tools/call, Mcp-Name. Tool filters apply to every request; reuse the same ?tools= URL throughout a client workflow.

GET streams, DELETE session operations and Last-Event-ID replay are retired. A disconnected request can still have changed Portkey state even when its result was lost. Do not automatically replay a write:

  1. Save the operation name, target workspace/resource ID and intended change without recording credentials or secret values.
  2. Reconnect and use the matching get_* or list_* tool, or the Portkey dashboard, to inspect whether the change completed. For creates, correlate the intended name/metadata and time; a missing response is not proof of failure.
  3. If the desired state already exists, continue from that resource. If failure is confirmed, retry once intentionally. If the outcome is still ambiguous, inspect the upstream audit/usage records or ask the tenant administrator before repeating creates, completions or other operations with side effects.

Reads can be requested again. Neither transport reconnect nor a successful new handshake proves a previous mutation failed. There is no exactly-once guarantee. MCP_MAX_SESSIONS now caps concurrent request handlers; it does not restore sessions or replay. Redis remains available for shared rate limiting through RATE_LIMIT_REDIS_URL, MCP_REDIS_URL, then REDIS_URL. No replay encryption key is needed. Keep deployed 0.14.x settings until upgrading; the first warning, ignored-setting and feature-removal release is 0.15.0.

Based on the published 0.16.6 release. The source files are in the product repository.