Open
Description
I'm working on a web based chat application. Unlike desktop apps (Claude Desktop, Cursor IDE, ...), at each moment multiple users might be working with my app. What is the recommended way of using MCP client in this scenario?
- Should I reuse one transport/client for all of the users? As I see in the code, the auth function does not support more than one user
- Should I create a new client/transport for each of the active users? the overhead of Initialization flow is too much in this case. also it is unclear how long the transport will be alive and when it should be terminated
Metadata
Metadata
Assignees
Labels
No labels