Skip to content

fix(schema): extract ElicitationCompleteNotificationParams to extend NotificationParams#2866

Merged
mcp-commander[bot] merged 1 commit into
modelcontextprotocol:mainfrom
clouatre:fix/elicitation-complete-notification-params
Jun 7, 2026
Merged

fix(schema): extract ElicitationCompleteNotificationParams to extend NotificationParams#2866
mcp-commander[bot] merged 1 commit into
modelcontextprotocol:mainfrom
clouatre:fix/elicitation-complete-notification-params

Conversation

@clouatre

@clouatre clouatre commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Summary

ElicitationCompleteNotification was the only notification in the schema whose params was an anonymous inline object. Every other notification (CancelledNotification, ProgressNotification, ResourceUpdatedNotification, LoggingMessageNotification, SubscriptionsAcknowledgedNotification) uses a named *NotificationParams interface that extends NotificationParams.

This extracts ElicitationCompleteNotificationParams extends NotificationParams and wires it into ElicitationCompleteNotification, restoring consistency and ensuring the universal _meta field is inherited.

Changes

  • schema/draft/schema.ts: add ElicitationCompleteNotificationParams interface before ElicitationCompleteNotification
  • schema/draft/schema.json: regenerated via npm run generate:schema
  • docs/specification/draft/schema.mdx: regenerated via npm run generate:schema

Testing

  • npm run check:schema passes clean (TypeScript, ESLint, Prettier, JSON validation, 127 examples)

Closes #2651

…NotificationParams

Signed-off-by: Hugues Clouâtre <hugues@linux.com>
@pja-ant

pja-ant commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

/lgtm

@mcp-commander mcp-commander Bot added the accepted SEP accepted by core maintainers, but still requires final wording and reference implementation. label Jun 7, 2026

@mcp-commander mcp-commander Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Approved on behalf of @pja-ant via /lgtm.

@mcp-commander mcp-commander Bot enabled auto-merge (squash) June 7, 2026 12:53
@mcp-commander mcp-commander Bot merged commit 77cb264 into modelcontextprotocol:main Jun 7, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accepted SEP accepted by core maintainers, but still requires final wording and reference implementation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ElicitationCompleteNotification: intentional omission of NotificationParams?

2 participants