With #248 and #250 we have added a workaround for some issues with zod and zod-to-json-schema.
In the meantime, MCP sdk has working on a fix aswell: modelcontextprotocol/typescript-sdk#1040
Once this fix has been released, we should incorporate it, and hopefully revert the workaround.