• Resolved crazyeverything

    (@crazyeverything)


    After connecting from VS Code as MCP endpoint, VS Code throws the error:

    Failed to validate tool mcp_royal_mcp_wor_divi_replace_text: Error: tool parameters array type must have items. Please open an issue for the MCP server or extension which provides this tool

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support rpteam

    (@rpteam)

    Hey @crazyeverything

    Thanks for the report + the verbatim error, that’s a bug on our side, not a VS Code config issue.
    Confirming what’s happening:

    Our divi_replace_text tool’s inputSchema declares replacements as type: array without an items field.
    Per JSON Schema spec, every type: array schema must declare items, Claude and ChatGPT are lax about this and accept the tool anyway; VS Code’s MCP validator is strict per spec and rejects the whole tool at
    load time.

    We’re fixing it in the next Royal MCP release along with a few sibling schemas we found while scanning for the same pattern. When that ships to WordPress.org you’ll be able to update and the tool will register cleanly in VS Code.

    Expect next release in 24-48hrs, will post here when its out.

    RP Team

    Plugin Support rpteam

    (@rpteam)

    V1.4.43 is tested and out, thanks again for reporting!

    RP Team

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.