[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

  1. start claude code。can see resource list and @ autocomplete work,
  2. do something add resource and send notifications/resources/list_changed, prompt list resources can list that new resource, but @ no any changed,I can see mcp server not receive anything.
  3. restart claude code,can see new resource list and @ is work fine

Expected Behavior

  1. @ can update by resource list changed
  2. receive notifications/resources/list_changed with mcp,and send resource/list,that is mcp rfc defined

Actual Behavior

  1. @ can't update with resource list
  2. not send resource/list after notifications/resources/list_changed

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