-
Notifications
You must be signed in to change notification settings - Fork 546
Everything server #151
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
Merged
halter73
merged 51 commits into
modelcontextprotocol:main
from
aaronpowell:dotnet-everything
Apr 4, 2025
Merged
Everything server #151
halter73
merged 51 commits into
modelcontextprotocol:main
from
aaronpowell:dotnet-everything
Apr 4, 2025
Conversation
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
This will mean we can return multiple AIContent objects from a tool, such as a mixed text/image set Contributes to modelcontextprotocol#68
- Introducing separate classes for Text and Blob ResourceContents - Custom JSON converter to allow those types to be returned, making it easier to follow the type system against the spec - Updated tests
Co-authored-by: Stephen Toub <[email protected]> Co-authored-by: Peder Holdgaard Pedersen <[email protected]>
Co-authored-by: Stephen Toub <[email protected]>
…csharp-sdk into improving-resources
|
@PederHP - Added logging in a similar design to TestServer. Also added a new method to the |
PederHP
approved these changes
Apr 1, 2025
halter73
reviewed
Apr 2, 2025
halter73
reviewed
Apr 2, 2025
halter73
reviewed
Apr 3, 2025
halter73
approved these changes
Apr 3, 2025
Co-authored-by: Stephen Halter <[email protected]>
aaronpowell
commented
Apr 3, 2025
|
Thank you! |
This was referenced Jul 24, 2025
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.
This is an implementation of https://www.npmjs.com/package/@modelcontextprotocol/server-everything
The objective of this sample is to have all the usage covered using the .NET SDK and ensure that we can implement as much complexity as possible.
Improvements can be done with the completion of #70 and #72.
The only thing I think that is missing from here is logging - I can't find a way to set that.Logging implemented. I added aWithSetLoggingLevelHandlermethod to theMcpServerBuilderand fixed theMcpServerHandlersthat wasn't exposing logging capabilities.Commit history is a bit of a mess as I kept merging with branches as I was updating gaps.