Merge pull request #157 from koic/fix_a_typo_for_streamable_http_transport

[Doc] Fix incorrect example code in README
This commit is contained in:
Koichi ITO 2025-10-10 01:03:52 +09:00 • committed by GitHub
commit b10a469013
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -131,7 +131,7 @@ Notifications follow the JSON-RPC 2.0 specification and use these method names:
```ruby
server = MCP::Server.new(name: "my_server")
transport = MCP::Transports::HTTP.new(server)
transport = MCP::Server::Transports::StreamableHTTPTransport.new(server)
server.transport = transport
# When tools change, notify clients