Skip to content

Session ID support? #91

@damian0815

Description

@damian0815

I would like to have some way of using a persistent session ID. I believe the way to do this is to implement the sessionIdGenerator arg for StreamableHTTPTransport - currently inside initializeMcpApiHandler it's hardcoded to undefined (https://github.com/vercel/mcp-adapter/blob/0b92b2e915108e24cefb9df5667f6befff840737/src/handler/mcp-api-handler.ts#L263C1-L266C6)

Please provide an optional implementation of session IDs or expose this sessionIdGenerator parameter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions