Skip to content

Client SDK support for notifications/tools/list_changed? #205

Open
@dylburger

Description

@dylburger

Is your feature request related to a problem? Please describe.

This is more of a question vs. a feature request, so please let me know if I should direct elsewhere.

I've implemented a server that supports the notifications/tools/list_changed notification. But I noticed the TypeScript client SDK doesn't handle that notification natively. Are individual MCP clients expected to set their own notification handler for that message, updating the list of tools for that particular session accordingly?

Describe the solution you'd like

It might be nice for the client SDK to have a helper method like the Java SDK does. I added this in a fork while we work on our server, but didn't want to raise a PR before getting feedback on how you expect the client to handle this situation.

Fantastic project! Looking forward to working with MCP more.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions