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

Okta CLI

$ okta Official High Risk
Okta · Workspace & SaaS · Apache-2.0 · macos / linux / windows

Okta CLI (okta) helps developers register free Okta developer tenants, bootstrap sample OIDC apps, and register new OIDC integrations via okta apps create. While --batch avoids some prompts, the tool is heavily wizard-oriented, lacks --json output, and covers only basic OIDC onboarding rather than full Management API administration.

FCRS-1.0 Score
64 /100
Usable w/ Caveats
Medium Confidence
Zero-Friction Install
brew install oktadeveloper/tap/okta
CLI vs MCP Decision CLI Preferred vs MCP

Narrowly scoped to OIDC app registration (okta apps create --batch); use Okta REST APIs or Terraform for broader tenant administration.

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 13 / 25

Offers --batch on apps create, but lacks --json output, --dry-run, or read/list subcommands; primarily an interactive onboarding wizard.

  • Supports --batch on okta apps create
  • No --json output or list/get read commands
Trust & Safety 15 / 25

Supports env-var token scoping (OKTA_CLIENT_TOKEN), but creates remote OIDC apps and local .okta.env files with no --dry-run.

  • Env-var config via OKTA_CLIENT_ORGURL and OKTA_CLIENT_TOKEN
  • No --dry-run preview
Setup & Portability 11 / 15

Installable via Homebrew tap (oktadeveloper/tap/okta) and GitHub release archives, though older releases rely on JVM/Graal builds.

  • Homebrew tap and GitHub release binaries
Utility & Efficiency 10 / 15

Narrowly covers tenant signup, okta start, and okta apps create; lacks user/group/policy CRUD.

  • Limited to onboarding and OIDC app creation
Maintenance & Lineage 8 / 10

Official Okta repository (okta/okta-cli) licensed under Apache-2.0.

  • Official okta/okta-cli GitHub repository
Docs & Verifiability 7 / 10

Dedicated site at cli.okta.com and GitHub README documenting YAML hierarchy and --batch flags.

  • Official docs at cli.okta.com

Security, Auth & Guardrails

Auth Modes
Env API Key Config File
Credential Storage

Reads OKTA_CLIENT_ORGURL and OKTA_CLIENT_TOKEN from environment variables, project .okta.yaml, or ~/.okta/okta.yaml.

Side Effects
Read-Only Local Write Remote Write
Cost & Quotas

Apache-2.0 open-source CLI; Okta Developer accounts offer a free tier.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Okta CLI Agent Rules
- Always pass `--batch` with explicit `--app-name` and `--redirect-uri` to avoid interactive wizards.
- Verify `OKTA_CLIENT_ORGURL` targets a developer/sandbox tenant before running `okta apps create`.

Agent-Ready Command Recipes

Safe Read-Only Queries

Verify CLI version and help tree
okta --help

Displays available Okta CLI subcommands and options without network calls.

Inspect apps create flags
okta apps create --help

Prints supported OIDC app types and --batch / --redirect-uri options.

Controlled Writes & Previews

Create an OIDC web app in batch mode
okta apps create web --app-name my-staging-app --redirect-uri http://localhost:3000/callback --batch

Registers a new OIDC web application non-interactively and writes .okta.env or config output.

Strengths for Agents

  • + Supports --batch, --app-name, and --redirect-uri to automate OIDC app registration.
  • + Clean config precedence across OKTA_CLIENT_* env vars, .okta.yaml, and ~/.okta/okta.yaml.

Caveats & Pitfalls

  • ! No --json output or read-only list/get subcommands for inspecting existing Okta apps or users.
  • ! okta register and okta start are interactive wizards unsuitable for headless agents.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI