Skip to content

Commit b10a469

Browse files
authored
Merge pull request #157 from koic/fix_a_typo_for_streamable_http_transport
[Doc] Fix incorrect example code in README
2 parents 77370cb + a217f70 commit b10a469

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ Notifications follow the JSON-RPC 2.0 specification and use these method names:
131131

132132
```ruby
133133
server = MCP::Server.new(name: "my_server")
134-
transport = MCP::Transports::HTTP.new(server)
134+
transport = MCP::Server::Transports::StreamableHTTPTransport.new(server)
135135
server.transport = transport
136136

137137
# When tools change, notify clients

0 commit comments

Comments
 (0)