Skip to content

removed stdio transport support#15

Merged
sergiobayona merged 5 commits into
mainfrom
remove_suppport_for_stdio
Apr 9, 2026
Merged

removed stdio transport support#15
sergiobayona merged 5 commits into
mainfrom
remove_suppport_for_stdio

Conversation

@sergiobayona
Copy link
Copy Markdown
Owner

No description provided.

@sergiobayona
Copy link
Copy Markdown
Owner Author

/gemini-review

Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Gemini AI Code Review

Found 4 suggestions for improvement:

  • 💡 Medium: 4

This review was automatically generated by Gemini AI. Please review the suggestions carefully.

# Default fallback for non-HTTP request formats
{ headers: {}, params: {} }
end
end
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pull request is titled "removed stdio transport support", but the only change present is a modification to a comment. If functionality was indeed removed, the corresponding code changes appear to be missing. Could you please clarify if the title is accurate or if other changes should be included in this PR?

Comment thread lib/vector_mcp/server.rb Outdated
require_relative "session"
require_relative "errors"
require_relative "transport/stdio" # Default transport
# require_relative "transport/sse" # Load on demand to avoid async dependencies
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change removes the require for the stdio transport, which the comment identifies as the default. This is likely a breaking change.

If the code that instantiates or references the stdio transport still exists elsewhere, this will cause a LoadError or NameError at runtime. Is the transport's implementation file and its usage being removed in this PR as well?

For a significant change like this, the pull request description should be updated to explain the motivation and impact.

Comment thread lib/vector_mcp.rb Outdated
# to spin up an MCP-compatible server—including:
#
# * **Transport adapters** (synchronous `stdio` or HTTP + SSE)
# * **Transport adapters** (streamable HTTP and SSE)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The phrasing (streamable HTTP and SSE) is slightly ambiguous, as Server-Sent Events (SSE) is itself a streaming technology that runs over HTTP, making the description a bit redundant.

For improved clarity, could you consider one of the following?

If other streaming HTTP methods are supported in addition to SSE:

Suggested change
# * **Transport adapters** (streamable HTTP and SSE)
# * **Transport adapters** (streaming HTTP, including Server-Sent Events)

If SSE is the primary streaming mechanism, the previous wording (without stdio) is very clear:

Suggested change
# * **Transport adapters** (streamable HTTP and SSE)
# * **Transport adapters** (HTTP and SSE)

Comment thread lib/vector_mcp.rb
#
# server.run # => starts the stdio transport and begins processing JSON-RPC messages
# server.run # => starts the HTTP stream transport and begins processing JSON-RPC messages
# ```
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To improve clarity, could we be more specific about the type of 'HTTP stream transport' used by default? The following line mentions SSE as a production option, which might cause some confusion. If the default is also SSE, it would be great to state that explicitly.

@sergiobayona sergiobayona merged commit 5286eb2 into main Apr 9, 2026
0 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant