Deno Deploy CLI (deployctl)
$ deployctl Official Med Riskdeployctl deploys TypeScript/JavaScript edge functions and static assets to Deno Deploy, offering --dry-run deployment checks, --prod explicit production promotion, and headless DENO_DEPLOY_TOKEN authentication.
https://docs.deno.com/deploy/manual/deployctl/ deployctl bundles local Deno source files directly from the workspace, which remote MCP servers cannot inspect without upload.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports --dry-run and DENO_DEPLOY_TOKEN headless auth, but lacks --json output across deployments and projects subcommands.
- Supports
--dry-runand--project; lacks--jsonoutput
Preview-first deployments (requiring explicit --prod to promote) and --dry-run make accidental production overwrites unlikely.
- Defaults to preview URLs unless
--prodis specified
Easy one-liner via deno install, though it requires Deno to be installed first.
- Installed from JSR via
deno install
Focused single-purpose CLI for Deno Deploy edge deployments and logs.
- Handles Deno Deploy bundling, preview deploys, and logs
Official denoland/deployctl repository maintained by the Deno team.
- Official
denoland/deployctlunder MIT
Concise Deno Deploy docs and --help, though subcommand surface is small.
- Docs at docs.deno.com/deploy/manual/deployctl/
Security, Auth & Guardrails
Caches interactive OAuth credentials in ~/.deno/credentials, or reads DENO_DEPLOY_TOKEN from the environment.
CLI is free (MIT); Deno Deploy offers a free tier and usage-based Pro plans.
# deployctl Agent Rules - Always run `deployctl deploy --dry-run` before publishing. - Omit `--prod` by default so agents publish preview deployments first. - Authenticate via `DENO_DEPLOY_TOKEN` and pin `--project` explicitly.
Agent-Ready Command Recipes
Safe Read-Only Queries
--dry-run deployment check deployctl deploy --dry-run --project=my-app main.ts
Validates dependencies, file inclusion, and bundling without publishing a deployment.
Controlled Writes & Previews
--prod deployctl deploy --project=my-app main.ts
Creates an isolated preview URL while keeping the production route untouched.
Strengths for Agents
- + Built-in
--dry-runcatches missing files or import errors prior to upload. - + Preview deployments are default; production requires explicit
--prod. - + Clean
DENO_DEPLOY_TOKENsupport for CI and headless agents.
Caveats & Pitfalls
- ! Does not provide a
--jsonoutput flag for structured parsing. - ! Requires the Deno runtime to install and execute.