Use this guide when Cursor cannot list personas or MCP requests fail after setup.
401 Unauthorized or authentication errors
Symptoms: Cursor reports unauthorized, 401, or empty persona lists despite a configured server.
Remediation:
- Re-run Authorize for Cursor (MCP) from the dashboard MCP CONNECT panel.
- Download or copy a fresh configuration — do not reuse an old token.
- Replace the `personaforge` entry in `~/.cursor/mcp.json` and restart Cursor.
- Alternatively, create a new MCP Access Key under Settings → Security, then download the updated configuration.
Wrong MCP URL
Symptoms: Connection timeouts, 404, `Cannot POST /`, "unsupported method", or SSE `Invalid content type` errors.
Remediation:
- Re-download configuration from Authorize for Cursor (MCP) on the dashboard or create a new key under Settings → Security — use the `url` from that artifact in your `mcp.json`.
- The URL must end with `/mcp` (for example `https://your-mcp-host.onrender.com/mcp`). If you see `Cannot POST /` in Cursor logs, your config is pointing at the service root without `/mcp` — re-download configuration or append `/mcp` manually.
- Production uses the value from `NEXT_PUBLIC_MCP_URL` — never point at localhost unless you are running `mcp-server` locally for engineering.
- After correcting the URL, restart Cursor.
Expired or revoked token
Symptoms: MCP worked previously but suddenly returns 401 or empty data.
Remediation:
- Open Settings → Security and review MCP Access Keys.
- Revoke compromised or unused keys.
- Create a new key or re-authorize from the dashboard, then replace your Cursor configuration.
Session errors (Bad Request: No valid session ID)
Symptoms: Errors mentioning session ID, SSE 404, or streamable HTTP failures.
Remediation:
- Restart Cursor after updating `mcp.json`.
- Ensure you are on the latest hosted `mcp-server` deployment (operators: redeploy Render if the endpoint is stale).
- Re-authorize to obtain a configuration that includes the required headers block.
SSE stream drops after several minutes (`Failed to open SSE stream`)
Symptoms: MCP connects and works briefly, then fails with `Failed to open SSE stream` / `Maximum reconnection attempts exceeded` after roughly 5–10 minutes of idle time.
Cause: Hosted proxies (e.g. Render) can close long-lived SSE connections. The MCP client then tries to reopen the notification stream on the same session.
Remediation:
- Restart Cursor — this starts a fresh MCP session.
- Operators: deploy the latest `mcp-server` (includes SSE reconnect handling).
- If the problem persists after a server restart or Render spin-down, re-authorize from the dashboard so Cursor picks up a new session.
Still stuck?
Email support@chamelain.com with your org name and the error message from Cursor (redact any tokens).