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

Resolved 💬 5 comments Opened Jun 29, 2025 by emanuelturis 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 ↗

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