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

    Interface CreateSessionOptions

    Options for creating a new session.

    interface CreateSessionOptions {
        auth?: AuthContext;
        clientInfo?: Partial<ClientInfo>;
        id?: string;
        mcpSession: McpSession;
        transport: Transport;
        transportType: TransportType;
    }
    Index

    Properties

    Initial auth context (defaults to anonymous)

    clientInfo?: Partial<ClientInfo>

    Initial client info

    id?: string

    Session ID (if undefined, will be generated)

    mcpSession: McpSession

    Managed MCP session instance

    transport: Transport

    MCP SDK transport instance

    transportType: TransportType

    Transport type