Skip to content

Commit 5730f3e

Browse files
committed
fixes in README
1 parent 4b5fb0f commit 5730f3e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/examples/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This directory contains example implementations of MCP clients and servers using
1616
Multi node with state management example will be added soon after we add support.
1717

1818

19-
### Simple Server with Streamable Http transport (`server/simpleStreamableHttp.ts`)
19+
### Simple server with Streamable HTTP transport (`server/simpleStreamableHttp.ts`)
2020

2121
A simple MCP server that uses the Streamable HTTP transport, implemented with Express. The server provides:
2222

@@ -32,7 +32,7 @@ npx tsx src/examples/server/simpleStreamableHttp.ts
3232

3333
The server will start on port 3000. You can test the initialization and tool listing:
3434

35-
### Server supporting with SSE via GET (`server/standaloneSseWithGetStreamableHttp.ts`)
35+
### Server supporting SSE via GET (`server/standaloneSseWithGetStreamableHttp.ts`)
3636

3737
An MCP server that demonstrates how to support SSE notifications via GET requests using the Streamable HTTP transport with Express. The server dynamically adds resources at regular intervals and supports notifications for resource list changes (server notifications are available through the standalone SSE connection established by GET request).
3838

@@ -46,9 +46,10 @@ The server will start on port 3000 and automatically create new resources every
4646

4747
### Server with JSON response mode (`server/jsonResponseStreamableHttp.ts`)
4848

49-
This is not recommented way to use the transport, as its quite limiting and not supporting features like logging and progress notifications on tool execution.
5049
A simple MCP server that uses the Streamable HTTP transport with JSON response mode enabled, implemented with Express. The server provides a simple `greet` tool that returns a greeting for a name.
5150

51+
_NOTE: This demonstrates a server that does not use SSE at all. Note that this limits its support for MCP features; for example, it cannot provide logging and progress notifications for tool execution._
52+
5253
#### Running the server
5354

5455
```bash
@@ -101,8 +102,7 @@ SESSION_ID=$(curl -X POST \
101102
echo "Session ID: $SESSION_ID
102103
103104
```
104-
105-
Once thre is a session we can send POST requests
105+
Once a session is established, we can send POST requests:
106106
107107
#### List tools
108108
```bash

0 commit comments

Comments
 (0)