Looking for documentation on the mcp subscribeToResource and setNotificationHandler for live transcript monitoring #5
Unanswered
SohaibTaqat
asked this question in
Q&A
Replies: 0 comments
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.
-
Hey everyone! I'm trying to figure out how to use resource subscriptions in MCP but I'm completely stuck. I found a code snippet in the guide section that shows client.subscribeToResource() and client.setNotificationHandler() being used, but I can't find these methods documented anywhere else in the SDK or docs.
I'm building a meeting assistant that needs to monitor live transcript updates from a MCP server and trigger AI responses in real-time. The server does support resource subscriptions, and the subscription pattern seems ideal for this use case to avoid polling.
I've been searching everywhere online but I'm totally lost on why I can't find any resources or documentation about these methods. Am I looking in the wrong places? Could someone please point me to where these methods are defined in the TypeScript SDK, or share any examples on how to use them correctly? Also, if there's a better approach for real-time resource monitoring in MCP, I'd really appreciate any guidance.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions