← CapCutCONTENT HISTORY
WHAT CHANGED
Update to CapCut
Snapshot Nov 23, 2026 · 12:11 UTC · version 0.3.0
Collection source: downloaded plugin package.
First saved snapshot
No earlier snapshot is available to establish a change.
Save CapCut and check future changes in Following.
Up to 3 plugins free · no card required.
Compare saved observations
Download comparison JSONFull technical diff · 0 changed fields
Full snapshot data
{
"description": "Authenticate CapCut MCP and recover missing tools or account authorization failures. Excludes local uploader and downstream failures.",
"included_files": [
{
"relative_path": "references/cloud-login.md",
"size_in_bytes": 3754
},
{
"relative_path": "references/local-codex.md",
"size_in_bytes": 23331
},
{
"relative_path": "scripts/capcut-login.mjs",
"size_in_bytes": 5846
},
{
"relative_path": "scripts/check-connection.mjs",
"size_in_bytes": 3749
},
{
"relative_path": "scripts/check-plugin-version.mjs",
"size_in_bytes": 6243
}
],
"name": "mcp-auth",
"skill_md_contents": "---\nname: mcp-auth\ndescription: Authenticate CapCut MCP and recover missing tools or account authorization failures. Excludes local uploader and downstream failures.\n---\n\n# Authenticate CapCut MCP\n\nThe installed CapCut plugin uses one `capcut_creation` connection at `/api/external_mcp` without a query for account tools, Widget resources, render tools, card state, and telemetry. All tools declare `oauth2`, so hosts attach a Bearer token to every tool call for account-region routing. Existing public render, card-interaction and telemetry tools only require a non-empty Bearer token without validating it or injecting account identity, and retain their capability checks; account tools require full authorization. Discovery and static Widget resources remain anonymous. Calls without a non-empty Bearer token return HTTP 401 with `WWW-Authenticate` before business execution for the host to handle.\n\nPublic tools being visible or callable does not prove that the account is connected.\n\n## Safety\n\n- Never ask the user to paste cookies, bearer tokens, authorization codes, browser storage, raw headers, or other credentials into the conversation or shell.\n- Never print, inspect, persist, or modify OAuth tokens.\n- Do not add, remove, or rewrite the installed plugin's server configuration by hand or replace its endpoint during recovery.\n- Keep the user's original task in scope and resume it after authentication succeeds. Preserve submitted task IDs, asset references, and card bindings across recovery or handoff; do not repeat submitted work.\n- Missing execution capabilities alone do not indicate expired authentication. Report missing prerequisites without logging out.\n- `auto_caption_platform_not_supported`, `material_search_platform_not_supported`, `generation_platform_not_supported`, and `stdraft_session_platform_not_supported` mean the capability is desktop-only. Report the platform limitation without login, retries, or New-Task Handoff.\n\n## Choose the Authorization Method\n\nUse the host that manages the current connection; a shell being available does not make a host-managed connection local.\n\n- **Host-managed connection:** Follow the [cloud authorization helper](references/cloud-login.md) for ChatGPT-managed CapCut apps on Web, mobile, or Codex desktop.\n- **Locally managed Codex connection:** Read [local Codex authorization](references/local-codex.md) for the version check, execution permissions, login helper, browser-error recovery, and CLI workflow. Use it only when the native Codex CLI manages this connection and the helper's callback listener is reachable from the in-app browser. Local procedures live only in that reference.\n\n## HTTP 502 Handling\n\nIf the host or connector explicitly reports HTTP transport status 502 for the CapCut connection without receiving an MCP tool result, preserve the safe error, report that the CapCut service is temporarily unavailable, and stop. Do not retry, log out, or start OAuth. A tool result or `isError` message that merely mentions 502 belongs to the owning tool workflow.\n\n## When to Recover\n\nAttempt one correct discovery pass by exact tool suffix before classifying a missing tool. Use direct MCP tools or the host's supported discovery mechanism; an executor-local inventory may omit directly exposed tools.\n\nTreat a CapCut MCP dispatch error containing `Unknown tool` (including error code `-32001`) as a missing-tool failure, even when its definition is visible. Apply the same recovery below; this error alone does not prove an expired grant or justify logging out.\n\n- A missing public renderer or unavailable Widget without an explicit connector authentication failure does not require account OAuth. Follow **New-Task Handoff** if it remains unavailable after discovery.\n- For a missing account tool, check account connection status through the owning host. For cloud apps, use the [connection controls](references/cloud-login.md#connection-controls). Locally managed Codex uses `check-connection.mjs` as described in the local reference. If the account is unconnected or login is required, start the owning host's authorization flow. A confirmed connection with a missing tool requires **New-Task Handoff**. Public tools on this mixed connection do not count as protected-tool evidence.\n- An explicit MCP OAuth challenge, invalid or expired grant, bearer-authentication failure, or connector refresh-token failure belongs to account authorization recovery. With mixed mode, a connector refresh failure can block a public call too; recover the shared account connection instead of treating it as accidental OAuth on a separate resource server. Do not repeatedly call a tool that returned an authentication error.\n- An explicit request to sign in or switch accounts uses the selected host's authorization method. For a local authorization page showing `unknown client` or a refused localhost callback, enter the matching branch in the reference immediately.\n\nDo not start MCP authentication recovery for local file errors, invalid script arguments, sandbox or network failures from local scripts or downstream requests, upload failures, expired short-lived upload sessions, or video-finalize failures. This includes script-stage `unauthorized`, `forbidden`, `InvalidAuthorization`, HTTP 401, and HTTP 403: follow the owning skill's failure handling. Permission failures while starting the login helper follow its local recovery workflow.\n\n## New-Task Handoff\n\nWhen a required tool remains unavailable after correct discovery and account checks, preserve the original goal, authorization state, assets, workspace, stable task IDs, event cursors, card bindings, and exact unfinished step.\n\n- **Locally managed Codex:** Follow [New-Task Handoff](references/local-codex.md#new-task-handoff) to fork, send the continuation, and open it using the available host tools.\n- **Host-managed connection:** Use the host's supported tool reload or connection controls. If the current chat still cannot load the required tools or display the card, provide the continuation context for a new chat on that host. Do not run a local helper or require Codex-specific fork tools.\n\n### Fork and continue in Codex\n\nPreserve submitted work across the fork and avoid paid operations as capability checks.\n\n1. Discover `fork_thread` through the host's supported tool discovery. In a Codex task, call it once with `{\"environment\":{\"type\":\"same-directory\"}}` and keep the returned child `threadId`. This forks the calling task with its history and workspace.\n2. For unfinished work, prepare a continuation prompt with the original goal, confirmed authorization, completed progress, saved IDs, and exact next step. If the user explicitly authorized sending the continuation, discover and call `send_message_to_thread` with the child `threadId`. Otherwise give the prompt to the user. The child should rediscover the required tools and resume from the saved IDs. For a completed template search with an unfinished preview, create a fresh preview with the original `search_id`.\n3. If the user asked to open the fork, discover and call `navigate_to_codex_page` with the child `threadId`. Report which steps completed. If sending or opening fails, keep the existing child and provide the unfinished step. If the fork definitively fails before creating a child, use the calling workflow's fallback. Avoid duplicate forks and sends when an outcome is uncertain.\n\n## Result\n\nVerify cloud authorization as described in the cloud helper. For local helper-driven login, require the matching completion notification and exit code 0 described in the local reference. Never claim the original CapCut operation succeeded until its own tool result proves it.\n"
}SHA-256 of public snapshot: 369455a8053763928cfd1d7381eda981b8d9afcf16cbc08fcfb08f57d57dcd72