Commit 8876787
authored
Update sse.py to preserve url base
fix: preserve base path when joining /messages from SSE endpoint
Previous behavour, a MCP server at:
https://my-mcp-server.com/mcp/weather-alerts/sse
would fail to connect to messages as the endpoint would be called as:
https://my-mcp-server.com/messages
It should be:
https://my-mcp-server.com/mcp/weather-alerts/messages1 parent c2ca8e0 commit 8876787
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
0 commit comments