-
Notifications
You must be signed in to change notification settings - Fork 5
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
New line breaks the json format and throwing issue #21
Comments
Hi @bibekditagtech, |
@bibekditagtech this PR (#22 ) escapes the new line characters before sending it to the server's stdin. This seems a general limitation of the stdio transport. The sse transport won't have such problems. |
@tzolov when will this be release. I am using 0.2.0-SNAPSHOT which contain old code. |
@bibekditagtech, the 0.2.0-SNAPSHOT already contains line escaping functionality. However, this represents the limit of what an MCP client can do - the server must be capable of handling the escaped content. |
Hello spring team,
I am having issue with complex user query, for simple query it work well. if i try complex query json break to parse.
java.lang.RuntimeException: com.fasterxml.jackson.core.JsonParseException: Illegal unquoted character ((CTRL-CHAR, code 10)): has to be escaped using backslash to be included in string value at [Source: (String)"{"query": "SELECT SUM(rnd_hours) as total_rnd_hours FROM rnds
I have tried to override McpFunctionCallback and call function to sanitize response. howver work on first call but failed during internal call. I m using mcp-server-mysql https://github.com/designcomputer/mysql_mcp_server. I really dont know issue need to be report here or client . so sorry in advance
The text was updated successfully, but these errors were encountered: