Merge pull request #331 from koic/remove_obsolete_transport_module

Remove obsolete `MCP::Transports` module
This commit is contained in:
Koichi ITO 2026-04-29 00:20:50 +09:00 • committed by GitHub
commit 2ad3d21492
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,15 +0,0 @@
# frozen_string_literal: true
require_relative "../server/transports/stdio_transport"
warn <<~MESSAGE, uplevel: 3
Use `require "mcp/server/transports/stdio_transport"` instead of `require "mcp/transports/stdio"`.
Also use `MCP::Server::Transports::StdioTransport` instead of `MCP::Transports::StdioTransport`.
This API is deprecated and will be removed in a future release.
MESSAGE
module MCP
module Transports
StdioTransport = Server::Transports::StdioTransport
end
end