Skip to content

[release/10.4] Enable stateless mode in remote MCP server template (#7441)#7445

Merged
jeffhandley merged 1 commit intodotnet:release/10.4from
jeffhandley:jeffhandley/mcpserver-template-1.2.0-release
Apr 1, 2026
Merged

[release/10.4] Enable stateless mode in remote MCP server template (#7441)#7445
jeffhandley merged 1 commit intodotnet:release/10.4from
jeffhandley:jeffhandley/mcpserver-template-1.2.0-release

Conversation

@jeffhandley
Copy link
Copy Markdown
Member

@jeffhandley jeffhandley commented Mar 31, 2026

Stages the release of the Microsoft.McpServer.ProjectTemplates 1.2.0 package release from the release/10.4 branch.

Microsoft Reviewers: Open in CodeFlow

* Enable stateless mode in remote MCP server template

The MCP C# SDK v1.2.0 recommends explicitly setting stateless or stateful
mode for HTTP-based servers. Since the template server only exposes tools
and does not need server-to-client requests (sampling, elicitation), set
Stateless = true per the SDK getting-started guidance.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Bump ModelContextProtocol packages to 1.2.0

Update ModelContextProtocol.Core, ModelContextProtocol, and
ModelContextProtocol.AspNetCore package versions from 1.1.0 to 1.2.0
to match the SDK release that introduces stateless mode defaults.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Bump to 10.0.5 packages (align with the MCP transitive dependencies)

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jeffhandley jeffhandley requested review from a team as code owners March 31, 2026 19:23
@jeffhandley jeffhandley requested a review from ericstj March 31, 2026 19:24
@github-actions github-actions bot added the area-ai-templates Microsoft.Extensions.AI.Templates label Mar 31, 2026
@jeffhandley jeffhandley merged commit 0034cc0 into dotnet:release/10.4 Apr 1, 2026
6 checks passed
@jeffhandley jeffhandley deleted the jeffhandley/mcpserver-template-1.2.0-release branch April 1, 2026 05:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-ai-templates Microsoft.Extensions.AI.Templates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants