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 request updates README by adding missing interface property and tuning the service code.
Motivation and Context
When I was following the README examples with my first try on MCP-server, my server didn't list its tools to the client and didn't quit after I stopped the client. I spent some time fixing issues and want to share my solutions, because it seems to me that official README needs some actualization.
How Has This Been Tested?
I tested it in Claude for Mac.
Breaking Changes
Types of changes
Checklist
Additional context
shutdown()
func is not protocoled and confuses the developer.Task.sleep()
is hard to configure with a proper timeout and it won't stopMCPService
when EOF is received.ServiceGroupError.serviceFinishedUnexpectedly
.4.2. Refactor usage of deprecated
ServiceGroup(services:,configuration:,logger:)
.