Guidance on migrating from SSE to Streamable HTTP in MCP SDK C# #790
Replies: 1 comment
-
|
Hi , @maximilianosilva 'IMcpServerBuilder' does not contain a definition for 'WithHttpServerTransport' my cs project -> |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Pre-submission Checklist
Question Category
Your Question
Hello,
I'm working with the MCP SDK for C# and have a question about migrating my transport from Server-Sent Events (SSE) to Streamable HTTP.
My current server-side configuration in Program.cs is:
This works perfectly. It exposes the http://localhost:3004/sse endpoint, and my MCP client connects to it successfully.
Now, I want to update my implementation to use the new Streamable HTTP transport. I assumed that by using the same configuration, the base endpoint (http://localhost:3004) would work for the streamable connection, but my client fails to recognize it.
Could you please clarify the following?
Any examples or documentation on this transition would be greatly appreciated.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions