Skip to content

Conversation

halter73
Copy link
Contributor

  • This removes the requirement to configure data protection which is the motivating reason for this change
  • This means that McpServer.ClientInfo will always be null in stateless mode

We could also consider removing McpServerOptions.KnownClientInfo and StreamableHttpServerTransport.OnInitRequestReceived since the StreamableHttpHandler no longer uses them, but they still could be useful to people trying to use StreamableHttpServerTransport directly.

I'll be on vacation the next two weeks. If someone wants to go ahead and merge this before I get back, that's fine by me. Otherwise, I'll address any feedback once I'm back from vacation.

Fixes #682

- This removes the requirement to configure data protection which is the motivating reason for this change
- This means that McpServer.ClientInfo will always be null in stateless mode
# Conflicts:
#	src/ModelContextProtocol.AspNetCore/StreamableHttpHandler.cs
#	src/ModelContextProtocol.Core/Server/McpServerExtensions.cs
@halter73 halter73 merged commit 47b9582 into main Oct 2, 2025
9 of 10 checks passed
@halter73 halter73 deleted the halter73/sessionless branch October 2, 2025 22:57
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.

Stateless Mode with Scaling Not Working
2 participants