Skip to content

Conversation

@CocaineCong
Copy link
Contributor

Fix: #758

  • validate schema only for accept action
  • add enum for action in consts.go
  • add unit test

Copy link
Contributor

@maciej-kisiel maciej-kisiel left a comment

Choose a reason for hiding this comment

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

Thanks a lot for the contribution! I left a few minor comments.

@CocaineCong
Copy link
Contributor Author

Thanks a lot for the contribution! I left a few minor comments.

Got it, I've already made all the changes. PTAL.

@maciej-kisiel maciej-kisiel merged commit b29ab52 into modelcontextprotocol:main Jan 28, 2026
5 checks passed
@maciej-kisiel
Copy link
Contributor

Thanks a lot for contributing!

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] Content validation should be done only for accept action

2 participants