Bump ModelContextProtocol to 1.2.0#896
Merged
Merged
Conversation
Moves Dashboard and Lite from the 0.7.0-preview.1 SDK to the stable 1.2.0 release. The C# SDK landed 1.0 between these two points and the codebase happens to use only the stable subset of the surface (attributes, AddMcpServer/WithHttpTransport/WithTools<T>/MapMcp, DI-bound tool methods) — none of the breaking changes (filter API rename, RequestContext ctor, RunSessionHandler, binary-content types, McpServerHandlers, legacy SSE) touch this repo. 154 [McpServerTool] sites and 39 [McpServerToolType] sites compile unchanged. Zero source code changes — packaging only. Verified: - Dashboard and Lite build clean (0 errors) - Lite launches; the in-process MCP server starts on :5151 - A POST initialize against the new Streamable HTTP transport returns the full server capabilities and tool descriptions Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
9d63e4e to
987317c
Compare
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.
Summary
Moves
ModelContextProtocolandModelContextProtocol.AspNetCorein Dashboard and Lite from 0.7.0-preview.1 → 1.2.0 — getting off the preview tag and onto a stable 1.x.The C# SDK landed 1.0 between these two points, but our codebase happens to use only the stable subset of the surface that survived 1.0 stabilization unchanged:
[McpServerTool]/[McpServerToolType]attributes — every site already specifiesName = "..."AddMcpServer(...)→.WithHttpTransport().WithTools<T>()chains_app.MapMcp()None of the actually-breaking APIs across 0.7→1.2 are referenced anywhere in this repo: filter API rename (
Add*Filter→WithMessageFilters/WithRequestFilters),RequestContextctor signature,RunSessionHandler,ImageContentBlock.Data/AudioContentBlock.Data/FromImage/FromAudio,McpServerHandlers, legacy SSE endpoints. 154[McpServerTool]sites + 39[McpServerToolType]sites compile unchanged. Zero source code changes — packaging only.Behavioral changes worth knowing
Protocol-Versionheaders)./sseand/messageendpoints are off by default. Server-side is fine since we already useWithHttpTransport()— but any consumer pinned to the old SSE endpoints needs to switch to Streamable HTTP.Test plan
POST /initializeagainst the new Streamable HTTP transport returns the full server capabilities and tool list (verified via curl,serverInfo.version = "1.2.0")list_servers,get_collection_health) end-to-end🤖 Generated with Claude Code