Before you roll out
Each developer still signs in to Semgrep individually once Guardian is installed. Read Authentication first. It covers the OAuth and CLI sign-in models, where credentials are stored, and why shared tokens and service accounts are discouraged for fleet rollouts.Prerequisites
- You have a Semgrep account and organization.
- You are an admin for your coding agent’s enterprise controls and your MDM platform, if applicable.
- Claude Code is the recommended setup for organization-wide rollout.
Option 1: Use your agent’s built-in enterprise controls
Many coding agents let you pin an approved marketplace or plugin for your whole team. This is the simplest way to enable Guardian across your organization or make it required.- Claude Code
- Cursor
1
Enable the plugin in your managed settings
Modify your Claude marketplace settings to include Semgrep in your enabled plugins list:
2
Confirm the plugin is connected
Run
claude mcp get plugin:semgrep:guardian and confirm it reports as connected.claude-plugins-official), so the payload only needs to enable the plugin. There’s no separate marketplace to declare. See Require marketplaces for your team for more information.Option 2: Deploy through a mobile device management (MDM) platform
Deploy through your MDM platform to scope rollout by device group. These templates configure Claude Code only. To roll out Guardian to Cursor, use Option 1.- Jamf
- Iru (Kandji)
Deploy a Custom Settings payload with preference domain
com.anthropic.claudecode through a Configuration Profile.1
Create the property list
Save the following as
com.anthropic.claudecode.plist.com.anthropic.claudecode.plist
com.anthropic.claudecode.plist
com.anthropic.claudecode.plist
2
Upload it as a Custom Settings payload
Follow Jamf’s guide, Deploying Custom Computer Configuration Profiles Using the Application and Custom Settings Payload, using the preference domain
com.anthropic.claudecode and the property list above as the uploaded file.3
Scope the profile
Scope the Configuration Profile to your target device group.
Deployment recommendations
- Test the rollout on a single machine before pushing to the whole fleet.
- After deploying, confirm that Guardian loaded by running
claude mcp get plugin:semgrep:guardianand confirming it reports as connected. - Users still need to log in to Semgrep once Guardian is installed. See Authentication for how sign-in works, and the Quickstart for setup steps.