unknown MCP #312
Replies: 2 comments
-
|
Thank you for the report. It is a new but already known problem. Your report is helpful anyway because it provides well detailed information. If you know which exact tool provides incorrect format - that would be even more helpful. Anyway, I will do my own investigation and the fix of the problem. |
Beta Was this translation helpful? Give feedback.
-
|
@shlypa100-maker I made the fix at least of some of the tools. Please let me know if you find a tool which still provide incorrect structured content. And please keep your eye on the tool name, it would help to fix it. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! I’ve encountered a problem when using Unity-MCP with the Cursor (and Codex) MCP clients.
Unity-MCP is installed correctly and shows “Connected” inside the Unity AI Game Developer window. Tools are successfully detected by Cursor, but when any tool is executed, the client throws the following error:
MCP error -32602: Structured content does not match the tool's output schema: data.result should be string
It seems that the structuredContent returned by the Unity-MCP server does not fully match the outputSchema expected by the MCP client. Cursor performs strict JSON schema validation and fails when “result” is not a string or when the server returns fields not defined in the schema.
Environment:
Reproduction:
Structured content does not match the tool's output schema: data.result should be string
Notes:
Expected:
Tool outputs should match the declared outputSchema exactly, so strict MCP clients like Cursor/Codex can validate them successfully.
Thank you for your work on this project!
Beta Was this translation helpful? Give feedback.
All reactions