-
Notifications
You must be signed in to change notification settings - Fork 457
java mcp message endpoint error #76
New issue
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
Comments
fix #75 |
Could you achieve the required behaviour by passing just an empty And I believe it should be fixed in Java SDK anyway. |
I think giving choices is a better approach. |
Java has not fixed this problem in 7 versions. We need to consider industry compatibility to ensure a wider audience, and I don't know how long it will take for the Java author to fix this problem. |
I suppose it would be great for the cross-project references if you could link a relevant issue in Java SDK project. |
OK, I'll go back and make a suggestion. |
Because the implementation of java mcp sdk does not handle the problem of messageEndpoint returning CompleteMessageEndpoint URI when splicing messageEndpoint and base URL, it simply splices, resulting in the phenomenon of http://localhost/mcphttp://localhost/mcp/message.
Here are the references:
https://github.com/modelcontextprotocol/java-sdk/releases/tag/v0.8.1
The text was updated successfully, but these errors were encountered: