Repository navigation
Conversation
Move IMcpServerBuilder into ModelContextProtocol.Core and type-forward it from ModelContextProtocol. The Apps, Skills, and Tasks extension packages now depend only on ModelContextProtocol.Core and Microsoft.Extensions.Options, so clients no longer pull in hosting and caching abstractions. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This branch has not been deployed
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.
Agent assessment
Self-reported assessment, not an independent review.
Assessed revision:
269dea31f6d315ff13b8f14006ddbd0c54b5058f↑ Extension samples and the conformance server build.
↓ AspNetCore.Tests and AOT test app could not be restored offline; the full unit suite has 63 integration failures because the npm test server is not installed.
Summary
Move
IMcpServerBuilderintoModelContextProtocol.Core, while keeping a type forwarder inModelContextProtocol. The Apps, Skills, and Tasks extension packages now depend on Core andMicrosoft.Extensions.Optionsinstead of the full package. The Skills builder registers resources directly throughbuilder.Services, avoiding its previous dependency on the full package'sWithResourcesextension.This reduces hosting and caching dependencies for clients consuming these extensions. Server projects that relied on an extension package to bring in
AddMcpServer()transitively must now referenceModelContextProtocolorModelContextProtocol.AspNetCoredirectly. Pairing a new extension package with an oldModelContextProtocolversion may also produce CS0433 because both assemblies define the interface.Validation
Related to dotnet/aspnetcore#70314. cc @jeffhandley @tarekgh
Note
This pull request description was generated with GitHub Copilot.