-
Notifications
You must be signed in to change notification settings - Fork 97
feat: add proxy stdio subcommand to enable Claude Desktop #1236
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
Conversation
eac4b38
to
4537362
Compare
04f16ab
to
440522c
Compare
It will allow to transform transport from a workload that is http/sse to stdio Closes: #1166
Co-authored-by: Copilot <[email protected]> Update pkg/transport/bridge.go Co-authored-by: Copilot <[email protected]> Update pkg/transport/bridge.go Co-authored-by: Copilot <[email protected]> Update pkg/transport/bridge.go Co-authored-by: Copilot <[email protected]> Update pkg/transport/bridge.go Co-authored-by: Copilot <[email protected]> Update pkg/transport/bridge.go Co-authored-by: Copilot <[email protected]> Update pkg/transport/bridge.go Co-authored-by: Copilot <[email protected]> Update pkg/transport/bridge.go Co-authored-by: Copilot <[email protected]> Update pkg/transport/bridge.go Co-authored-by: Copilot <[email protected]> Update pkg/transport/bridge.go Co-authored-by: Copilot <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a new "proxy stdio" subcommand to enable integration with Claude Desktop by bridging HTTP/SSE transport protocols to stdio for MCP servers.
- Introduces a stdio bridge component that proxies MCP requests between stdin/stdout and upstream HTTP/SSE servers
- Adds comprehensive end-to-end tests covering different transport protocol combinations
- Updates CLI documentation to include the new proxy stdio subcommand
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.
Show a summary per file
File | Description |
---|---|
test/e2e/proxy_stdio_test.go | Complete test suite for proxy stdio functionality with multiple transport protocol scenarios |
pkg/transport/bridge.go | Core stdio bridge implementation handling upstream connections and request forwarding |
pkg/container/images/registry.go | Minor import alias change for consistency |
docs/cli/thv_proxy_stdio.md | Documentation for new proxy stdio command |
docs/cli/thv_proxy.md | Updated to reference new stdio subcommand |
cmd/thv/app/proxy_stdio.go | CLI command implementation for proxy stdio |
cmd/thv/app/proxy.go | Integration of stdio subcommand into proxy command |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
It will allow to transform transport from a workload that is http/sse to stdio
Closes: #1166