Remove obsolete MCP::Transports module
## Motivation and Context `lib/mcp/transports/stdio.rb` was a deprecated shim that redirected users from `MCP::Transports::StdioTransport` to `MCP::Server::Transports::StdioTransport`. It has been 10 months since the migration path was introduced, providing sufficient time for users to update their code. ## How Has This Been Tested? All tests pass (`rake test`), and no code in the repository references `MCP::Transports` or `mcp/transports/stdio`. ## Breaking Changes `require "mcp/transports/stdio"` and `MCP::Transports::StdioTransport` are removed. Use `require "mcp/server/transports/stdio_transport"` and `MCP::Server::Transports::StdioTransport` instead.
This commit is contained in:
parent
a89047af60
commit
ceea440ca5
1 changed files with 0 additions and 15 deletions
|
|
@ -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
|
||||
Loading…
Reference in a new issue