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:
commit
b10a469013
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue