Quick start
Sign in
Authenticate with Sparkle via browser OAuth:Your session is stored locally under
~/.sparkle/.Set up your tools
Configure all detected AI coding tools:
sparkle setup auto-detects installed tools and wires each one with the Sparkle MCP server, IDE hooks, and guardrail rules.Configure a specific IDE
To set up one tool instead of all detected tools, pass the--ide flag:
--ide values.
Sign out
Sign out machine-wide:What setup configures
When you runsparkle setup, the CLI:
- Connects your CLI & IDE to the Sparkle MCP server
- Installs and wires up relevant hooks
- Registers guardrail for your workspace
Use the extension instead
You can also use the Sparkle Guardrails extension for VS Code, Cursor, and Windsurf. The extension bundles this CLI and delegates setup to it.Supported IDEs/Coding Agents
| Tool | --ide value |
|---|---|
| Cursor | cursor |
| Claude Code | claudeCode |
| Windsurf | windsurf |
| Codex | codex |

