-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Labels
kind/bugSomething isn't workingSomething isn't workingpriority/p1Important and should be addressed in the near term.Important and should be addressed in the near term.sub-area/mcpIssues related to the Model Context Protocol (MCP).Issues related to the Model Context Protocol (MCP).
Description
What happened?
- Create a custom
/find
prompt. - Type
/find lions
- Press
Enter
/find lions
is overwritten byfind --animal=""
custom-prompt-overwrite.mov
What did you expect to happen?
I expect pressing Enter
to run the custom MCP command and not to override the text.
Client information
CLI Version 0.1.17
Model gemini-2.5-pro
Sandbox no sandbox
OS linux
Auth Method cloud-shell
GCP Project cloudshell-gca
Login information
Cloud Shell
Anything else we need to know?
Code for the MCP Server
@mcp.prompt()
def find(animal: str) -> str:
"""
Find which exhibit and trail a specific animal might be located.
"""
return (
f"Please find the exhibit and trail information for {animal} in the zoo. "
f"Respond with '[animal] can be found in the [exhibit] on the [trail].'"
f"Example: Penguins can be found in The Arctic Exhibit, on the Polar Path."
)
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't workingSomething isn't workingpriority/p1Important and should be addressed in the near term.Important and should be addressed in the near term.sub-area/mcpIssues related to the Model Context Protocol (MCP).Issues related to the Model Context Protocol (MCP).