Skip to content

Commit 6604a48

Browse files
committed
fix client yard docs
1 parent 743e487 commit 6604a48

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

lib/mcp/client.rb

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)