Skip to content

Is there support for Notifications? #139

Closed Answered by ravitemer
PatOConnor43 asked this question in Q&A
Discussion options

You must be logged in to vote

@PatOConnor43 Thank you. It is supposed to work without "r" refreshing. I remember testing it with puppeteer and stagehand where on taking a screenshot we get the new screenshots resources. I have pointed out locations where we handle these notifications both in mcp-hub and mcphub.nvim repos.

In mcp-hub repo, we propagate notifications from MCPConnection.js to MCPHub.js to server.js

https://github.com/ravitemer/mcp-hub/blob/87e87598a982df18cb6e5d3a7bc8d866deaa86e7/src/MCPConnection.js#L239-L260

https://github.com/ravitemer/mcp-hub/blob/87e87598a982df18cb6e5d3a7bc8d866deaa86e7/src/MCPHub.js#L73-L77

https://github.com/ravitemer/mcp-hub/blob/87e87598a982df18cb6e5d3a7bc8d866deaa86e7/src/serve…

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by PatOConnor43
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ravitemer
Comment options

Comment options

You must be logged in to vote
1 reply
@ravitemer
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants