Improved samples: added weather tool in AspNetCoreSseServer and option to connect via http to AspNetCoreSseServer. #469
Merged
halter73 merged 11 commits intomodelcontextprotocol:mainfrom Aug 27, 2025
Conversation
…-sdk-forked into improve-samples
halter73
approved these changes
Aug 27, 2025
Contributor
halter73
left a comment
There was a problem hiding this comment.
Sorry for the delay in reviewing this. It is nice to have a non-authenticated HTTP client sample, and I do think it makes sense to allow LLM to have the conversation history context. I fixed the most recent merge conflicts and made a few other style changes, but the functionality is exactly the same. Thanks for contributing this!
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.
Motivation and Context
Currently the QuickStartClient contains samples using stdio only , no samples using http.
The AspNetCoreSseServer has been modified to add a new MCP tool (GetWeather).
The QuickStartClient has been modified to accept "http" as argument: If "http" is provided, it will connect to AspNetCoreSseServerb via http.
The QuickStartClient has been modified to allow LLM to have the conversation history context.
How Has This Been Tested?
No changes in the library, just adding a sample.
Breaking Changes
None
Types of changes
Checklist
Additional context
N/A