We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
mcpSse
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Summary: Client requests .../sse//message?sessionId=... instead of .../message?sessionId=..., causing 404 errors.
.../sse//message?sessionId=...
.../message?sessionId=...
// Server (works) embeddedServer(CIO, host = "0.0.0.0", port = port) { MCP { configureServer() } }.start(wait = true) // Client (broken) val client = HttpClient(CIO) { install(SSE) }.mcpSse("http://localhost:$port/sse")
Trailing slash in the base URL causes double slashes in the request path.
Breaks client-server communication unless manually corrected.
The text was updated successfully, but these errors were encountered:
Add test to reproduce modelcontextprotocol#52
27622da
Solve issue modelcontextprotocol#52 by improving url handling in SseC…
e5b1503
…lientTransport
Merge branch 'main' into modelcontextprotocol#52-fix
1be4f91
be4f9c3
No branches or pull requests
Summary:
Client requests
.../sse//message?sessionId=...
instead of.../message?sessionId=...
, causing 404 errors.Steps to Reproduce
Issue
Trailing slash in the base URL causes double slashes in the request path.
Impact
Breaks client-server communication unless manually corrected.
The text was updated successfully, but these errors were encountered: