Troubleshooting
Fixes for common HiAUDIT setup and connection issues.
Fixes for common HiAUDIT setup and connection issues.
If macOS shows a “cannot be opened” or “unverified developer” error after installation, clear the quarantine attributes and ad-hoc sign the binary. Run this once:
sudo xattr -cr /usr/local/bin/hiauditagent
sudo codesign --force --sign - /usr/local/bin/hiauditagentThe full API key value is displayed only at creation time. If you lose it, create a new key from the API Keys page in the dashboard, then re-run the installer with the new key.
hiauditagent mcp add after installing.PATH by running hiauditagent --help.hiauditagent mcp add writes to your editor’s MCP config file:
| Tool | Config file |
|---|---|
| Cursor | ~/.cursor/mcp.json |
| Claude Code | ~/.claude/mcp.json |
| Windsurf | ~/.windsurf/mcp.json |
| OpenAI Codex | ~/.codex/mcp.json |
| Gemini CLI | ~/.gemini/mcp.json |
You can open these files to confirm the hiauditagent server entry was added, or to
configure it manually (see Connect to your IDE).
Run hiauditagent --help. If the help text prints, the agent is installed correctly. If
the command is not found, the binary may not be on your PATH — re-run the
installer.