Skip to content

Commit 78061f7

Browse files
committed
StreamableHTTP -> Streamable HTTP
1 parent 16f1d64 commit 78061f7

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ It implements the Model Context Protocol specification, handling model context r
3333
- Manages tool registration and invocation
3434
- Supports prompt registration and execution
3535
- Supports resource registration and retrieval
36-
- Supports stdio & StreamableHTTP (including SSE) transports
36+
- Supports stdio & Streamable HTTP (including SSE) transports
3737

3838
### Supported Methods
3939
- `initialize` - Initializes the protocol and returns server capabilities
@@ -52,14 +52,14 @@ It implements the Model Context Protocol specification, handling model context r
5252
- Log Level
5353
- Resource subscriptions
5454
- Completions
55-
- Complete StreamableHTTP implementation with streaming responses
55+
- Complete Streamable HTTP implementation with streaming responses
5656

5757
### Usage
5858

5959
#### Rails Controller
6060

6161
When added to a Rails controller on a route that handles POST requests, your server will be compliant with non-streaming
62-
[StreamableHTTP](https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http) transport
62+
[Streamable HTTP](https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http) transport
6363
requests.
6464

6565
You can use the `Server#handle_json` method to handle requests.

examples/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ruby examples/stdio_server.rb
1414
```
1515

1616
### 2. HTTP Server (`http_server.rb`)
17-
A standalone HTTP server built with Rack that implements the MCP StreamableHTTP transport protocol. This demonstrates how to create a web-based MCP server with session management and Server-Sent Events (SSE) support.
17+
A standalone HTTP server built with Rack that implements the MCP Streamable HTTP transport protocol. This demonstrates how to create a web-based MCP server with session management and Server-Sent Events (SSE) support.
1818

1919
**Features:**
2020
- HTTP transport with Server-Sent Events (SSE) for streaming
@@ -127,11 +127,11 @@ curl -X POST http://localhost:9393 \
127127
-d '{"jsonrpc":"2.0","method":"tools/call","id":2,"params":{"name":"notification_tool","arguments":{"message":"Hello from cURL!"}}}'
128128
```
129129

130-
## StreamableHTTP Transport Details
130+
## Streamable HTTP Transport Details
131131

132132
### Protocol Flow
133133

134-
The HTTP server implements the MCP StreamableHTTP transport protocol:
134+
The HTTP server implements the MCP Streamable HTTP transport protocol:
135135

136136
1. **Initialize Session**:
137137
- Client sends POST request with `initialize` method

examples/http_server.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def template(args, server_context:)
9393
}]
9494
end
9595

96-
# Create the StreamableHTTP transport
96+
# Create the Streamable HTTP transport
9797
server.transport = MCP::Transports::HTTP.new(server)
9898

9999
# Create a logger for MCP-specific logging

examples/sse_test_server.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def call(message:, delay: 0)
6363
MCP::Tool::Response.new([{ type: "text", text: "Echo: #{message}" }])
6464
end
6565

66-
# Create the StreamableHTTP transport
66+
# Create the Streamable HTTP transport
6767
server.transport = MCP::Transports::HTTP.new(server)
6868

6969
# Create a logger for MCP request/response logging

0 commit comments

Comments
 (0)