Skip to content

Added AspNetCoreClient sample, Extended the existing AspNetCoreSseServer sample #404

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sabbadino
Copy link

Motivation and Context

The samples folder contains a AspNetCoreSseServer, but not a AspNetCoreClient

How Has This Been Tested?

No changes in the library, just adding a sample.
The AspNetCoreSseServer has been modified to add a new MCP tool

Breaking Changes

None

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • [X ] New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • [ X] I have read the MCP Documentation
  • [X ] My code follows the repository's style guidelines
  • [ X] New and existing tests pass locally
  • [X ] I have added appropriate error handling
  • [ X] I have added or updated documentation as needed

Additional context

The AspNetCoreClient acceptts sampling.
The new WeatherMcpTool added to AspNetCoreSseServer asks for sampling (if the requiresPostProcessing is true)
Added AddHttpLogging in the AspNetCoreSseServer to see request and response payload

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.

2 participants