feat(server): add streamable-http transport option#268
Open
chiting wants to merge 2 commits into
Open
Conversation
fc06a64 to
7d718c4
Compare
7d718c4 to
1bb365f
Compare
Allow proxy to use http in addition to stdio.
Add --health-path CLI argument (default /health) to allow customizing the health check endpoint path for streamable-http transport.
1bb365f to
6c219a8
Compare
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.
Summary
Changes
Allow proxy to use
streamable-httptransport in addition tostdio.User experience
My use case is I can't use stdio because my agent is containerized and I don't want the agent accessing my aws credentials.
User can pass the
--transportflag to usestreamable-httpin addition tostdioand call the MCP via HTTP.Because of the lack of authentication, which can be implemented separately, this should be used with caution.
Checklist
If your change doesn't seem to apply, please leave them unchecked.
Is this a breaking change? (Y/N)
Please add details about how this change was tested.
Acknowledgment
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.