Deploy a website or Worker to Cloudflare without a wrangler login
connections_cloudflare_deploy_ticketUse this when you must deploy to Cloudflare (wrangler deploy, upload a website to Cloudflare, publish a Worker with static assets, push a Pages build) and this chat has only the remote Connections MCP, no local tools. When the vault holds the Cloudflare account, NEVER ask the human for a Cloudflare or wrangler sign-in (wrangler login, a browser Allow click, an API token): Connections deploys with the vaulted credential and the chat never sees it. Mints a ONE-TIME deploy ticket bound to one account + one Worker script (or one Pages project): single use, expires in minutes (default 10, at most 15), grants nothing else. Reply: a URL and a curl recipe. Build the site, then POST the JSON bundle (modules, static assets, wrangler.jsonc text, bindings) to that URL with curl; Connections creates or updates the Worker server-side, inherits its existing bindings, and answers with the live workers.dev URL. Find accountId with connections_accounts { service: 'cloudflare' }. About 5 MB of base64 per ticket. With local tools use the local cloudflare_deploy tool instead (one call, reads wrangler.jsonc from disk).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| person | No | Linked person to run this call as (first name). Omit to run as the connection's holder. | |
| project | No | Workspace to run this call in (id or name). | |
| instance | No | Which Cloudflare connection when the vault holds several (omit for the default). | |
| accountId | No | The 32-character Cloudflare account id the vault holds (connections_accounts { service: 'cloudflare' }). Omit it to use the account this workspace chose (connections_cloudflare_account). | |
| scriptName | No | The Worker script name to create or update (the wrangler.jsonc `name`, or `<name>-<env>` for an env). Give this OR pagesProject. | |
| ttlMinutes | No | How long the ticket lives (1-15, default 10). | |
| pagesProject | No | A Pages project name for a direct upload of a build folder. Give this OR scriptName. |