[Bug] MCP prompt argument replacements fail with multi-word prompt arguments
Bug Description
Claude Code does not support multi-word arguments for prompts over MCP. If you are connected to an MCP server which serves prompts, you can simple type / and access whatever prompts are available on the prompt server. Some prompts can take arguments. Right now, you cannot pass multi-word arguments to the server.
Say for example you have a translation prompt like "convert the following phrase into french: {{phrase}}". When you type /translate buildings are tall and press enter, only the first word "buildings" is sent to the server and thus the resulting prompt that is sent to the agent is "convert the following phrase into french: buildings"
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.0.70
- Feedback ID:
Errors
[]This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