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

CLI account & authentication

New users: mcpcli init. Returning users: mcpcli setup or mcpcli login — your browser opens zephex.dev/cli/auth (dashboard login, not docs). Setup writes ~/.zephex/credentials.json automatically; you never paste a JSON file to authenticate. Terminal credentials are separate from editor MCP config (~/.cursor/mcp.json, .vscode/mcp.json, etc.).

MCPCLI — INSTALL FIRST

Short commands: after npm install -g zephex, use mcpcli setup (same as npx zephex setup). Requires Node.js 18+ — no Node? see options. Same CLI: mcpcli, zepx, zphx, mcpz, zepcli, zephx, or zephex (after npm i -g zephex).

First time? See CLI init (first run) for the guided wizard.

CLI — ACCOUNT COMMANDS
shell
# Sign in (browser) + editor config + terminal credentialsnpm install -g zephex && mcpcli setupmcpcli setup --cursormcpcli login --vscode              # alias for setup # Check account & connectionmcpcli statusmcpcli doctormcpcli usagemcpcli keys                        # open dashboard keys page # Remove from editors (revokes key server-side)mcpcli disconnect --cursormcpcli disconnect --all # Terminal sign-out only (editors unchanged)mcpcli logout # Fresh config after disconnect (all editor aliases work)mcpcli reconnect --cursormcpcli reconnect --claude-codemcpcli reconnect --vscodemcpcli reconnect --factory-aimcpcli reconnect --zedmcpcli reconnect --terminal # Full sign-outmcpcli logout --all # Disconnect + remove skill/rule files Zephex addedmcpcli reset --cursor

After npm install -g zephex, every bin runs the same CLI: mcpcli · zephex · zepx · zphx · mcpz · zepcli · zephx. Interactive help: mcpcli cli-guide account · mcpcli logout --help · mcpcli connect --help

LOGIN / CONNECT

Sign-in opens https://zephex.dev/cli/auth — the dashboard OAuth page, not documentation. Backend: POST /api/cli/session creates a session; browser completes auth at /cli/auth?session=…; CLI polls until the key is written to ~/.zephex/credentials.json.

shell
# Browser opens dashboard login (NOT docs)mcpcli initmcpcli setupmcpcli login          # alias for setupmcpcli connect --cursor   # alias for setup --cursor # Login URL (implementation)# POST /api/cli/session → redirect /cli/auth?session=…
How setup signs you in (one browser visit)
Terminalnpx zephex setupzephex.devPOST /api/cli/sessionBrowser/cli/authDashboardGitHub / GooglePollGET /pollsession_idopen URLOAuthkey readyEditor MCP filestdio or HTTP~/.zephexcredentials.jsonapi_keys rowuser_id + HMACwriteswritescreatesEmail shown once at setup — not stored in credentials.json (use dashboard for account)

Stdio editors never re-auth per tool call — the API key is written once into config env. HTTP editors (Cursor) store Bearer in headers.

connect, setup, and login run the same flow. First-time users: mcpcli init. Your email is shown once during browser sign-in — it is not stored in credentials.json (use the dashboard for account info).

LOGOUT

logout only removes terminal credentials. Editors keep their MCP config and API key until you disconnect or revoke at dashboard keys.

shell
# Terminal only — editors keep workingmcpcli logout # Terminal + every editor + revoke keysmcpcli logout --all # Remove one editor (revokes key)mcpcli disconnect --cursor # Fresh key after auth errorsmcpcli reconnect --cursor
UPGRADE CLI

After npm install -g zephex, check for newer npm releases and apply without reinstalling manually. Same command whether you type mcpcli or zephex.

shell
# Check installed vs npm latestmcpcli updatemcpcli update --check # Apply upgrade (global install)mcpcli update --apply # Refresh agent skill files after upgrademcpcli skills --upgrade # Verifymcpcli infomcpcli doctor

