MCP Connect panel Download package and bridge options
MCP 403 recovery

Appifio Creator · Lesson X09 · Troubleshooting

MCP 403 / expired bridge
(~24h) & 60-day token

The IDE reports 403 Forbidden after about a day, or MCP “dies” suddenly - usually an expired bridge zip or a revoked/expired token. That is intentional design, not a random bug.

Goal: Tell bridge expiry (~24h) apart from token expiry (60 days); follow the UI order; know when to Revoke.

Before: T12, H02, K12 · After: X10

MCP tab UI: Enable MCP integration · Save MCP state · Create / resume session · Create token · Revoke · Download Appifio Aura MCP package (.zip)

1. 403 diagnosis map

IDE / Cursor MCP → 403 Forbidden after ~24h?
Bridge package expired (~24h)
→ MCP tab → Download Appifio Aura MCP package (.zip) again → update IDE config (K12)
403 immediately / old token / suspected leak?
Revoke the old token → Create token (copy once only)
“Create a sandbox session… before creating a token”?
→ Click Create / resume session first
no_api_key / Backend empty?
Backend tab - create an API key first (T06)

2. Two kinds of expiry

ComponentLifetimeSymptomFix
Bridge zip~24 hours403 after ~1 work day; package no longer acceptedDownload a new zip + update the IDE path
MCP token60 days403 early; token > 60 days; or already RevokedRevoke (if leaked) → Create a new token
Sandbox sessionPer session“No session yet”; MCP tools don’t list filesCreate / resume session

3. Recovery steps (correct order)

  1. "Backend" tab - confirm you have a backend API key (32-character hex). Missing → create it in account settings first.
  2. "MCP" tab → enable "Enable MCP integration""Save MCP state".
  3. "Create / resume session" - wait until a Session ID appears (no more “No session yet”).
  4. If the old token expired or may be leaked: "Revoke" → confirm → "Create token" → copy immediately (shown once only).
  5. Click "Download Appifio Aura MCP package (.zip)" - extract to a path without spaces (K12).
  6. Update mcp-config in Cursor/IDE - new token + new zip path (on Windows, Prefer Method A with /).
  7. Restart the MCP server in the IDE → try listing sandbox files.
  8. After IDE edits: open Creator → "Changes""Save changes" to go live (T12).

4. Comparison · Security

  • SSH key rotation: similar to Revoke + Create token when you suspect a leak.
  • OAuth refresh token: the 24h bridge is like a short session - you must re-download periodically.

Security: the zip and token are secrets - do not commit them to a public Git repo; the package README reminds you to keep them private. Token leaked on Slack/screenshot → Revoke immediately. About 10 tokens per session max - clean up tokens from old machines you no longer use.

5. Issues · Advice

SituationFix
403 every morning after a work day24h bridge - download a new zip; set an end-of-day reminder
Token “lost” after createUI shows it once - Revoke + Create again; store in a password manager
Windows JSON path errorsUse forward slashes or escaped backslashes (K12)
IDE edits OK but the site didn’t changeMCP only writes the sandbox - you still need Save changes in Creator (X13)
  • End of a work week: download a fresh zip on Monday - don’t assume last week’s bridge still works.
  • One dev machine = one labeled token (e.g. Lenovo laptop).

6. Checklist

  1. Did you Create / resume session before Create token?
  2. Can you tell a bridge fix (24h) apart from a token fix (60 days)?
  3. Do you know when to Revoke, and never commit tokens to a repo?

Next: X10 - APK build failed

Appifio Creator · User guide · X09