You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -126,7 +126,6 @@ Notifications follow the JSON-RPC 2.0 specification and use these method names:
126
126
127
127
-**stdio**: Notifications are sent as JSON-RPC 2.0 messages to stdout
128
128
-**Streamable HTTP**: Notifications are sent as JSON-RPC 2.0 messages over HTTP with streaming (chunked transfer or SSE)
129
-
-**Stateless Streamable HTTP**: Notifications are not supported and all calls are request/response interactions; allows for easy multi-node deployment.
130
129
131
130
#### Usage Example
132
131
@@ -136,16 +135,22 @@ server = MCP::Server.new(name: "my_server")
136
135
# Default Streamable HTTP - session oriented
137
136
transport =MCP::Server::Transports::StreamableHTTPTransport.new(server)
138
137
139
-
# OR Stateless Streamable HTTP - session-less
140
-
transport =MCP::Server::Transports::StreamableHTTPTransport.new(server, stateless:true)
0 commit comments