mcpcli update --apply # same: zephex update --apply

LOGOUT VS DISCONNECT
Account Commands — What Each One Touches
setup / loginOAuthEditor MCP.cursor/mcp.json~/.zephexcredentials.jsonDashboard keyrevocablelogoutdisconnectreconnectdeletes onlyremovesrevokesfresh setup

setup writes both editor MCP config and terminal credentials. logout only removes ~/.zephex. disconnect revokes the key and strips editor config.

This is the most common confusion. They solve different problems. Implementation matches src/commands/logout.ts and src/commands/disconnect.ts — not interchangeable.

CommandWhat it changesKey on serverWhen to use
logoutDeletes ~/.zephex/credentials.json (Windows: %USERPROFILE%\.zephex\credentials.json)Still valid until you revoke itSign out of terminal tools only; keep Cursor/VS Code connected
disconnectRemoves Zephex block from editor MCP JSON; revokes that keyRevokedStop MCP in an editor; rotate compromised key
reconnectQuiet disconnect + full setup againNew key after setup401 errors, expired key, fresh OAuth
resetdisconnect + removes Zephex skill/rule files it addedRevokedClean uninstall from a machine
shell
# Example: keep Cursor MCP, stop terminal tools using your keymcpcli logout# get-context will ask you to run setup again # Example: fully remove Zephex from Cursormcpcli disconnect --cursor# Restart Cursor — Zephex tools gone
ALL 41 ACCOUNT COMMANDS
CommandAliasesPurpose
initonboard, getting-startedFirst-run wizard: prereq checks → zephex.dev/cli/auth → terminal + optional editor
setuplogin, sign-in, connectBrowser OAuth → API key → editor MCP config + ~/.zephex
connect—Alias for setup — connect MCP to any of 22+ editors
logoutsign-outDelete ~/.zephex; --all also disconnects every editor
disconnectremoveRemove Zephex from editor JSON; revoke key server-side
reconnect—disconnect --quiet + fresh setup (--cursor, --claude-code, --vscode, …)
reset—disconnect + remove skill/rule files
status—Live MCP tools/list per installed editor config
listlsEvery supported editor — installed or not
doctor—Node, network, MCP reachability, project index, API key
keys—Masked keys + usage; links to dashboard
usagestatsPer-tool call counts this billing month
tools—List / enable / disable MCP tools in editor config
skills—Install or upgrade agent skill + rule markdown
infoversion, -vPackage version and install path
help-h, --helpFull reference; topics: terminal, tools, setup
cli-guideguide, howtoMode 2 deep guide (topics: project, auth, monorepo, …)
learncommandsPer-tool terminal guide (no MCP call); index or learn find_code
compass—Command Compass — guide when input doesn't match a command (no MCP call)
ask—Natural-language router to find, context, package, architecture
depsdependenciesScan all direct deps in package.json (batch check_package)
comparevsSide-by-side package intel for two npm packages
historyhist, again, repeatLocal command log; re-run with history N or again
updateupgrade (no args)Check npm latest; --apply runs npm install -g zephex@latest
repair—Fix broken stdio npm pins in editor MCP configs
uninstall—Remove Zephex CLI from PATH; --full deletes ~/.zephex
welcome—Print home screen (tools, slash palette, quota)
voice-check—Diagnose Voice Mode (pipe, PTT, STT subprocess)
voice-setup—Interactive Voice Mode setup (pipe + env vars)
slash-demoslash-previewPrint / palette without TTY (docs + CI)
remember—Store a project fact → project_memory MCP
recall—Search saved memories by keyword
memory—list | forget <uuid> — project_memory CLI
check urlsite-audit, audit-headers, check-urlLive HTTP/TLS header audit → audit_headers MCP
webwebsite, scan-webFull hosted website overview scan
sitepulse, brokenSite Pulse — fast local HTTP or cloud browser scan
supplysup, chainSupply Pulse — secrets, CVEs, deploy surface on URL or repo
shadowshadow-auditHidden API surface scan on repo or live URL
upgradeupgrde, updgradePackage smart upgrade (check_package --task upgrade); bare = CLI self-update
loop-guard—Alias for check-package --task upgrade (breaking-change guard)
last—Repeat last package lookup
EASY CONNECT / DISCONNECT TEST

