Skip to content

Commit 517ff08

Browse files
readme, comment
1 parent 80abc73 commit 517ff08

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,14 @@ pip install -r requirements.txt
7777
```
7878

7979
### Local Streamable HTTP, SSE
80-
If you're testing Streamable HTTP OR SSE, in one terminal pane you'll need to start the server:
80+
If you're testing (stateless) Streamable HTTP OR SSE, in one terminal pane you'll need to start the server:
8181
```bash
8282
source venv/bin/activate
8383
export API_KEY=$(heroku config:get API_KEY -a $APP_NAME)
8484
# Either run src.streamable_http_server or src.sse_server, here:
8585
uvicorn src.streamable_http_server:app --reload
8686
```
87-
*Running with --reload is optional, but great for local development*
87+
*Running with `--reload` is optional, but great for local development*
8888

8989
Next, in a new pane, you can try running some queries against your server:
9090
#### Local Streamable HTTP, SSE - Example Requests

example_clients/test_streamable_http.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ async def run(method_name: str, raw_args: str = None):
1919

2020
headers = {"Authorization": f"Bearer {API_KEY}"}
2121

22-
# Proper unpacking: don't treat the 3rd item as part of the session
2322
async with streamablehttp_client(MCP_SERVER_URL, headers=headers) as (read_stream, write_stream, get_session_id):
2423
async with ClientSession(read_stream, write_stream) as session:
2524
await session.initialize()

0 commit comments

Comments
 (0)