Title: VS Code integration fails
Last modified: August 23, 2026

---

# VS Code integration fails

 *  Resolved [crazyeverything](https://wordpress.org/support/users/crazyeverything/)
 * (@crazyeverything)
 * [3 weeks, 3 days ago](https://wordpress.org/support/topic/vs-code-integration-fails/)
 * 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](https://wordpress.org/support/users/rpteam/)
 * (@rpteam)
 * [3 weeks, 3 days ago](https://wordpress.org/support/topic/vs-code-integration-fails/#post-19000831)
 * Hey [@crazyeverything](https://wordpress.org/support/users/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 atload 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](https://wordpress.org/support/users/rpteam/)
 * (@rpteam)
 * [3 weeks, 3 days ago](https://wordpress.org/support/topic/vs-code-integration-fails/#post-19001027)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fvs-code-integration-fails%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/royal-mcp/assets/icon-256x256.png?rev=3448287)
 * [Royal MCP – Secure AI Connector for Claude, ChatGPT & any LLM via MCP](https://wordpress.org/plugins/royal-mcp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/royal-mcp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/royal-mcp/)
 * [Active Topics](https://wordpress.org/support/plugin/royal-mcp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/royal-mcp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/royal-mcp/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [rpteam](https://wordpress.org/support/users/rpteam/)
 * Last activity: [3 weeks, 3 days ago](https://wordpress.org/support/topic/vs-code-integration-fails/#post-19001027)
 * Status: resolved