Skip to content

Conversation

@olaservo
Copy link
Member

@olaservo olaservo commented Oct 8, 2025

Fixes #755

Motivation and Context

This was bugging me for a while (that you need to manually enter one of the valid options as text).

How Has This Been Tested?

Tested (in Chrome on Windows) with the annotatedMessage tool from the Everything server (using using npx -y @modelcontextprotocol/server-everything@latest on stdio)

See Loom below for example:

MCP Inspector - 7 October 2025 - Watch Video

Breaking Changes

None

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

@evalstate
Copy link
Member

Old:

image

New and improved:

image

This is great @olaservo -- had someone raise an issue with me the other day because of [the lack of] this.

LGTM

Copy link
Member

@cliffhall cliffhall left a comment

Choose a reason for hiding this comment

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

Tested with mcp-maintainer-toolkit / enumDropdownTest

Image

@cliffhall cliffhall enabled auto-merge October 10, 2025 18:13
@cliffhall cliffhall merged commit 6d691e9 into modelcontextprotocol:main Oct 10, 2025
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.

Dropdown for enums

3 participants