Run this in a terminal to prove setup, terminal tools, logout, and reconnect — no editor required for the middle steps.

Five-Minute Test (No Editor Required)
1setupbrowser OAuth2doctornetwork + key3cd apppackage.json4get-contextlocal project5find-codesearch works

Prove Mode 2 works from your shell before you connect Cursor or VS Code.

shell
# Copy-paste test flow (no AI agent) — mcpcli = zephexnpm install -g zephexmcpcli initmcpcli doctorcd your-app   # folder with package.json + srcmcpcli overviewmcpcli get-contextmcpcli find-code "test"mcpcli safe lodashmcpcli check-testmcpcli check url https://example.commcpcli remember "first run used overview + get-context"mcpcli logoutmcpcli setup   # sign in againmcpcli update --check
shell
# Editor-only test (after setup --cursor)mcpcli status              # should list 10 toolsmcpcli disconnect --cursor# Restart Cursor → Zephex tools gonemcpcli reconnect --cursor# Restart Cursor → tools back
SETUP / LOGIN

setup and login are the same command. It:

  • Runs browser OAuth (GitHub or Google at zephex.dev).
  • Creates a CLI-scoped API key.
  • Writes the editor MCP config for the flag you pass.
  • Saves the key to terminal credentials for Mode 2 commands.
shell
mcpcli setupmcpcli setup --cursor --projectmcpcli connect --claude-codemcpcli setup --api-key mcp_prod_xxx   # skip browser if you already have a key

MCP connection walkthrough: Connect Zephex MCP.

WHERE THE CLI FINDS YOUR KEY

Terminal tools resolve the API key in this order:

  1. Environment: ZEPHEX_API_KEY or MCP_API_KEY
  2. File: ~/.zephex/credentials.json (written by setup)
  3. Some editor config files on disk (fallback when credentials file is missing)
How terminal tools connect to your account
LOCAL CLIHOSTEDmcpcli find-codeMode 2 toolmcpcli usageprefix onlyFull Bearerfrom ~/.zephexkey_prefix20 charsRailway MCPauth middlewarezephex.dev/api/cli/usageusage_eventsuser_id + api_key_idtier + countsno email returnedbilllookup

Tool commands send the full API key; the proxy resolves user_id and logs usage_events. mcpcli usage only sends a 20-char prefix — tier counts, not identity.

Manage keys in the dashboard: zephex.dev/dashboard/keys. Naming and formats: Key naming. Tool commands bill against your user_id server-side; mcpcli usage only sends a key prefix and returns tier counts.

CONFIG PATHS (ALL PLATFORMS)
Where setup writes config (all platforms)
macOS~/Library/…Linux~/.config/…Windows%APPDATA%Terminal creds~/.zephex/credentials.jsonVS Code MCPCode/User/mcp.jsonCursor~/.cursor/mcp.jsonAntigravity.gemini/antigravity/…npx zephexsame CLI

Same npx zephex setup command — paths differ by OS. Windows uses %USERPROFILE% and %APPDATA%.

Same npx zephex setup on macOS, Windows, and Linux — only the on-disk paths differ. Windows uses %USERPROFILE%\.zephex\ and %APPDATA%\. Run mcpcli list to see every config file Zephex knows about on this machine.

TRANSPORT & REPAIR
Transport policy — stdio vs HTTP + repair
STDIO (local file tools)HTTP (hosted tools only)VS Code, Zednpx -y zephexAntigravityrepair migratesContinue, HermesYAML + jsoncmcpcli repairpin + PATHCursorBearer + urlClaude Codeglobal HTTPCrushHTTP by designfixesnot migrated

