Using notifications/tools/list_changed
#76
-
Pre-submission Checklist
Discussion TopicI have been trying to find an example usage for the From my understanding, a server should declare the capability: "capabilities": {
"resources": {},
"tools": {
"listChanged": true
}
} then, when the list changes, it should send the message, upon which the client (I guess) would send a new Using Claude Desktop as a client, I slightly modified the weather server to send a few notifications and append a new tool to the list, but it does not seem like the change is followed by a Is Claude Desktop implementing this feature, and if it is, what am I missing? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 11 replies
-
You're using it correctly, but Claude Desktop doesn't support this at the moment—sorry for the confusion. |
Beta Was this translation helpful? Give feedback.
-
You can use Github Copilot. It supports list changed notifications (I tested it with my mcp hot reloading tool for MCP called synf) |
Beta Was this translation helpful? Give feedback.
-
Hi @jspahrsummers, I have a question regarding MCP's discovery mechanism. The MCP document states that when the list of tools changes, a message will be sent to the client, which should then send a new tools/list request. However, I'm wondering about what happens if I only modify the function body or return value of a tool, without changing any of the metadata (such as the name, parameters, or description). From what I’ve observed, MCP seems to only send a notification when metadata changes. So my question is: If I hot-update the internal logic of a tool, but leave the metadata unchanged, will MCP still send a notification to the client? Or will it ignore this kind of update? Thank you in advance! Looking forward to hearing your insights. |
Beta Was this translation helpful? Give feedback.
-
@jspahrsummers any updates on this issue with Claude Desktop? Please respond |
Beta Was this translation helpful? Give feedback.
-
Closing as this issue is about Claude Desktop, not MCP. I encourage interested parties to use Anthropic's support channels for information related to their products. |
Beta Was this translation helpful? Give feedback.
You're using it correctly, but Claude Desktop doesn't support this at the moment—sorry for the confusion.