Claude Code doesn't respond to MCP notifications/prompts/list_changed for dynamic command updates

Status Fixed / completed
Maintainer reply None cached
Activity 5 comments · opened Jun 29, 2025 · closed Aug 16, 2025

Summary

Claude Code is not properly handling MCP notifications/prompts/list_changed notifications, preventing dynamic updates of custom commands without restarting the application.

Expected Behavior

When an MCP server sends a notifications/prompts/list_changed notification, Claude Code should:

  1. Receive the notification
  2. Make a new prompts/list request to get the updated prompt list
  3. Refresh its available commands and make new forward-slash commands immediately available

Actual Behavior

  • Custom MCP commands added to .claude/commands/ directory don't appear in Claude's available commands
  • Sending notifications/prompts/list_changed notification has no effect
  • Claude Code does not make a subsequent prompts/list request when the notification is received
  • Only way to pick up new commands is to restart Claude Code entirely

Use Case

I'm developing custom forward-slash commands and want to iterate on them quickly. Currently, I have to restart Claude Code every time I add a new command, which breaks my development workflow.

Steps to Reproduce

  1. Create a custom MCP command (e.g., /mcp:tool)
  2. Send MCP notification:

``json
{
"jsonrpc": "2.0",
"method": "notifications/prompts/list_changed"
}
``

  1. Observe that Claude Code does not make a prompts/list request
  2. Try to use the new command in Claude Code
  3. Command is not available until full restart

Environment

  • Claude Code version: 1.0.36
  • MCP server: Custom implementation
  • Commands directory: .claude/commands/

Request

Please implement proper handling of MCP notifications/prompts/list_changed by making a prompts/list request when the notification is received, enabling dynamic command updates without restarts.

View original on GitHub ↗

5 Comments

SamPeng87 · 1 year ago

I think Claude Code has not implemented any of the notifications protocol standards at all. For example, notifications/resources/list_changed does not respond at all.

github-actions[bot] · 1 year ago

Found 2 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/4094
  2. https://github.com/anthropics/claude-code/issues/4384

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

RobbieMcKinstry · 1 year ago

This issue or https://github.com/anthropics/claude-code/issues/4094 are the tickets that should remain open, since they most precisely pinpoint the issue. There are a handful of other issues that could be closed as duplicates.

emanuelturis · 1 year ago

I'll close it since it seems like it's a duplicate. It can be reopened if there's no progress on the other issue.

github-actions[bot] · 1 year ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.