npx zephex repair migrates HTTP → stdio for filesystem editors. Cursor, Claude Code (global HTTP), and Crush stay HTTP by design.

Most editors use stdio (npx -y zephex) so repo tools read your workspace. Cursor, Claude Code (global HTTP), and Crush stay HTTP. Run mcpcli repair to pin stdio versions, fix OpenCode command arrays, and migrate legacy HTTP entries for filesystem editors. Details: HTTP vs stdio.

AGENT SKILL — ADD & REMOVE
Agent skill — add vs remove
Add on setup--with-skillAdd laterskills --cursorRemove one editorreset --cursorRemove all skillsskills --removeFull teardownlogout --allopposite+ disconnect --all

Skills ship via setup --with-skill or skills install. Removal paths differ: per-editor reset vs global skills --remove.

ActionCommandWhat changes
Add on first setupmcpcli setup --cursor --with-skillInstalls find-code skill + rule for that editor
Add latermcpcli skills --cursorInstalls skill + rule for one editor without re-running OAuth
Remove from one editor + skillsmcpcli reset --cursordisconnect + skill removal (reset always passes --with-skill)
Remove all skill copiesmcpcli skills --removeStrips skill/rule from every known editor path
FULL TEARDOWN MATRIX

Pick the smallest command that matches your goal. These map to logout.ts, disconnect.ts (reset in cli.ts calls disconnect with --with-skill), and skills.ts.

GoalCommandTerminal credsEditor MCPSkillsKeys revoked
Stop terminal tools onlymcpcli logoutDeletedUnchangedUnchangedNo
Remove one editormcpcli disconnect --cursorUnchangedStrippedUnchangedYes (that key)
Clean one editor + skillsmcpcli reset --cursorUnchangedStrippedRemovedYes
Remove every editormcpcli disconnect --allUnchangedAll strippedUnchangedYes (per editor key found)
Full machine sign-outmcpcli logout --allDeletedAll strippedOptional via resetYes
shell
# Nuclear option — terminal + all editors + revokemcpcli logout --all # Also remove every skill copy Zephex installedmcpcli skills --remove
VERIFY WITHOUT AN AGENT
shell
mcpcli doctor# Node version, network, MCP reachability mcpcli status# Tier, key prefix, connection state mcpcli list# Which editor config files reference Zephex mcpcli repair# Fix unpinned stdio, OpenCode shape, GUI PATH hints mcpcli usage# Monthly request count vs plan limit mcpcli keys# Masked keys + dashboard link # If setup keeps failing the same way — use @latestnpx -y zephex@latest doctornpx -y zephex@latest repair

Connection failures: MCP troubleshooting · Global setup is the default (no --project unless you want workspace-scoped config).

DISCONNECT FLAGS

Use the same editor flags as setup. --all removes every Zephex entry the CLI knows about on this machine. Unlike setup, disconnect has no --project flag — it always checks both global and project config paths for that editor (project paths use your current working directory). Run cd into the repo before disconnect if you only want project-level files cleaned alongside global paths.

shell
mcpcli disconnect --cursormcpcli disconnect --vscodemcpcli disconnect --continuemcpcli disconnect --hermesmcpcli disconnect --kilomcpcli disconnect --claude-codemcpcli disconnect --allmcpcli disconnect --quiet    # used internally by reconnect

Revokes mcp_prod_ and legacy mcp_sk_ keys found in removed config blocks. Hermes YAML and Continue project JSON are supported (v2.5.5+).

SECURITY NOTES
  • Credentials file is mode 600 on Unix; never commit API keys.
  • logout does not revoke the key — use disconnect or revoke in the dashboard.
  • Rotating keys: mcpcli reconnect --cursor or create a new key and run setup with --api-key.

Related: Authentication · API key management · Terminal CLI.