You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Breaking Changes
Node floor: Node 22.13 or later is now required.
Explicit NetSapiens configuration: NETSAPIENS_API_URL is required. The server never falls back to hardcoded default URLs.
Storage architecture:
store parameter is now required when instantiating NetSapiensAuthProvider.
Default store is SQLite with encrypted credentials at rest.
@google-cloud/firestore is moved to optional peer dependencies. If using MCP_PERSISTENCE=firestore, install @google-cloud/firestore in the consumer environment.
Legacy file token storage (http-tokens.json and MCP_PERSISTENCE=file) has been removed.
GOOGLE_CLOUD_PROJECT no longer auto-selects Firestore; set MCP_PERSISTENCE=firestore explicitly.
MCP_TOKEN_STORE_PATH, FIRESTORE_AUTH_CODES_COLLECTION, and FIRESTORE_RESUME_TOKENS_COLLECTION are removed. Use MCP_STORE_PATH and MCP_STORE_NAMESPACE.
Upgrading to 3.0.0 requires users to sign in again because the encrypted session store format is updated.
Removed library exports: legacy store implementations (FirestoreTokenStore, FirestoreAuthCodeStore, and file-based token stores) have been removed. Use createStore, createSqliteStore, createFirestoreStore, or createMemoryStore.
Tool availability:
Version-aware tool filtering: tools are now gated based on the target NetSapiens host version.
NetSapiens 45.0 and 46.0 tools follow published API documentation.
Corrected transfer_call semantics:
type: "peer" is removed because it invoked an undocumented route.
Attended transfer now accepts consult_call_id, looks up core-server and call-session-id, and bridges call legs.
Blind transfer sends to using the documented call-term-user parameter.
AuthHooks: onVerify runs during refresh-token exchange before any upstream refresh grant. If onVerify throws InvalidTokenError, the family is revoked and the client receives 400 invalid_grant. Operational errors preserve the family and return 400 temporarily_unavailable.
Features
Encrypted default storage using SQLite on local disk with 0600 file mode.
Distributed persistence support via Firestore with Cloud Firestore TTL policies.
Role-aware tool visibility and execution gating across all supported NetSapiens versions.
Guarded client layer preventing invocation of unsupported routes.
Streamable HTTP and stdio transports with OAuth 2.1 authorization code flow and PKCE.
OAuth permanence: permanent refresh families, 30-second replay grace window for response-lost retries, late-replay family revocation, tool-call 401 automatic upstream refresh retry, and transactional v2.4 Firestore adoption.
Signed Firestore adoption can reconstruct a PR56 session from its complete, identity-consistent refresh record when its access document was removed by TTL, without extending the stored bearer expiry.
Firestore adoption checks existing target graphs during dry runs and before preparation, rejecting partial or conflicting targets before migration writes.