Add Extensions support to ClientCapabilities and ServerCapabilities#1317
Open
Add Extensions support to ClientCapabilities and ServerCapabilities#1317
Conversation
…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
stephentoub
reviewed
Feb 20, 2026
| /// </para> | ||
| /// <para> | ||
| /// Extensions provide a framework for extending the Model Context Protocol while maintaining | ||
| /// interoperability. Both clients and servers advertise extension support via this field during |
Contributor
There was a problem hiding this comment.
@copilot this comment ends the corresponding one in client capabilities should be tweaked. This one is about server, that I've is about client
Contributor
Author
There was a problem hiding this comment.
Fixed in 6ea42fc. The remarks now say "Clients advertise..." in ClientCapabilities and "Servers advertise..." in ServerCapabilities.
stephentoub
approved these changes
Feb 20, 2026
…ilities Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
halter73
approved these changes
Feb 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Extensions_DiagnosticId,Extensions_Message, andExtensions_Urlconstants toExperimentals.cs(all mapping toMCPEXP001)Extensionsproperty toClientCapabilitiesusing the internal*Coreproperty pattern ([Experimental][JsonIgnore]public +[JsonInclude][JsonPropertyName]internal)Extensionsproperty toServerCapabilitiesusing the same patterndocs/list-of-diagnostics.mdto include Extensions in theMCPEXP001description💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.