We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1134421 commit 247aec9Copy full SHA for 247aec9
src/mcp/server/sse.py
@@ -6,12 +6,12 @@
6
Example usage:
7
```
8
# Create an SSE transport at an endpoint
9
- sse = SseServerTransport("/messages")
+ sse = SseServerTransport("/messages/")
10
11
# Create Starlette routes for SSE and message handling
12
routes = [
13
Route("/sse", endpoint=handle_sse),
14
- Mount("/messages", app=sse.handle_post_message),
+ Mount("/messages/", app=sse.handle_post_message),
15
]
16
17
# Define handler functions
0 commit comments