Repository navigation
Conversation
yrobla
force-pushed
the
issue-54
branch
3 times, most recently
from
June 23, 2025 07:02
c1dc8f3 to
27c8e01
Compare
dmjb
reviewed
Jun 23, 2025
yrobla
force-pushed
the
issue-54
branch
2 times, most recently
from
June 23, 2025 07:40
64301f8 to
5f02a8c
Compare
yrobla
force-pushed
the
issue-54
branch
3 times, most recently
from
June 23, 2025 09:10
f8abb73 to
2f260c6
Compare
dmjb
suggested changes
Jun 23, 2025
Contributor
There was a problem hiding this comment.
Pull Request Overview
Adds support for streamable HTTP transport alongside SSE throughout the test suite, core transport implementation, client URL generation, CLI commands, and documentation.
- Introduce HTTPTransport and
NewMCPClientForStreamableHTTP, extendingWaitForMCPServerReadyto handle a “streamable-http” mode. - Update
GenerateMCPServerURLand its tests to accept a transportType parameter. - Extend runner, CLI flags, CRDs, and OpenAPI docs to include the new transport option.
Reviewed Changes
Copilot reviewed 29 out of 30 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| test/e2e/mcp_client_helpers.go | Added NewMCPClientForStreamableHTTP and extended WaitForMCPServerReady |
| pkg/transport/http.go | Renamed SSETransport to HTTPTransport and added transportType field |
| pkg/client/config.go | Changed GenerateMCPServerURL signature and logic |
| pkg/client/config_test.go | Updated tests to pass transportType to GenerateMCPServerURL |
| cmd/thv/app/run.go & inspector.go | Updated CLI flags and inspector logic for the new transport |
| cmd/thv-operator/api/v1alpha1 | Bumped CRD enum and docs for streamable-http transport |
| docs/… | Bumped versions, updated swagger schemas, and CLI/CRD docs for new transport |
Comments suppressed due to low confidence (1)
pkg/client/config_test.go:283
- Add a test case for streamable-http transport to TestGenerateMCPServerURL to ensure GenerateMCPServerURL correctly handles the new transport mode.
url := GenerateMCPServerURL(types.TransportTypeSSE.String(), tt.host, tt.port, tt.containerName)
dmjb
approved these changes
Jun 23, 2025
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.
Closes: #54