Skip to main content

Quick Reference


audit

Discover all MCP servers configured across your IDEs and run 20 security checks against each one. Produces a 0–100 risk score per server.

Syntax

Options

Flag Interactions

  • --verbose and --quiet are mutually exclusive — using both produces an error
  • --json is shorthand for --format json — both do the same thing
  • --offline skips all Tier 2 checks (11 of 20 checks require network)

Examples

Full audit with all checks
Offline only (no network requests)
Verbose with remediation details
Summary table only
CI/CD — fail on high or critical
CI/CD — fail on any finding

scan

List MCP server configurations discovered across your IDEs without running any security checks. Reads configuration files for Claude Code, Cursor, VS Code, Windsurf, Gemini CLI, Kiro, and Antigravity.

Syntax

Options

Examples

List all discovered MCP servers
JSON output for scripting

version

Print the Golf Scanner version string.

Syntax

Example Output


help

Show usage information for all commands.

Syntax


Environment Variables (Optional)

Golf Scanner works without any environment variables. These are optional and only affect online (Tier 2) checks: Set GITHUB_TOKEN when running online checks to avoid rate limiting on GitHub Trust checks:

Exit Codes