Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Deno Deploy CLI (deployctl)

$ deployctl Official Med Risk
Deno · Cloud & Infra · MIT · macos / linux / windows

deployctl 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.

FCRS-1.0 Score
75 /100
Good
Medium Confidence
Zero-Friction Install
https://docs.deno.com/deploy/manual/deployctl/
CLI vs MCP Decision CLI Preferred vs MCP

deployctl bundles local Deno source files directly from the workspace, which remote MCP servers cannot inspect without upload.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
✓ Dry-Run
— Read-Only Mode
— NO_COLOR Clean
— Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 16 / 25

Supports --dry-run and DENO_DEPLOY_TOKEN headless auth, but lacks --json output across deployments and projects subcommands.

  • Supports --dry-run and --project; lacks --json output
Trust & Safety 20 / 25

Preview-first deployments (requiring explicit --prod to promote) and --dry-run make accidental production overwrites unlikely.

  • Defaults to preview URLs unless --prod is specified
Setup & Portability 12 / 15

Easy one-liner via deno install, though it requires Deno to be installed first.

  • Installed from JSR via deno install
Utility & Efficiency 11 / 15

Focused single-purpose CLI for Deno Deploy edge deployments and logs.

  • Handles Deno Deploy bundling, preview deploys, and logs
Maintenance & Lineage 9 / 10

Official denoland/deployctl repository maintained by the Deno team.

  • Official denoland/deployctl under MIT
Docs & Verifiability 7 / 10

Concise Deno Deploy docs and --help, though subcommand surface is small.

  • Docs at docs.deno.com/deploy/manual/deployctl/

Security, Auth & Guardrails

Auth Modes
OAuth Browser Env API Key Config File
Credential Storage

Caches interactive OAuth credentials in ~/.deno/credentials, or reads DENO_DEPLOY_TOKEN from the environment.

Side Effects
Read-Only Remote Write Destructive Billing Impact
Cost & Quotas

CLI is free (MIT); Deno Deploy offers a free tier and usage-based Pro plans.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

Run a --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

Publish a preview deployment without --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-run catches missing files or import errors prior to upload.
  • + Preview deployments are default; production requires explicit --prod.
  • + Clean DENO_DEPLOY_TOKEN support for CI and headless agents.

Caveats & Pitfalls

  • ! Does not provide a --json output flag for structured parsing.
  • ! Requires the Deno runtime to install and execute.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI