Skip to main content
Reference for where Sparkle stores state and which settings you can change.

CLI state

The CLI stores session and configuration data under ~/.sparkle/:
DataPurpose
SessionOAuth session created by sparkle login
Tool configurationWhich IDEs and agents sparkle setup has wired up
sparkle logout clears the session machine-wide. sparkle logout --ide <value> removes configuration for one tool without signing out.

Extension settings

Configure the extension under Settings → search for Sparkle Guardrails:
SettingDefaultDescription
sparkle-guardrails.telemetryEnabledtrueUpload telemetry data to Sparkle
sparkle-guardrails.debugfalseEnable debug logging for troubleshooting
Enable debug before running Sparkle: Diagnose if you need logs to share with team@sparkle.security.

Supported --ide values

Used with sparkle setup --ide <value> and sparkle logout --ide <value>:
ToolValue
Cursorcursor
Claude CodeclaudeCode
Windsurfwindsurf
Codexcodex

What setup writes

sparkle setup configures each tool with:
  • The Sparkle MCP server connection, which exposes the get_guardrails tool
  • Sparkle hooks, which runs on prompts, MCP calls, file edits, and session events
  • Guardrail rules for your workspace
You don’t edit these by hand. Re-run sparkle setup to repair or update a tool’s configuration.

Commands

Full CLI command reference.

Troubleshooting

Fix login, sync, and connection issues.