Bug Description
When using the Webflow MCP server with Factory Droid (and likely other MCP clients), the component_builder tool fails validation with:
Error: 400 Invalid schema for function 'webflow___component_builder':
In context=('properties', 'actions', 'items', 'properties', 'component_schema', 'properties', 'slots', 'items', 'properties', 'children'),
array schema missing items.
Root Cause
The JSON Schema for the component_builder tool has a children field of type array that is missing the required items property. According to JSON Schema specification, arrays must define their items schema.
Expected Schema Structure
{
"children": {
"type": "array",
"items": { ... } // <-- This is missing
}
}
Impact
This causes the MCP server to fail initialization in any MCP client that performs strict JSON Schema validation. In Factory Droid Missions, this blocks the scrutiny/validation phase entirely.
Environment
Workaround
Users must remove/disable the Webflow MCP to proceed with their workflows.
Related
PR #106 fixed similar validation issues with Zod schema ordering - this may be another instance of the same pattern.
Bug Description
When using the Webflow MCP server with Factory Droid (and likely other MCP clients), the
component_buildertool fails validation with:Root Cause
The JSON Schema for the
component_buildertool has achildrenfield of typearraythat is missing the requireditemsproperty. According to JSON Schema specification, arrays must define theiritemsschema.Expected Schema Structure
{ "children": { "type": "array", "items": { ... } // <-- This is missing } }Impact
This causes the MCP server to fail initialization in any MCP client that performs strict JSON Schema validation. In Factory Droid Missions, this blocks the scrutiny/validation phase entirely.
Environment
Workaround
Users must remove/disable the Webflow MCP to proceed with their workflows.
Related
PR #106 fixed similar validation issues with Zod schema ordering - this may be another instance of the same pattern.