Replies: 1 comment
-
|
Well, I would like to know that myself. I tried to implement the WithSubscribeToResourcesHandler scenario. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Pre-submission Checklist
Question Category
Your Question
I am using ModelContextProtocol.AspNetCore.
I cache the IMCPServer instance obtained in the handler .WithHttpTransport(opts => opts.RunSessionHandler = ...) and use it later to send notifications about changes to the Tools list.
However, I haven't found a way to detect when the session is finished, so that I can remove the IMCPServer instance from the cache. Is there a recommended way to do this?
Beta Was this translation helpful? Give feedback.
All reactions