Debug Vercel build failures with MCP

Ask the agent to separate a Vercel platform incident from a project error. The first call is get_cloud_status. The second is the build log. The third, when the status page is clear, is ping_endpoint on the deployment URL.

Example

get_cloud_status { "provider": "vercel" }
→ { "status": "operational" }
ping_endpoint { "url": "https://wolrdpulse.app/en" }
→ { "status": 200 }

Steps

  1. Read Vercel status. Call get_cloud_status with provider vercel. If the description names a build incident, stop editing the app.
  2. Read the build log. If status is operational, open the Vercel build log and quote the first error diagnostic.
  3. Probe the last URL. Call ping_endpoint on the deployment URL. A 200 means the last deployment still serves.

Notes

Before: the agent edits next.config because the build is red. After: it quotes the status feed and only edits the file when the feed is operational and the log names that file.

Questions

What is the first tool call?

get_cloud_status with provider vercel. Do not open next.config until that result is back and the status is operational.

What does a clear status plus a red build mean?

The platform feed is quiet, so the error is in the project log. Read that log before changing configuration.

Where is the connect URL?

Add https://wolrdpulse.app/sse under the server key wolrdpulse, then rerun this workflow from Cursor, Claude, or Windsurf.

Related tools and integrations

Connect at https://wolrdpulse.app/sse