-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
Problem
When an MCP server sends an elicitation/create request with a multi-property form (e.g., an enum selector + a text input field) OR just an enum selector, the Copilot CLI requires Ctrl+S to submit the form. This is unintuitive for users accustomed to pressing Enter to confirm a selection.
The v0.0.422 changelog added "Pressing Enter in required enum field now selects the highlighted option" which doesn't seem to work
Use Case
My MCP server presents a form like:
{
"message": "PR #28 has a new comment. What would you like to do?",
"requestedSchema": {
"properties": {
"choice": {
"type": "string",
"oneOf": [
{ "const": "address", "title": "Address this comment" },
{ "const": "explain", "title": "Explain and suggest" },
{ "const": "handle_myself", "title": "I'll handle it myself" }
]
}
}
}
}This renders as a list of choices. The user should be able to:
- Select a choice and press Enter to submit (most common path)
Currently, they must use Ctrl+S which is not discoverable and breaks the flow.
Feature Request
One or more of the following:
- Allow Enter to submit when the user has made a selection in an enum field (even in multi-property forms)
- Add a configurable keybinding for form submission (e.g.,
elicitation.submitKeyinsettings.json)
Environment
- Copilot CLI v0.0.422
- Windows, PowerShell
- Using MCP elicitation from a custom MCP server (C# SDK v1.0.0)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels