Compare the two paths
If OAuth credentials are present in
guardian.yml, Guardian uses them instead of any API token in settings.yml. See Authentication if scans run under an unexpected account.Set up with Claude Code (recommended)
Follow the Quickstart, or see Claude Code setup for the local plugin option and more detail.Set up with another coding agent
Each of these integrations needs the Semgrep CLI installed and signed in first.Cursor
Hooks and MCP through the Cursor Plugin Marketplace.
Codex
MCP server via
~/.codex/config.toml.GitHub Copilot
MCP in Visual Studio, JetBrains, Xcode, or Eclipse.
VS Code
MCP server for Copilot Chat Agent mode.
Devin (Windsurf)
Cascade hooks after file writes.
Kiro
MCP server with local Semgrep CLI.
Other agents
Generic MCP or hook configuration.
Claude Code (local)
Run Guardian against a local Semgrep CLI instead of the remote server.