[BUG] Resource autocomplete cannot dynamically change or update.
Resolved 💬 4 comments Opened Jul 11, 2025 by SamPeng87 Closed Aug 20, 2025
Bug Description
I developed an MCP server that exposes a list of resources. I also experimentally added a tool to dynamically add to this resource list. When starting Claude code, after the first @ or actively listing resources, the @ shows the resources exposed by MCP. However, after dynamically adding resources, listing resources correctly returns the new resource list. The @ autocomplete, however, does not update and cannot get the new resources. I tried sending notifications/resources/list_changed, but Claude code did not respond at all.
Steps to Reproduce
- start claude code。can see resource list and
@autocomplete work, - do something add resource and send
notifications/resources/list_changed, promptlist resourcescan list that new resource, but@no any changed,I can see mcp server not receive anything. - restart claude code,can see new resource list and
@is work fine
Expected Behavior
@can update by resource list changed- receive
notifications/resources/list_changedwith mcp,and send resource/list,that is mcp rfc defined
Actual Behavior
@can't update with resource list- not send resource/list after notifications/resources/list_changed
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