-
Notifications
You must be signed in to change notification settings - Fork 48
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
Unable to Retrieve Tools on Cursor and Cline Using the Weather Example JAR #59
Comments
This looks like the same issue as #56 |
I checked the Cursor log:
At the same time, the server responds correctly to the tools/list request:
I verified this manually, both in the terminal and using the Inspector |
When I debugged this (with the latest versions of Cursor and the library), the server threw an exception at this line and didn't respond to Cursor: The reason is that this server implementation expects the |
This fixes the issue (with Cursor at least), albeit in a bit of a hacky way: |
@jerryion new version of kotlin-sdk 0.4.0, works great with Cursor in chat with agent mode. I’m closing this issue as resolved — if you encounter any problems with Cline, feel free to reopen the issue. |
Given that my PR isn't merged yet, how did this get fixed in the end? |
After packaging the weather-stdio-server into a JAR, the ClientStdio in the test directory successfully retrieves the tools. However, when configuring MCP on Cursor and Cline as per the README, the connection is successful, but the available tools cannot be listed.
Environment: macOS 15.3.2, JDK 17
Cursor 0.47.8

Cline 3.8.0

The text was updated successfully, but these errors were encountered: