#6475·webstudio

Publish validation MCP call repeatedly returns gateway timeout

Author: webstudio-issue-reporter[bot]Created Sep 29, 2026Updated Sep 29, 2026

User story

As a user inspecting publish diagnostics through Webstudio MCP, I need validation to return the same actionable findings shown in Builder so I can identify and fix publish blockers.

Summary

The validate-publish MCP operation repeatedly failed with a gateway timeout instead of returning the validation report.

What the agent tried

  1. Initialized a temporary local workspace from a user-provided project share link.
  2. Called validate-publish for the production target twice.
  3. Both calls returned HTTP 504 after approximately 16 seconds.
  4. Read-only inspect and list-assets MCP operations succeeded for the same project.

Expected behavior

Return the complete validation findings, including document identity, location, and remediation guidance, or a structured actionable validation-timeout result.

Actual result

The MCP call failed before returning validation findings. The response was an HTML gateway timeout from the API request.

Recovery attempts

  1. Retried the validation call once.
  2. Confirmed other read-only MCP operations against the same project were successful.

User impact

The user cannot inspect the publish error through the MCP validation path, which prevents comparison of the report with the Builder dialog.

Technical context

Operation validate-publish; target production; HTTP 504 Gateway Timeout after approximately 16,000 ms. No project-specific values were included.

Agent environment

  • Client: Codex
  • Provider: unknown
  • Model: unknown
  • Reasoning effort: unknown
  • Trigger: automatic-friction
  • Category: tool-failure

Technical runtime

  • CLI: 0.302.0
  • Node.js: 22.22.1
  • Project ID: 3274ebde-fa97-421c-83a3-8dfafff69c53
  • Operating system: darwin 24 (arm64)
  • Execution mode: mcp
  • API contract: public-api:bixfi6
  • Bundle contract: bundle-1e81gg6
  • Session namespace issues: stale=none; missing=instances,styleSources,styleSourceSelections,assetFolders,breakpoints,marketplaceProduct; invalidated=none
  • Preview: stale=true; rendered=false; version matches session=unknown

Acceptance criteria

  1. Validation completes for projects with content assets within the supported request budget.
  2. If validation cannot complete, return a structured diagnostic with a useful cause and next step instead of an HTML gateway response.