MCPcopy Index your code
hub / github.com/clerk/cli

github.com/clerk/cli @v1.5.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.5.0 ↗ · + Follow
1,280 symbols 4,409 edges 311 files 87 documented · 7%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

clerk

The Clerk command-line interface.

Installation

Homebrew (macOS / Linux)

brew install clerk/stable/clerk

npm

npm install -g clerk

Usage

Usage: clerk [options] [command]

Clerk CLI

Options:
  -v, --version        Output the version number
  --input-json <json>  Pass command options as a JSON string, @file.json, or -
                       for stdin
  --mode <mode>        Force interaction mode (human or agent). Defaults to
                       auto-detect based on TTY.
  --verbose            Show detailed output (enables debug messages)
  -h, --help           Display help for command

Commands:
  init        [options]                      Initialize Clerk in your project
  auth                                       Manage authentication
  link        [options]                      Link this project to a Clerk application
  unlink      [options]                      Unlink this project from its Clerk application
  whoami      [options]                      Show the current logged-in user and linked application
  open                                       Open Clerk resources in your browser
  apps                                       Manage your Clerk applications
  users       [options]                      Manage Clerk users
  env                                        Manage environment variables
  config                                     Manage instance configuration
  enable                                     Enable Clerk features on the linked instance
  disable                                    Disable Clerk features on the linked instance
  api         [options] [endpoint] [filter]  Make authenticated requests to the Clerk API
  doctor      [options]                      Check your project's Clerk integration health
  completion  [shell]                        Generate shell autocompletion script
  skill                                      Manage the bundled Clerk CLI agent skill
  update      [options]                      Update the Clerk CLI to the latest version
  deploy                                     Deploy a Clerk application to production
  help        [command]                      Display help for command

Give AI agents better Clerk context: install the Clerk skills
  $ clerk skill install

Extension points exported contracts — how you extend this code

User (Interface)
Minimal subset of the Backend API user response.
packages/cli-core/src/test/integration/lib/harness.ts
Cell (Interface)
(no doc)
packages/extras/src/clerk-bird/flap.ts
FixtureConfig (Interface)
(no doc)
test/e2e/lib/types.ts
CheckPatchesOptions (Interface)
(no doc)
scripts/check-patches.ts
Target (Interface)
(no doc)
scripts/lib/targets.ts
ConfigSchema (Interface)
Recursive JSON Schema node for instance configuration.
packages/cli-core/src/test/integration/lib/harness.ts
Pipe (Interface)
(no doc)
packages/extras/src/clerk-bird/flap.ts
ReadyServer (Interface)
(no doc)
test/e2e/lib/dev-server.ts

Core symbols most depended-on inside this repo

stubFetch
called by 170
packages/cli-core/src/test/lib/stubs.ts
mock
called by 168
packages/cli-core/src/test/lib/http.ts
info
called by 139
packages/cli-core/src/lib/log.ts
scaffold
called by 119
packages/cli-core/src/commands/init/frameworks/types.ts
setProfile
called by 98
packages/cli-core/src/lib/config.ts
debug
called by 74
packages/cli-core/src/lib/log.ts
dim
called by 73
packages/cli-core/src/lib/color.ts
blank
called by 64
packages/cli-core/src/lib/log.ts

Shape

Function 1,127
Interface 83
Method 40
Class 30

Languages

TypeScript100%

Modules by API surface

packages/extras/src/clerk-bird/flap.ts88 symbols
packages/cli-core/src/lib/errors.ts41 symbols
packages/cli-core/src/lib/log.ts35 symbols
packages/cli-core/src/commands/init/frameworks/helpers.ts33 symbols
packages/cli-core/src/lib/credential-store.ts32 symbols
packages/cli-core/src/commands/doctor/checks.ts27 symbols
packages/cli-core/src/lib/config.ts25 symbols
packages/cli-core/src/commands/deploy/status.ts25 symbols
packages/cli-core/src/test/integration/lib/harness.ts23 symbols
packages/cli-core/src/commands/deploy/providers.ts23 symbols
packages/cli-core/src/commands/deploy/copy.ts23 symbols
packages/cli-core/src/commands/init/frameworks/react-router.ts22 symbols

Datastores touched

mydbDatabase · 1 repos

For agents

$ claude mcp add cli \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact