zephex
CLIGet StartedPricingMCP ToolsCommunityGuidesDocs
←BackSign in
CLIGet StartedPricingMCP ToolsCommunityGuidesDocs
Get started freeSign in
DocsAPIToolsEditorsChangelogHelp

GET STARTED

WelcomeQuickstartSetup videoMCP Q&A (learn)BlogWhat is MCP?Who is Zephex for?Plans & PricingZ-GASAB benchmarkBenchmark chart (live)Changelog

INSTALLATION

Web Terminal tools (plain English)Terminal tools (complete)Connect MCPVS Code Marketplace extensionCLI (no AI agent)CLI init (first run)CLI account & logoutNPX (Recommended)Test Pulse (check test)Test Pulse commandsProject MemorySupply Pulse (supply)Supply Pulse commandsTerminal CLI referenceSlash commands (37 palette)Web Terminal (dashboard)Command CompassCLI commandsCLI in DockerCLI: All editors (one command)CLI: Crush, Hermes, ChatGPT, KiloOAuth & HTTP setupInstall overviewHTTP APISetup WalkthroughHTTP vs stdio

API & KEYS

API Key ManagementKey Naming & FormatAuthenticationKey Dashboard

CONFIGURATION

Universal RequirementsSupported EditorsHow It WorksArchitectureCLAUDE.md TemplateAGENTS.md Template

EDITORS28 guides

Supported EditorsVS CodeVS Code extension (Marketplace)Claude CodeCursorWindsurfJetBrains

PLATFORM

macOSWindowsLinux

TOOLS10 tools

Capabilities OverviewTools OverviewTool FilteringTool Workflowsget_project_contextread_codefind_codecheck_packageexplain_architectureZephex_dev_infocheck_testaudit_headerskeep_thinkingproject_memory

GUIDES

Best PracticesToken EfficiencyUse CasesZephex vs Local MCPZephex vs Context7Zephex vs GitHub MCPZephex vs SmitheryMCP EcosystemMarkdown Access

SUPPORT

Help CenterMCP troubleshootingTeam rolloutFAQConnection IssuesRate LimitsDowntime & ErrorsBillingTier GuidePro & Max guideUsage LimitsUsage Analytics

LEGAL

System StatusTerms (summary)Privacy (summary)Data UseSecurityAuthenticationSecurityData HandlingPrivacy PolicyTerms of Service

Quick Links

API Reference

Complete API documentation

Troubleshooting

Common issues and solutions

Community

Join our Discord community

Plugins

Editor and CLI integrations

Pricing

Free, Pro, and Max plans

Enter
Zephex_devzephex-devzephexzephexhello@zephex.dev
© 2026 Zephex. All systems operational.

Installation

Zephex CLI — full command reference

How to use Mode 2 day-to-day, then every account command and terminal tool. Account (setup, logout, disconnect) plus get-context, find-code, check-test, packages, live audits. Source: src/cli.ts.

Start here for Mode 2: CLI without an AI agent · Terminal guide · Connect MCP · Account & logout

HOW YOU'LL ACTUALLY USE IT

Zephex CLI is a terminal product that talks to the same hosted intelligence as your editor MCP — but answers in plain English for humans. You install once, sign in once, then run short commands from any project folder: stack brief, find a symbol, outline a file, check if a package is safe, run tests, or audit a live URL. No agent loop required.

Zephex terminal answer card — hero project name, plain-English brief, tag strip, section rails, and Dig deeper next steps

What a good Mode 2 reply looks like: short hero, plain English, · tags, │ sections, numbered Dig deeper — not a wall of chat.

THE CRAFT — ANSWER CARDS

The craft: answer cards, not chat dumps

Mode 2 is designed like a senior engineer sitting next to you — not like a chat model monologue. Each successful tool prints a structured answer card:

Hero first

Project name, package name, or search query in high contrast — so you know what you’re looking at in half a second.

Plain English story

Two to four sentences on what it is and how you’d use it. Badges and marketing noise are stripped before display.

· tags + │ rails

Stack, license, and scale as a quiet tag strip. Sections use a left rail so your eye can scan What this is / What it does / Getting started.

Dig deeper

Numbered next commands (architecture, find-code, setup…) so you never dead-end after one answer.

Honesty

If a section has no real data, it is dropped — Zephex does not invent stack or print “none detected” filler.

Human ≠ agent

Default output is the card. Pass --json when you want the same lean payload your editor agent sees.

WHO USES IT — AND WHEN
WhoWhenTry
Solo buildersBefore opening the editor — orient on a new clone in under a minute.mcpcli overview
Teams onboardingHand a new hire five commands instead of a 40-page wiki.mcpcli get-context · mcpcli architecture
Security-minded deploysBefore npm install, or after shipping a public URL.mcpcli safe express · mcpcli check url https://your.app
Monorepo maintainersPoint tools at one package without losing the root workspace.mcpcli find-code "auth" --cwd apps/web
CI / scriptsPipe machine-readable results into bots or logs.mcpcli get-context --json · mcpcli deps --json
Editor users who also live in the shellSame API key as Cursor / Claude — terminal for speed, MCP for multi-step agent work.mcpcli setup --cursor then mcpcli find-code "…"
DAY ONE — COPY-PASTE
shell
# 1) Install once (Mac, Linux, Windows)npm install -g zephex # 2) Sign in (browser → saves ~/.zephex/credentials.json)mcpcli init# or: mcpcli setup --terminal # 3) Stand in a real project (package.json + source)cd ~/projects/my-app # 4) First answers — plain English cardsmcpcli overviewmcpcli get-contextmcpcli find-code "auth"mcpcli safe expressmcpcli check-test # 5) Optional: wire an editor toomcpcli connect --cursor # 6) Healthmcpcli doctormcpcli usage
START-HERE COMMANDS

Learn these ten first. Everything else is aliases, Power Mode, or Pulse product lines.

CommandWhat you get
overviewProduct story + stack bars + how to run
get-contextStructured project brief (topics: auth, database, …)
find-codeSearch symbols, strings, renames
summarizePlain-English file read (read_code)
check-testRun tests + failures / why
safeIs this npm package safe to install?
architectureHow the app is wired
check urlLive URL header / TLS audit
rememberSave a project fact for later sessions
connectWire Cursor / VS Code / Claude / 22+ editors
REAL WORKFLOWS

New repo clone — “what is this?”

  • cd into the app (or apps/web in a monorepo)
  • mcpcli overview — product story, size, how to run
  • mcpcli get-context — stack, scripts, env names
  • mcpcli architecture — how modules wire together
shell
cd my-appmcpcli overviewmcpcli get-contextmcpcli architecture --focus auth

Find a symbol, then read it

  • mcpcli find-code "validateToken" — ranked hits
  • mcpcli symbol validateToken — AST body
  • mcpcli summarize src/lib/auth.ts — plain-English file brief
shell
mcpcli find-code "validateToken"mcpcli symbol validateTokenmcpcli summarize src/lib/auth.ts

Before you npm install

  • mcpcli safe <pkg> — CVEs + registry risk (no project required)
  • mcpcli check-package next --task upgrade --from-version 14.2.0
  • mcpcli deps — scan every direct dependency in package.json
shell
mcpcli safe lodashmcpcli check-package next --task upgrade --from-version 14.2.0mcpcli deps
HOW A COMMAND WORKS

STEP 1

You type a short command (or plain English)

Intent routing maps typos and phrases to the right tool — no LLM in the loop for routing. Example: mcpcli "tell me about my project" → get-context.

STEP 2

Local project is indexed from your disk

By default Zephex uploads manifests + a bounded file set (inline_files) from your current folder — private repos work without a public GitHub URL.

STEP 3

Hosted tools analyze at zephex.dev/mcp

Same API key as editor MCP. Usage counts toward your plan. Failures on empty folders fail fast so you do not burn quota from ~.

STEP 4

Terminal renders an answer card

Hero, plain English, tags, sections, Dig deeper. --json skips the card and prints the agent payload.

INTERACTIVE SHELL

On a TTY, bare mcpcli opens a shell. Type / for the palette — Tab fills, Enter runs.

shell
mcpcli                 # bare + TTY → interactive shell, type //overview              # slash palette (Tab to fill, Enter to run)/find auth/safe express/login                 # if not signed inmcpcli help terminal   # full Mode 2 alias listmcpcli learn find_code # per-tool guide, no API call
COMMON MISTAKES
MistakeFix
Running from ~ or /tmpcd into a folder with package.json (or pyproject.toml / go.mod) first.
Expecting full monorepo search from the root alwaysUse mcpcli … --cwd packages/api or cd into the package you care about.
Confusing remember with package upgraderemember/recall = project_memory facts. Package upgrades = mcpcli check-package --task upgrade (legacy: loop-guard).
Assuming multi-turn think works like the editorTerminal mcpcli think is one-shot. Full keep_thinking sessions with sessionId are editor MCP.
Using an old global binarymcpcli update --apply or npm install -g zephex@latest — then mcpcli doctor.
INSTALL — MCPCLI SHORT COMMANDS

mcpcli is the short install name for the Zephex MCP CLI (npm package zephex). Same binary, same API key, same 10 tools — you can type mcpcli instead of zephex after a one-time install. Official package name on npm remains zephex; command aliases ship inside that package (v2.4.6+).

Node.js required (or alternatives)

Includes best download path and how many MB each option uses — see download sizes.

mcpcli, npx zephex, and npm install -g zephex are Node.js programs. They need Node.js 18+ and npm on your PATH (or Node inside Docker). Zephex in the browser or in an editor over HTTPS does not replace that for terminal Mode 2.

Quick answer: Most people should install Node.js LTS, restart the terminal, then run npm install -g zephex && mcpcli setup. Pick another row in the table only if Node or global install is not possible on your machine.

BEST DOWNLOAD · HOW MANY MB?

Recommended if you have nothing installed yet: official Node.js LTS from nodejs.org (one installer), then the Zephex CLI from npm. Total download is not huge — on the order of tens of MB for Node, plus about 2.4 MB for the CLI itself.

shell
# Best download for most people (small + permanent):# 1) Node.js LTS installer — ~30 MB (Windows) or ~85 MB (macOS) one-time download#    https://nodejs.org/en/download# 2) Then in terminal (Zephex CLI is only ~2–3 MB from npm):npm install -g zephexmcpcli setup # Smallest try-before-install (still needs Node for npx):npx zephex setup# First run downloads zephex (~2–3 MB) to npm cache; no huge SDK.
What you downloadApprox. downloadAfter install on disk
Node.js LTS (Windows .msi) — best base for most users~30 MB~100–250 MB
Node.js LTS (macOS .pkg)~84 MB~100–250 MB
zephex CLI only (npm install -g zephex)~2.4 MB~3–20 MB in npm cache
npx zephex setup (no global install)Same ~2.4 MB CLI on first runCached under ~/.npm; no separate “Zephex app” installer
Docker node:22-alpine (no local Node)~45–60 MB image pullDocker Desktop ~500+; image ~45–60 MB
Editor-only MCP (HTTPS + API key)0 MB CLI — config onlyNo Node required on laptop

Sizes vary slightly by Node version and OS. You are not downloading a large IDE or a multi-GB SDK — just Node (if needed) and a small npm package. Tools run against https://zephex.dev/mcp; your project code is not uploaded as a full repo by default.

Step 1 — check what you already have:

shell
node -vnpm -vwhich nodewhich npm
  • v18.x, v20.x, or v22.x → you are ready; skip to after Node is installed.
  • command not found → Node is missing; install below or use Docker / editor-only.
  • v16 or lower → upgrade Node; the CLI requires 18+.

Step 2 — pick the best path for you:

Your situationBest optionNotes
New user, can install softwareNode.js LTS + npm install -g zephex && mcpcli setupRecommended. Shortest commands: mcpcli, zepx, zephex.
Have Node, try before installing globallynpx zephex setup~5s first download; nothing permanent except credentials.
Use Bun instead of Node day-to-daybun install -g zephexStill a JS runtime; see Bun block below.
Use pnpmpnpm add -g zephexSame CLI; see pnpm block below.
No Node on host; Docker allowedDocker + npx in containerMount $HOME so credentials survive.
No Node, no Docker; only Cursor / ClaudeEditor MCP (HTTP)Mode 1 in editor — not the same as terminal mcpcli tools.
Corporate laptop, no installsManual JSON configPaste MCP config + API key; setup wizard optional on another machine.
Only need terminal tools occasionallynpx zephex … per commandNeeds Node each time; no global PATH entry.
INSTALL NODE.JS (MAC · WINDOWS · LINUX)

Download the LTS installer if you are unsure — it includes npm. After install, close and reopen your terminal (required on Windows so PATH updates).

shell
# macOS — recommended for most users# Option A: Homebrew (developers)brew install node # Option B: Official LTS installer (everyone)# Download from https://nodejs.org/en/download# Run the .pkg, then restart Terminal # Option C: Version manager (multiple Node versions)# fnm: https://github.com/Schniz/fnm# nvm: https://github.com/nvm-sh/nvm
shell
# Windows — recommended for most users# Option A: winget (Windows 10/11)winget install OpenJS.NodeJS.LTS # Option B: Official LTS installer# https://nodejs.org/en/download — check "Add to PATH" during install# Then open a NEW Command Prompt or PowerShell window # Verify (new window):node -vnpm -v
shell
# Linux — pick one# Option A: NodeSource (Debian/Ubuntu)curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -sudo apt-get install -y nodejs # Option B: Distro packages (may be older — need v18+)# sudo apt install nodejs npm   # only if version >= 18 # Option C: nvm (no sudo, per-user)# curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash# nvm install --lts# nvm use --lts

Step 3 — after Node works, run Zephex setup:

shell
npm install -g zephex && mcpcli setup

Without global install (still needs Node + npm for npx):

shell
npx zephex setupnpx -p zephex mcpcli setup
BUN & PNPM (ALTERNATIVE RUNTIMES)

These still require a JavaScript runtime on the machine — not a substitute for “no Node at all.”

shell
bun install -g zephexmcpcli setup# or one-shot:bunx zephex setup
shell
pnpm add -g zephexmcpcli setup# or one-shot:pnpm dlx zephex mcpcli setup

No Node on this computer? Use Docker (Node runs inside the image) or editor-only MCP. Docker still requires Docker Desktop / Engine on the host.

shell
# Docker Desktop or Engine required on the hostdocker pull node:22-alpine # Setup (writes ~/.zephex + editor configs on YOUR machine)docker run -it --rm \  -v "$HOME:/root" \  -w /root \  node:22-alpine \  npx -y zephex setup # Terminal tool in your repo (mount project folder)cd /path/to/your-appdocker run -it --rm \  -v "$HOME:/root" \  -v "$(pwd):/work" \  -w /work \  node:22-alpine \  npx -y zephex get-context

Optional alias so daily commands look like local mcpcli:

shell
# ~/.bashrc or ~/.zshrc — shorter daily commandsalias mcpcli='docker run -it --rm -v "$HOME:/root" -w "$(pwd):/work" -w /work node:22-alpine npx -y zephex' mcpcli setupmcpcli get-context

Full CLI in Docker guide · Windows paths: use %USERPROFILE% instead of $HOME in -v mounts.

EDITOR ONLY — NO LOCAL NODE

If you only want MCP tools inside Cursor or Claude Code and never run commands in Terminal, you can connect over HTTPS without installing Node on your laptop. Terminal Mode 2 (mcpcli get-context, etc.) still needs Node or Docker somewhere.

shell
# No local Node needed for Cursor / Claude Code (hosted HTTP)# 1. Create a key: https://zephex.dev/dashboard/api-keys# 2. In Cursor: Settings → MCP → add server URL:#    https://zephex.dev/mcp#    Header: Authorization: Bearer YOUR_API_KEY# Or run setup on ANY machine that has Node once, copy the key into the editor. # Full wizard (needs Node somewhere once):# mcpcli setup --cursor
TROUBLESHOOTING
shell
# "command not found: node" or "command not found: npx"# → Node is not installed OR not on your PATH.# Fix: install LTS from nodejs.org, restart terminal, run node -v again. # "mcpcli: command not found" after npm install -g# → Global npm bin not on PATH, or install did not finish.# Fix: npm install -g zephex#       npm bin -g    # add this folder to PATH# Or skip global: npx zephex setup # EACCEs / permission denied on npm install -g (macOS/Linux)# Fix: mkdir -p ~/.npm-global && npm config set prefix ~/.npm-global# Add to ~/.zshrc: export PATH="$HOME/.npm-global/bin:$PATH" # Old Node (v16 or below)# Fix: upgrade to Node 18+ LTS — zephex CLI will not run on EOL Node.
FAQ
QuestionAnswer
Do I need Node.js to use Zephex at all?Only for the terminal CLI (mcpcli / npx zephex). Editor MCP via hosted HTTPS (Cursor, Claude Code) can work without Node on your laptop if you paste an API key or HTTP config. Terminal tools always need Node somewhere — your machine or Docker.
What is the best install for a new user?Install Node.js LTS from nodejs.org (includes npm), restart the terminal, then run: npm install -g zephex && mcpcli setup. That gives the shortest commands forever.
I cannot install software on my work laptop.Use editor-only MCP (manual JSON or dashboard key) — see Install methods → Manual JSON. Or run setup once on a personal machine, copy the API key, paste into work editor config. Terminal CLI on the work machine may be blocked without Docker approval.
I have Node for another project — is that enough?Yes, if node -v shows v18 or higher. You do not need a separate Node install for Zephex. Use the same npm/npx.
Does the AI editor install Node for me?Sometimes. Cursor/VS Code may bundle npx for MCP stdio configs, but that does not put mcpcli on your system PATH for Mode 2 terminal use. For terminal tools, install Node yourself or use Docker.
Docker still needs something installed?Docker Desktop (or docker CLI) on the host — not Node. The container image includes Node and runs npx zephex for you.
How many MB will this download?Node.js LTS installer is roughly 30 MB (Windows) or 85 MB (macOS) — not hundreds of MB. The zephex CLI package from npm is about 2–3 MB. npx zephex setup only adds that CLI download on first run (cached after). Docker pulls a ~50 MB Node Alpine image plus the same small zephex package inside the container.
What is the best way to download if I have nothing installed?Use the official Node.js LTS installer from nodejs.org (includes npm), restart your terminal, then run npm install -g zephex && mcpcli setup. That is the smallest hassle long-term. If you truly cannot install Node, use editor-only MCP (no download) or Docker if your IT allows it.

More: Install methods (all 6) · Connect MCP · CLI in Docker · npx zephex

First time (any OS, Node already installed)

Pick one path — both work the first time you run setup:

Recommended — global install (shortest commands forever):

shell
npm install -g zephex && mcpcli setup

One-shot without global install (pick one):

shell
npx zephex setupnpx -p zephex mcpcli setup

Plain mcpcli setup only works after npm install -g zephex (or the combined line above). That is expected — there is no separate npm package named mcpcli on the public registry.

After install — daily commands

shell
mcpcli setupmcpcli get-contextmcpcli usagezepx helpzphx doctor

All of these run the same CLI: mcpcli, zepx, zphx, mcpz, zepcli, zephx, zephex.

Terminal-only vs editor MCP

MCP CLI (Mode 2) runs in your shell — no AI agent required. mcpcli setup when you pick Terminal / CLI only does not change Cursor/VS Code MCP config. Use mcpcli setup --cursor (or another flag) if you also want tools inside the editor.

logout vs disconnect: mcpcli logout removes only ~/.zephex terminal credentials — your editor can keep using MCP. mcpcli disconnect removes Zephex from an editor config and revokes the key — not the same as logout. You can use terminal tools and editor MCP together with one API key; you do not run two separate products.

Who can run it?

Anyone in the world can download and run mcpcli / zephex from npm (public CLI). Your hosted MCP tools at https://zephex.dev/mcp require your API key from setup — strangers cannot use your quota without a key. Keys stay in ~/.zephex (or editor config); nothing secret is baked into the npm package.

More

Connect MCP (editors) · Terminal tools · Full command list · Install & package names · Install methods (no Node / Docker / manual) · CLI in Docker

SLASH PALETTE

37 slash commands on bare /

Type / in the REPL to scroll the palette. Full reference: Slash commands. Voice Mode: say scroll down, highlight a row, then run — F8 push-to-talk for push-to-talk.

SlashRunsMCP toolWhat it doesCredits
/overview ★overview—Best first command — story, stack, run; filter /structure /setup /stats0
/web ★web example.com—Live site intel — stack, headers, secrets; filter /site /check-url /shadow0
/architecture ★architectureexplain_architectureexplain_architecture — wiring map; how pieces connect before you edit~7
/contextget-contextget_project_contextget_project_context — one-call brief; filter /auth /database /deploy /framework~7
/test ★check testcheck_testcheck_test — runs your suite and reports failures; filter /failures /summary /test-fix~5
/failures ★check test failurescheck_testOpens the last run — every failure, broken files, and what to try next (0 credits)~5
/summary ★check test statuscheck_testHealth dashboard from cached session — coverage and blind spots, no re-run~5
/test-fix ★check test fix-prompt --copycheck_testWhen tests fail — copy a fix prompt and paste into your agent~5
/find ★find authfind_codefind_code — ripgrep across repo; filter /defs /usages /rename /paste /everywhere~5
/read ★read src/index.tsread_coderead_code — plain-English file brief; filter /symbol /who /files /scan~5
/supply ★supply https://example.com—Wide security scan — filter /supply-site /supply-audit /secrets0
/safe ★safe reactcheck_packagecheck_package — CVEs & maintainer risk; filter /upgrade /migrate /compare~5
/deps ★depscheck_packagecheck_package — every direct dep in package.json; filter /package for one pkg~5
/doctor ★doctor—Node, network, API key, editor configs0
/changeschanges—Diff summary — what changed locally0
/env-checkenv-check—Required env vars and .env gaps0
/routesroutes—API endpoints and route map0
/todostodos—FIXME / tech-debt scan0
/think ★think "debug this bug"keep_thinkingkeep_thinking — agent reasoning scaffold; filter /reason /debug-think~4
/memory ★memory listproject_memoryproject_memory — list/recall/remember; filter /remember /recall~4
/askask "where is login"—Natural-language router — when you do not know which tool0
/learn ★learn—All 10 MCP tools — commands, examples, when to skip; type /learn find_code0
/usageusage—Quota used / limit0
/helphelp—All /commands + 10 MCP tools — same tools in Cursor via npx zephex setup0
/connectconnect—npx zephex setup for Cursor / VS Code0
/cli-guidecli-guide—Mode 2 walkthrough — no AI agent0
/compasscompass—Find the right command for any phrase0
/terminalterminal—Full command list — Mode 20
/statusstatus—Editor MCP install sanity check0
/loginlogin—Browser sign-in or paste API key0
/clearclear—Clear the terminal0
/repairrepair—Fix broken MCP editor config0
/reconnectreconnect—Revoke key + fresh editor setup0
/disconnectdisconnect --cursor—Remove Zephex from an editor0
/initinit --terminal—First-run terminal wizard0
/keyskeys—Billing keys0
/logoutlogout—Disconnect zephex.dev credentials0
MODE 2 — TERMINAL TOOLS

All 10 MCP tools in the terminal

These call https://zephex.dev/mcp and print answer cards (plain English + Dig deeper). Add --json for the same payload your agent sees. Run npx zephex help terminal for every alias on one screen. Primary names: check-test, check url, remember / recall — not the old editor-only story.

MCP toolPrimary CLIAlias countExample
get_project_contextget-context50+mcpcli get-context
find_codefind-code31mcpcli find-code "auth middleware"
read_codesummarize / outline / symbol31mcpcli outline src/lib/auth.ts
explain_architecturearchitecture6+mcpcli architecture --focus auth
check_testcheck-test9mcpcli check-test "add Stripe webhooks"
keep_thinkingthink3mcpcli think "debug 401 after refresh"
check_packagecheck-package13mcpcli safe express
project_memoryremember / recall / memory3 slashesmcpcli remember "auth uses Supabase JWT"
audit_headerscheck url6+mcpcli check url https://zephex.dev --deep
Zephex_dev_infodocs2mcpcli docs "Stripe webhooks"

CLI-only live scans (no separate MCP slug)

CommandPurpose
mcpcli webFull hosted website scan — stack, headers, tech decode
mcpcli siteSite Pulse — localhost fast probe or cloud browser scan
mcpcli supplySupply Pulse — secrets, outdated JS, CVEs on live URL or GitHub repo
mcpcli shadowShadow API — hidden endpoints and route surface
ACCOUNT & META

Quick reference — account (41 commands)

Setup, disconnect, doctor, help, and cli-guide. Terminal tools are listed above.

text
FIRST RUN                              New users start here  mcpcli init                          First-run wizard (browser → zephex.dev login)  mcpcli init --terminal               Terminal CLI only (no editor)  mcpcli login                         Alias for setup (same OAuth flow)  mcpcli logout                        Terminal sign-out (~/.zephex only) SETUP                                  Connect, switch, fix  npx zephex setup                     Interactive wizard  npx zephex setup --cursor            Skip the picker  npx zephex setup --project           Install for current project only  npx zephex reconnect                 Re-run setup (fresh API key)  npx zephex reset                     Clean install (config + skill + rule) CONNECT / DISCONNECT                   All 22+ editors (same flags for setup)  mcpcli connect --cursor              Same as setup --cursor  mcpcli connect --claude-code         Claude Code (alias)  mcpcli connect --vscode              VS Code  mcpcli connect --opencode            OpenCode  mcpcli connect --codex               Codex  mcpcli connect --factory-ai          Factory Droid  mcpcli connect --zed                 Zed  mcpcli reconnect --cursor            Fresh key + re-setup  mcpcli reconnect --claude-code       Works for all editor aliases MANAGEMENT                             Once you're connected  mcpcli disconnect --cursor           Remove from one editor + revoke key  mcpcli disconnect --claude-code      Alias for --claude  mcpcli disconnect --all              Remove from every editor  mcpcli logout --all                  Terminal + disconnect all editors  npx zephex tools                     List the 10 MCP tools  npx zephex tools --enable a,b       Restrict tools (min 2, max 9)  npx zephex tools --reset             Re-enable all tools  npx zephex skills                    Install skill + rule files  npx zephex skills --upgrade          Refresh skill files to latest  npx zephex skills --remove           Remove skill + rule files INSPECTION                             What's installed, what's broken  npx zephex list                      Show every editor's install status  npx zephex status                    Live check the proxy with your key  npx zephex keys                      Show installed keys (masked)  npx zephex usage                     Per-tool call counts  npx zephex doctor                    6 diagnostic checks  npx zephex repair                    Fix broken stdio pins in editor configs  npx zephex info                      Version, install path, update check META  mcpcli update                        Check npm for newer version  mcpcli update --apply                npm install -g zephex@latest  npx zephex help                      Full help with examples  npx zephex --version                 Same as info

setup — Connect an editor

The wizard does everything: opens the browser, signs you in, creates an API key, writes the config file, and optionally installs the skill + rule files.

Three steps in one flow

text
Step 1 → Pick editor       (20 options, hotkeys 1-9 / 0 / a-j)Step 2 → Pick scope        (only shown if you're in a real project)         ┌── All projects (global)        — works everywhere         └── This project only            — config stays in this folderStep 3 → Pick mode         ┌── MCP + Skill + Rule (default) — agent uses tools proactively         └── MCP only                     — tools available, agent decides Then → Browser opens → Sign in → API key created → Config written → Done

Common variations

shell
# Full wizardnpx zephex setup # Skip the picker — directly connect Cursornpx zephex setup --cursor # Skip both picker and scope prompt — Cursor, this project onlynpx zephex setup --cursor --project # Skip everything — Cursor, this project, with skill + rulenpx zephex setup --cursor --project --with-skill # Connect multiple editors at oncenpx zephex setup --cursornpx zephex setup --claudenpx zephex setup --vscode # Use a key you already have (skip OAuth)ZEPHEX_API_KEY=mcp_prod_... npx zephex setup --cursor

disconnect — Remove from an editor

Removes the Zephex entry from an editor's MCP config file and revokes the API key on the server.

shell
# Interactive pickernpx zephex disconnect # Specific editornpx zephex disconnect --cursornpx zephex disconnect --claudenpx zephex disconnect --vscode # Every editor at once (also revokes every key)npx zephex disconnect --all # Disconnect AND remove the skill/rule filesnpx zephex disconnect --cursor --with-skill

reset — Full cleanup

Like disconnect but also removes the skill and rule files. Use when you want a totally fresh slate.

shell
# Reset one editornpx zephex reset --cursor # Nuclear option — every editor + every skill/rule filenpx zephex reset --all

status — Live connection check

For each editor that has Zephex installed, hits the proxy with the actual API key and reports PASS/FAIL.

text
$ npx zephex status EDITOR              CONFIG                              KEY              STATUS  TOOLS  DETAIL------------------  ----------------------------------  ---------------  ------  -----  ------Cursor (global)     ~/.cursor/mcp.json                  mcp_prod_pri...  PASS    10     okClaude Code         ~/.claude.json                      mcp_prod_pri...  PASS    10     okVS Code (project)   ./.vscode/mcp.json                  mcp_prod_ver...  PASS    10     okCodex (global)      ~/.codex/config.toml                mcp_prod_pri...  PASS    10     ok

If STATUS shows FAIL, run npx zephex doctor for diagnostics.

list — Offline install map

Shows every editor and whether it has Zephex installed. Doesn't hit the network.

text
$ npx zephex list   Zephex install status  cwd: /Users/you   EDITOR                STATUS         CONFIG  ─────────────────────────────────────────────  Cursor                ● global       ~/.cursor/mcp.json  Claude Code           ● connected    ~/.claude.json (+ project)  VS Code               ● project      ./.vscode/mcp.json  Codex                 ● global       ~/.codex/config.toml  OpenCode              ○ not installed —  Windsurf              ○ not installed —  Zed                   ○ not installed —  ...   4 of 20 editors connected.  Run npx zephex status to verify the API key works.

The connected status means both global AND project configs exist. global means only home directory; project means only the current folder.

tools — Filter which tools your agent sees

By default all 10 MCP tools are exposed to your AI agent. You can restrict that to any subset of 2-9 tools.

List all tools

text
$ npx zephex tools   ● find_code             code         BM25 code search  ● read_code             code         AST-based reader  ● check_test            code         Plain English → focus files  ● get_project_context   code         Project snapshot  ● explain_architecture  code         Mermaid + dependency analysis  ● keep_thinking         reasoning    Persistent reasoning state  ● audit_headers         web          HTTP / TLS audit  ● check_package         web          Package safety check  ● project_memory      memory       Remember and recall project decisions, gotchas, and conventions across sessions via local SQLite  ● Zephex_dev_info       knowledge    Expert dev knowledge base

Restrict to specific tools

shell
# Just 2 tools (the minimum)npx zephex tools --enable find_code,read_code # Just 3 toolsnpx zephex tools --enable find_code,read_code,check_test # All 5 code toolsnpx zephex tools --enable find_code,read_code,check_test,get_project_context,explain_architecture # 4 tools — code reading + reasoningnpx zephex tools --enable find_code,read_code,check_test,keep_thinking # Re-enable all 10npx zephex tools --reset

The filter is saved to ~/.zephex/config.json. Restart your editor for changes to take effect.

For the full filtering guide with use cases see Tool Filtering.

keys — Show installed API keys

Lists every Zephex API key you have installed across all editors. Keys are masked for safety — only the first 12 and last 4 chars are shown.

text
$ npx zephex keys   Zephex API keys  Keys installed in your editor configs (masked for safety)   1. mcp_prod_pri…4f32  (pro)     Editors:  Cursor (global), Claude Code (global), VS Code (project)     Usage:    142/3500 this month (4%)   2. mcp_prod_ver…9a01  (free)     Editors:  Codex (global)     Usage:    47/555 this month (8%)   2 unique keys across 4 editor configs.

If multiple editors share one key (because you signed in once and connected several editors), they'll be grouped together. Each unique OAuth login creates one key.

usage — Per-tool call counts

Shows how many times each tool has been called this month, with a bar chart.

text
$ npx zephex usage   Zephex tool usage  How often each tool has been called by your installed keys   mcp_prod_pri…4f32  (pro)    Used by: Cursor (global), Claude Code (global)     Today        17 calls    This month   423 / 3500  ████░░░░░░░░░░░░░░░░ 12%     By tool (this month):      find_code              142  ███████████████      read_code               89  █████████░░░░░░      check_test              67  ███████░░░░░░░░      keep_thinking           51  █████░░░░░░░░░░      explain_architecture    28  ███░░░░░░░░░░░░      audit_headers           16  ██░░░░░░░░░░░░░      check_package           15  ██░░░░░░░░░░░░░      project_memory         9  █░░░░░░░░░░░░░░      get_project_context      4  ░░░░░░░░░░░░░░░      Zephex_dev_info          2  ░░░░░░░░░░░░░░░

If your editor was just connected, give it a few minutes — first calls take time to register. For live numbers see the dashboard.

doctor — Diagnose problems

Runs 6 checks to find common issues.

text
$ npx zephex doctor   zephex doctor  Diagnostic checks for Zephex setup   ✓ Node.js version       Node.js 22.10.0  ✓ Platform              darwin arm64 (24.5.0)  ✓ Proxy environment     No proxy configured  ✓ Network access        Reached https://zephex.dev/api/health  ✓ MCP endpoint          https://zephex.dev/mcp responding (401 expected without key)  ✓ Installed editors     Found Zephex in 4 editor config(s)   All checks passed. You're good to go.

If any check fails, the doctor shows a fix:

text
✗ Network access        Network error: getaddrinfo ENOTFOUND   → Check your internet connection or HTTPS_PROXY env var ✗ Node.js version       Node.js 18.0.0 is too old (requires 20+)   → Upgrade Node.js: https://nodejs.org/

info — Package info + update check

Shows the installed version, install path, platform, and checks the npm registry for newer versions.

text
$ npx zephex info   Zephex CLI  MCP tools for AI coding agents   Installed     2.2.0  Website       https://zephex.dev  Dashboard     https://zephex.dev/dashboard  Support       support@zephex.dev   Runtime  Install type  global (npm install -g)  Install path  /usr/local/bin/zephex  Node          v22.10.0  Platform      darwin arm64   Update  ● Newer version available: 2.3.0 (you have 2.2.0)    npm install -g zephex@latest    npx zephex@latest setup

skills — Manage skill + rule files

The skill file teaches your AI agent when to call Zephex tools. The rule file sets conventions. Without them, tools are available but the agent may not use them proactively.

shell
# Install skill + rule for an editornpx zephex skills --cursor # Install for any editor (interactive picker)npx zephex skills # Refresh existing skill + rule files to the latest versionnpx zephex skills --upgrade # Remove all skill + rule filesnpx zephex skills --remove

Skill files are written to editor-specific paths. For Cursor that's ~/.cursor/skills/find-code/SKILL.md and ~/.cursor/rules/zephex.mdc. For Claude Code that's ~/.claude/skills/find-code/SKILL.md and ~/.claude/rules/zephex.md. OpenCode uses ~/.config/opencode/skills/find-code/SKILL.md.

Flag reference

Editor flags (skip the picker)

text
--cursor          Cursor IDE--claude          Claude Code (CLI)--vscode          VS Code (with Copilot/Cline)--codex           Codex (OpenAI)--opencode        OpenCode CLI--windsurf        Windsurf IDE--zed             Zed editor--warp            Warp terminal agent--gemini          Gemini CLI--kiro            Kiro (AWS)--cline           Cline (VS Code extension)--jetbrains       JetBrains IDEs--kilo            Kilo Code (Roo successor)--amp             Amp (Sourcegraph)--continue        Continue (VS Code + JetBrains plugin)--copilot         GitHub Copilot CLI--droid           Factory Droid--claude-desktop  Claude Desktop app--antigravity     Google Antigravity IDE--trae            TRAE (ByteDance)

Behavior flags

text
--all             Apply to all editors (disconnect/reset)--with-skill      Also install skill + rule after setup--project         Install config in current project only--global          Install config globally (default outside projects)--upgrade         Refresh skill + rule files to latest version--remove          Remove skill + rule files--reset           Re-enable all tools (with tools command)--enable a,b,c    Restrict to specific tools (with tools command)--debug           Verbose output for troubleshooting--help, -h        Show help--version, -v     Same as info

Environment variables

text
ZEPHEX_API_KEY        Override the API key (skip OAuth flow)AUTH0_CLI_CLIENT_ID   Override the Auth0 client (advanced)DEBUG                 Set to any value for verbose loggingNO_COLOR              Set to disable colored outputHTTPS_PROXY           HTTP proxy URL (for corporate networks)

Exit codes

text
0    Success1    Configuration error or user cancellation2    Network or auth error3    Editor config write failed
Terminal

Terminal tools (Mode 2)

After setup, run hosted tools directly in the shell — same API as your editor, formatted for humans. Full guide: Terminal CLI guide.

shell
npx zephex learn                  # per-tool guide (no API call)npx zephex learn find_codenpx zephex find-code tools        # discovery after any tool namenpx zephex cli-guide              # interactive topicsnpx zephex get-contextnpx zephex find-code "auth"npx zephex summarize src/page.tsxnpx zephex architecturenpx zephex depsnpx zephex compare lodash ramdanpx zephex ask "where is login"npx zephex historynpx zephex help terminal          # all aliases

Power mode

CommandExamplePurpose
depsmcpcli depsProject dependency health scan
comparemcpcli compare lodash ramdaCompare two packages
historymcpcli history 3Re-run recent local commands
askmcpcli ask "where is login"Route plain English to the right tool

Command Compass: unknown input shows copy-paste fixes — full guide.

Tool discovery (no API call)

CommandOutput
mcpcliInteractive palette (TTY): context, find, deps, ask, learn
mcpcli learnIndex of core tools with copy-paste commands
mcpcli commandsAlias for learn — terminal tool index (not editor tools toggle)
mcpcli learn find_codeOne tool: purpose, aliases, examples, when to skip
mcpcli find-code toolsLearn screen — discovery terms: tools, help, com, commands
mcpcli get-context helpSame learn screen (no API call)
mcpcli get-contectTypo → auto-routes to get-context
mcpcli compass learbnCommand Compass — copy-paste fixes for typos and questions

Local by default: find/read/architecture index the folder you are in (not git remote unless you pass --no-local or --path github:owner/repo). Monorepos auto-pick the richest package (e.g. mcp-proxy/ from repo root).

Where to next

  • Command Compass — typos, questions, TTY pick-and-run
  • Terminal CLI (Mode 2) — find-code, monorepos, flags
  • Setup Walkthrough — visual end-to-end install diagram
  • Tool Filtering — enable/disable specific tools with examples
  • Quickstart — manual config (no Node.js)
  • Supported Editors — config path for each of 20 editors
  • Troubleshooting — common errors and fixes