claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] MCP prompt not working with title

Open fabiodouek opened this issue 4 months ago • 6 comments

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When using a MCP with prompts, I can see the list of prompts when I type / . The MCP prompt also has a title and Claude code show it correctly. However, when I select the prompt (which has a blank space on it), then Claude code returns the error "unknown slash command". The title should be used to display only, but it seems that Claude code is sending the title rather than the name. Not sure if the issue is due to a blank space in the title or Claude code sending the title rather than the name.

What Should Happen?

Claude should be able to invoke the slash command when titles are specified in prompts

Error Messages/Logs

Unknown slash command: spec-workflow:Create

Steps to Reproduce

Add this MCP server : https://github.com/Pimzino/spec-workflow-mcp

Try to use any of the prompts this MCP server provide

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

1.0.96

Platform

AWS Bedrock

Operating System

Other Linux

Terminal/Shell

VS Code integrated terminal

Additional Information

No response

fabiodouek avatar Sep 11 '25 17:09 fabiodouek