Skip to content

MCP Elicitation email check is reversed #265325

@garciasdos

Description

@garciasdos

Does this issue occur when all extensions are disabled?: Yes

-Summary:
Submitting an MCP Elicitation Request with a field using schema format: 'email' results in an error when entering an email containing an @. The validation incorrectly rejects valid emails.

VS Code Version: 1.103.2
OS Version: macOS Sequoia 15.6

Steps to Reproduce:

  1. Initiate an MCP Elicitation Request.
  2. In any field expecting an email (format: 'email'), enter a valid address (e.g., user@example.com).
  3. Observe: As soon as an @ is entered, an error message appears and the input is rejected.

Expected Behavior:
Email addresses containing an @ should be accepted as valid.

Actual Behavior:
Emails with an @ are erroneously rejected.

Does this issue occur when all extensions are disabled? Yes

Additional Context:

  • Verified with VS Code Insiders, issue persists with all extensions disabled.
  • No external extensions are affecting validation.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code InsidersverifiedVerification succeeded

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions