MCP Server Framework - v1.0.0
    Preparing search index...

    Type Alias SessionConfigInput

    SessionConfigInput: Partial<SessionConfig> & {
        lifecycle?: SessionLifecycleHooks;
        store?: SessionStore;
    }

    Partial config for user overrides.

    Type Declaration

    • Optional Readonlylifecycle?: SessionLifecycleHooks

      Optional lifecycle hooks for client connect/disconnect events

    • Optional Readonlystore?: SessionStore

      Custom session store implementation.

      When provided, replaces the built-in InMemorySessionStore. Useful for horizontal scaling with Redis, PostgreSQL, or another shared backend.

      The store must implement the SessionStore interface.