Skip to content

Comments

Add Extensions support to ClientCapabilities and ServerCapabilities#1317

Merged
stephentoub merged 3 commits intomainfrom
copilot/reimplement-experimental-handling
Feb 21, 2026
Merged

Add Extensions support to ClientCapabilities and ServerCapabilities#1317
stephentoub merged 3 commits intomainfrom
copilot/reimplement-experimental-handling

Conversation

Copy link
Contributor

Copilot AI commented Feb 19, 2026

  • Add Extensions_DiagnosticId, Extensions_Message, and Extensions_Url constants to Experimentals.cs (all mapping to MCPEXP001)
  • Add Extensions property to ClientCapabilities using the internal *Core property pattern ([Experimental][JsonIgnore] public + [JsonInclude][JsonPropertyName] internal)
  • Add Extensions property to ServerCapabilities using the same pattern
  • Update docs/list-of-diagnostics.md to include Extensions in the MCPEXP001 description
  • Add serialization roundtrip tests for Extensions in existing test files
  • Build and verify all tests pass (0 warnings, 0 errors)
  • Differentiate XML doc remarks: "Clients advertise..." vs "Servers advertise..."
  • Security scan (CodeQL: 0 alerts)

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

…SEP-2133)

Add Extensions property to both ClientCapabilities and ServerCapabilities
using the internal *Core property pattern for experimental APIs. Extensions
use the same MCPEXP001 diagnostic ID as Tasks, with dedicated constants in
Experimentals.cs for clarity.

Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
Copilot AI changed the title [WIP] Reimplement handling of [Experimental] with recent changes Add Extensions support to ClientCapabilities and ServerCapabilities Feb 19, 2026
Copilot AI requested a review from stephentoub February 19, 2026 22:24
…ilities

Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
@stephentoub stephentoub marked this pull request as ready for review February 20, 2026 00:22
@stephentoub stephentoub enabled auto-merge (squash) February 20, 2026 00:22
Copilot AI requested a review from stephentoub February 20, 2026 00:22
@stephentoub stephentoub merged commit c2aa6a5 into main Feb 21, 2026
10 of 11 checks passed
@stephentoub stephentoub deleted the copilot/reimplement-experimental-handling branch February 21, 2026 08:08
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.

3 participants