Skip to content

Bug: Server fails with "Invalid output schema... draft-07" on all tool calls #8

Description

@saleh3d-1

Bug: Server fails with "Invalid output schema... draft-07" on all tool calls

Environment

  • Package: @meshy-ai/meshy-mcp-server
  • Version: 0.4.0 (latest on npm as of report date)
  • OS: macOS
  • MCP Clients tested: Claude Desktop (v. current) and Claude Code v2.1.241
  • Install method: npx add-mcp @meshy-ai/meshy-mcp-server --env MESHY_API_KEY=...

Description

After a clean install and valid API key configuration, every tool call (including meshy_check_balance and meshy_text_to_3d) fails with the same error on both Claude Desktop and Claude Code:

واجهت مشكلة تقنية عند محاولة توليد النموذج ثلاثي الأبعاد. أداة Meshy المتصلة بجهازك ترجع خطأ برمجياً ثابتًا:

السبب: خادم Meshy MCP يُعرّف مخطط الإخراج (output schema) بصيغة قديمة (draft-07) غير مدعومة من الأدوات المتوافقة مع الجلسة الحالية.

(Translated summary: The Meshy MCP server defines its output schema using the legacy draft-07 JSON Schema format, which is not supported/validated correctly by the current MCP client tooling. This causes every tool invocation to fail, including simple ones like balance checks.)

Steps to Reproduce

  1. Install via npx add-mcp @meshy-ai/meshy-mcp-server --env MESHY_API_KEY=<valid_key>
  2. Confirm install targets Claude Desktop and/or Claude Code
  3. Restart the client
  4. Confirm server status shows connected/running
  5. Trigger any tool call (e.g., ask Claude to check Meshy credit balance, or generate a 3D model from text)
  6. Observe failure referencing an outdated draft-07 output schema definition

Expected Behavior

Tool calls should execute normally and return valid results (balance check, model generation, etc.)

Actual Behavior

All tool calls fail immediately with an output schema validation error referencing the draft-07 JSON Schema draft version.

Additional Notes

  • API key was verified correct and valid (confirmed via working config with no Invalid MESHY_API_KEY errors)
  • Server shows as "running"/"connected" in both clients' UI before the schema error surfaces
  • Issue is consistent and reproducible across two separate MCP client implementations (Claude Desktop, Claude Code), suggesting the schema definition itself in the package output is the root cause rather than client-side incompatibility
  • npm cache clean --force + reinstall did not resolve the issue
  • Confirmed 0.4.0 is the latest published version via npm view @meshy-ai/meshy-mcp-server version

Suggested Fix

Update the output schema definitions in the server's tool registration to use a JSON Schema draft version compatible with current MCP client validators (e.g., draft 2020-12 or whichever the MCP SDK currently expects).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions