Skip to content

feat: add MCP elicitation support#329

Open
konippi wants to merge 2 commits intostrands-agents:mainfrom
konippi:feat-mcp-elicitation-support
Open

feat: add MCP elicitation support#329
konippi wants to merge 2 commits intostrands-agents:mainfrom
konippi:feat-mcp-elicitation-support

Conversation

@konippi
Copy link
Contributor

@konippi konippi commented Dec 7, 2025

Description

This PR implements elicitation support for MCP clients, enabling servers to request additional user input during tool execution.

Related Issues

#232

Documentation PR

Type of Change

New feature

Testing

How have you tested the change?

  • I ran npm run check

Checklist

  • I have read the CONTRIBUTING document
  • I have added any necessary tests that prove my fix is effective or my feature works
  • I have updated the documentation accordingly
  • I have added an appropriate example to the documentation to outline the feature, or no new docs are needed
  • My changes generate no new warnings
  • Any dependent changes have been merged and published

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/**
* Parameters passed to the elicitation callback when the server requests user input.
*/
export interface ElicitRequestParams {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to define these interfaces ourselves or does MCP have definitions already in their sdk package?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, we don't need it. I've made it so we use the MCP SDK types directly.

@konippi konippi requested a review from pgrayy January 28, 2026 16:04
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.

2 participants