Skip to content

Conversation

@dgageot
Copy link
Member

@dgageot dgageot commented Jan 17, 2026

Implement full MCP elicitation support in the runtime and TUI, distinguishing between OAuth flows and standard elicitation requests.

  • Add ElicitationDialog component that parses JSON schema to create form fields (string, boolean, integer, number, enum types)
  • Add ElicitationResponseMsg to communicate responses from dialog
  • Update handleElicitationRequest to route OAuth vs form elicitation
  • Handle ElicitationResponseMsg in TUI to call ResumeElicitation

The elicitation dialog supports keyboard navigation, required field validation, and proper type conversion for submitted values.

Assisted-By: cagent

Fixes #450

Implement full MCP elicitation support in the runtime and TUI,
distinguishing between OAuth flows and standard elicitation requests.

- Add ElicitationDialog component that parses JSON schema to create
  form fields (string, boolean, integer, number, enum types)
- Add ElicitationResponseMsg to communicate responses from dialog
- Update handleElicitationRequest to route OAuth vs form elicitation
- Handle ElicitationResponseMsg in TUI to call ResumeElicitation

The elicitation dialog supports keyboard navigation, required field
validation, and proper type conversion for submitted values.

Assisted-By: cagent
@dgageot dgageot requested a review from a team as a code owner January 17, 2026 17:38
@rumpl rumpl merged commit 093635d into docker:main Jan 17, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mcp elicitation support

3 participants