-
Notifications
You must be signed in to change notification settings - Fork 0
Implement automatic tool list refresh using the SDK's toolListChanged… #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems partially baked. I don't see how the tool list changed handler will ever be called.
Also, It would be good to fully explain the changes in the description of your PR.
Woops. Just noticing this is on your personal fork.
Hey @cliffhall modelcontextprotocol/typescript-sdk#1206 We need to reimplement this since it was merged. Edit: It's now live in 1.25.0 And currently on main, we have ^1.24.3, so it's will be ok ? |
…Options by chipgpt:feature/tool-list-change-notification-handler
Updated implementation to align with the new tools list change behavior introduced in @modelcontextprotocol/sdk v1.25.0 and later. See: modelcontextprotocol/typescript-sdk#1206
1894079 to
62289e4
Compare
…n `useConnection`
|
I’ve fixed and updated the branch to align with the SDK v1.25.0 changes. The implementation has been rebased and cleaned up, and now only includes the relevant commits related to the tool list change handling. Do you think this branch would be a good candidate to propose as a PR against inspector’s main branch? Thanks for taking a look! |

Candidate (not clean) branch for this implemntation SDK