File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -5,17 +5,11 @@ class Client
55 # Initializes a new MCP::Client instance.
66 #
77 # @param transport [Object] The transport object to use for communication with the server.
8- # The transport should be a duck type that responds to both `#tools` and `#call_tool`.
9- # This allows the client to list available tools and invoke tool calls via the transport.
8+ # The transport should be a duck type that responds to `send_request`. See the README for more details.
109 #
1110 # @example
1211 # transport = MCP::Client::HTTP.new(url: "http://localhost:3000")
1312 # client = MCP::Client.new(transport: transport)
14- #
15- # @note
16- # The transport does not need to be a specific class, but must implement:
17- # - #tools
18- # - #call_tool(tool:, arguments:)
1913 def initialize ( transport :)
2014 @transport = transport
2115 end
You can’t perform that action at this time.
0 commit comments