-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Description
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.
Kvnyu
Metadata
Metadata
Assignees
Labels
No labels