Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Meza-dev/Ghostly/llms.txt
Use this file to discover all available pages before exploring further.
ghostly install is the interactive setup wizard that prepares everything Ghostly needs to run on your machine. It is the first command you should run after installing the npm package, and it is safe to run again after updating — each step is idempotent and checks for existing configuration before making changes.
What it does
The installer walks through four sequential steps:Generate or reuse the API key
Reads
~/.ghostly/auth.json if it already exists. If an apiKey is present it is reused; otherwise a new UUID v4 key is generated automatically (equivalent to running ghostly keygen). The resulting credentials are written to ~/.ghostly/auth.json with mode 0600.Inject the MCP server into Cursor
Reads
~/.cursor/mcp.json and injects the Ghostly MCP server entry. If a Ghostly entry already exists you are prompted to confirm before overwriting. Declining leaves the existing MCP configuration untouched.Install Chromium
Checks whether Chromium is already available via Playwright. If it is not, you are prompted to install it. Accepting runs
npx playwright install chromium automatically. You can always install it manually later if you skip this step.Flags
Backend URL written to
~/.ghostly/auth.json and embedded in the MCP server configuration. Change this if you run the Ghostly engine on a non-default port.Usage
After installation
Onceinstall completes, the terminal displays a summary of next steps:
ghostly config— configure your AI provider (required for assisted test mode).ghostly up— start the local engine and dashboard.
ASSIST_LLM_API_KEY environment variable as an alternative to running ghostly config — the engine picks it up automatically on startup.
If Ghostly is already listed in
~/.cursor/mcp.json, the installer will ask
whether you want to overwrite it. Answer No to keep your existing MCP
config, or Yes to replace it with the configuration from the current CLI
version — useful after updating.Files written
| File | Purpose |
|---|---|
~/.ghostly/auth.json | API key and engine configuration |
~/.cursor/mcp.json | Cursor MCP server registry |
~/.cursor/rules/ghosttester-expert-architect.mdc | Cursor rule for Ghostly-aware completions |
~/.cursor/skills/ghosttester-expert-architect/ | Cursor skill bundle for test generation |