I can sign in, but I can't edit anything.
Your (iss, sub) identity does not have an editor or admin role on this backend yet. Redeem a one-time invite link at /admin?invite=<token> or via MCP invite_redeem. See Editors and roles.
My change is not on the live site.
Edits always land in the draft first. Review them via your preview link and click Publish in /admin (or call MCP publish). See Draft and publish.
I published, but Next.js still shows old content.
The backend signs revalidation webhooks with x-mstack-signature and x-mstack-timestamp. Confirm that HEADCODE_REVALIDATE_SECRET matches on both your Uncloud container and Vercel, and that HEADCODE_REVALIDATE_URL points to https://<your-site>/api/revalidate.
Images don't load through Next.js Image Optimization.
Make sure HEADCODE_URL is set on Vercel so next.config.ts adds /media/** from your backend to images.remotePatterns.
Publish is refused because of a schema error.
You added or changed fields in headcode/sections.ts and pushed a new schema. The error lists every draft entry that does not match yet. Update and save those entries in /admin or ask your MCP agent to migrate them.
My AI client cannot connect to MCP.
The single-tenant MCP endpoint is https://<your-backend>/mcp (no /p/<project> segment). Run node apps/backend/scripts/smoke.mjs https://<your-backend>/mcp to verify OAuth 2.1 metadata, dynamic client registration, and tool discovery.
Something else
Check the README on GitHub or let your coding agent inspect container logs with uc logs headcode.