How to Detect and Restrict Cursor with Jamf Pro
First find every Mac where Cursor is installed, then use Jamf Pro to stop it where it is not approved. Kuntur does the finding; the restriction is done in Jamf Pro. This page covers macOS; for Windows see the Intune version.
Step 1: find where Cursor is installed
Restrict only what you can see. Before writing a rule, find out which machines have Cursor, for which users, and how it was installed: the install method decides what a rule has to match. Two free ways:
- Across the fleet: the Jamf Pro extension attribute already includes Cursor. It is read-only and reports per device.
- On one machine: the free Kuntur scanner lists Cursor with every other AI tool, extension and MCP server it finds. Details per OS are in How to detect Cursor.
- Download scan.sh.
- Read it. It's plain text; here's what it does.
- Check its SHA-256 against the published hash:
shasum -a 256 scan.sh - Run it:
sh scan.sh
macOS and Linux shortcut, if you trust the source (Terminal)
curl -fsSL https://app.kuntur.io/scan.sh | shIt needs no account and no admin rights, and uploads nothing.
Step 2: see what a rule has to match
Cursor is a regular app bundle, Cursor.app, in /Applications or a user's ~/Applications. Its main process is named after the app, with helper processes alongside. Confirm the names on a test Mac with the script.
macOS (Terminal), read-only
# Read-only. Run on a test Mac while Cursor is open: the process names to match.
ps -axo comm= | grep -i cursor | sort -u
ls -d /Applications/Cursor.app ~/Applications/Cursor.app 2>/dev/null
Step 3: restrict Cursor with Jamf Pro
Jamf Pro's Restricted Software stops an app by its process name. According to Jamf's documentation:
- Create one record per app in Computers > Restricted Software > New, with a display name and the exact process name (the name of the executable file).
- Actions include killing the process, deleting the application and showing a message to the user; email notifications for violations are optional.
- The record applies only to computers in its scope, from their next check-in (
sudo jamf manageapplies it immediately on a test Mac).
A record with the main process name and the kill action stops Cursor from staying open; add delete application only if your policy says the app must not be present, and tell users first.
What the rule will not catch
- Copies outside /Applications still run with the same process name, so the kill action applies, but delete may not reach them.
- Other AI editors (Windsurf, VS Code with AI extensions) need their own records.
- Remote development on other machines is out of scope.
Where Kuntur fits
Kuntur finds where Cursor is installed, for every user profile, and lets you mark it approved or unauthorized with an audit trail. It does not block, restrict or uninstall anything: the restriction on this page is done by your MDM. Use the inventory before the rule (who will it affect?) and after it (are there installs the rule does not match, such as WSL or another install method?).
Kuntur detects and reports; it does not block, restrict or uninstall anything. Free for up to 5 endpoints; Pro is US$3 per endpoint per month.
FAQ
- Can Jamf Pro block Cursor?
- Jamf Pro's Restricted Software can kill a process by its exact name and optionally delete the application. How well that works for Cursor depends on its process names, covered on this page.
- Does Kuntur block Cursor?
- No. Kuntur finds where Cursor is installed and records whether you approved it. The restriction is a Jamf Pro Restricted Software record or another MDM control.
- Does deleting Cursor remove the user's settings?
- Jamf's delete action removes the application. User data folders such as ~/.cursor are separate; check Jamf's documentation for what delete covers in your version.
Sources
- Jamf support: Restricted Software in Jamf Pro
- Jamf Pro documentation: Creating a Restricted Software record
More guides and tools: