How to Detect Cursor in Your Company

Cursor installs per user without admin rights, signs in with whatever account the developer chooses, and keeps its own MCP servers and extensions. Here is where it leaves traces on each OS, how to check one laptop in a minute, and how to find it across a fleet.

By Kuntur team · Published

What Cursor is and why security teams care

Cursor, from Anysphere, is a fork of VS Code built around an AI agent. The agent reads the open workspace to build context, edits files, and runs terminal commands as the logged-in user. Code and prompts go to Cursor's service and the model providers behind it, under the terms of the account the developer signed in with.

For a security team that raises four questions a plain editor inventory does not answer:

Cursor also ships a terminal agent, cursor-agent, which can be installed on machines that never had the editor, including servers.

Where Cursor leaves traces

SignalWindowsmacOSLinux
Application%LOCALAPPDATA%\Programs\cursor (per user), %PROGRAMFILES%\cursor (per machine)/Applications/Cursor.app, ~/Applications/Cursor.app/opt/Cursor, /usr/share/cursor, ~/.local/bin/cursor, AppImage in ~/Applications
Installed programsUninstall entry whose name starts with Cursor, under HKCU or HKLM-Package manager entry for .deb or .rpm installs
ProcessCursor.exeCursorcursor
User data (evidence of use)%USERPROFILE%\.cursor~/.cursor~/.cursor
Editor settings%APPDATA%\Cursor\User~/Library/Application Support/Cursor/User~/.config/Cursor/User
MCP servers%USERPROFILE%\.cursor\mcp.json~/.cursor/mcp.json~/.cursor/mcp.json
Extensions%USERPROFILE%\.cursor\extensions~/.cursor/extensions~/.cursor/extensions
CLI agentcursor-agent on PATHcursor-agent on PATHcursor-agent on PATH

Projects add their own traces: .cursor/mcp.json, .cursor/rules/*.mdc, .cursorrules and .cursorignore. They prove Cursor is used on a repository even when the editor runs on another machine.

The data folder is the most useful single signal. The application can be deleted, run from an AppImage or reinstalled; ~/.cursor stays, and its modification time tells you whether it is still in use.

Check one machine

Both checks only read files, the process table and, where relevant, the local listener table. They send nothing over the network and change nothing.

Windows (PowerShell)

# Read-only, no network. Run as the user (not SYSTEM) so the per-user paths resolve.

# 1. Installed? Per-user and per-machine folders, and the uninstall entry
"$env:LOCALAPPDATA\Programs\cursor\Cursor.exe", "$env:ProgramFiles\cursor\Cursor.exe" |
  Where-Object { Test-Path $_ } | Get-Item |
  Select-Object FullName, @{n = 'Version'; e = { $_.VersionInfo.ProductVersion } }
Get-ItemProperty 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*',
                 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*' -ErrorAction SilentlyContinue |
  Where-Object { $_.DisplayName -match '^Cursor' } | Select-Object DisplayName, DisplayVersion

# 2. Running now? Also the terminal agent
Get-Process -Name Cursor, cursor-agent -ErrorAction SilentlyContinue | Select-Object Name, Id, Path
Get-Command cursor-agent -ErrorAction SilentlyContinue | Select-Object Source

# 3. Used, and what it carries: data folder, MCP server names, extensions
Get-Item -Force "$env:USERPROFILE\.cursor" -ErrorAction SilentlyContinue | Select-Object FullName, LastWriteTime
$mcp = "$env:USERPROFILE\.cursor\mcp.json"
if (Test-Path $mcp) { (Get-Content $mcp -Raw | ConvertFrom-Json).mcpServers.PSObject.Properties.Name }
Get-ChildItem "$env:USERPROFILE\.cursor\extensions" -Directory -ErrorAction SilentlyContinue |
  Select-Object -ExpandProperty Name

macOS and Linux (bash)

# Read-only, no network. Run as the user.

# 1. Installed? macOS app bundles, Linux folders and AppImages, the CLI agent
ls -d /Applications/Cursor.app ~/Applications/Cursor.app 2>/dev/null
ls -d /opt/Cursor /usr/share/cursor ~/.local/bin/cursor ~/Applications/cursor*.AppImage 2>/dev/null
command -v cursor-agent

# 2. Running now?
pgrep -il cursor

# 3. Used, and what it carries: data folder, MCP server names (needs jq), extensions
ls -ld ~/.cursor 2>/dev/null
[ -f ~/.cursor/mcp.json ] && jq -r '.mcpServers // {} | keys[]' ~/.cursor/mcp.json
ls ~/.cursor/extensions 2>/dev/null

The MCP part prints server names only. The same file often holds API tokens in an env block, so avoid printing whole entries into a ticket or an MDM log. To review the full configuration safely, paste it into the MCP config auditor, which runs in your browser.

What to look at beyond the install

Finding Cursor tells you who has it. These settings tell you how much it can do on its own; most are set in Cursor's team dashboard and apply only to members of your team:

The vendor details, documented CVEs and a comparison with Claude Code's managed settings are in Cursor and Claude Code in your company: risks and controls.

Find it across a fleet

The commands above answer the question for one laptop. Across a fleet, run the same read-only checks from the management tool you already use and collect one line per device. Each of these guides has a tested script that already includes Cursor:

Those scripts walk every profile under C:\Users or /Users, because MDM scripts usually run as SYSTEM or root, where %USERPROFILE% and ~ point at the wrong home folder. On Linux, run the bash checks through whatever configuration management you have (Ansible, Salt, a cron job) and loop over /home/* the same way.

How Kuntur detects Cursor

Kuntur's detection catalog identifies Cursor by its install path on each OS, the running process, the Windows installed-programs entry and the ~/.cursor data folder, and reports cursor-agent as a separate CLI tool. For every user profile the agent also lists Cursor's MCP servers (user and project level) and its extensions, scored on what they declare rather than on their names. MCP servers carry their own findings, for example an unpinned npx package, a plaintext token or a remote server over plain HTTP.

To check one machine now, the free Kuntur scanner lists Cursor together with every other AI tool, extension, local model and MCP server it finds:

  1. Download scan.ps1.
  2. Read it. It's plain text; here's what it does.
  3. Check its SHA-256 against the published hash: Get-FileHash .\scan.ps1 -Algorithm SHA256
  4. Run it: powershell -ExecutionPolicy Bypass -File .\scan.ps1

Windows shortcut, if you trust the source (PowerShell)

irm https://app.kuntur.io/scan.ps1 | iex

macOS and Linux (Terminal)

curl -fsSL https://app.kuntur.io/scan.sh | sh

It needs no account and no admin rights, writes an HTML report to the Desktop (or home folder) and uploads nothing. You can read scan.ps1 or scan.sh before running it; what it collects is documented.

Across a fleet, the Kuntur agent reports the same inventory for every user profile on Windows, macOS and Linux. You mark Cursor approved or unauthorized once for the organization, the dashboard shows which machines carry it, and every decision lands in an audit log.

Free for up to 5 endpoints. Pro is US$3 per endpoint per month (or US$30 per endpoint per year) for 10 to 30 endpoints. The trial needs no credit card. Kuntur detects and reports; it does not block or uninstall anything.

FAQ

Does Cursor need admin rights to install?
No. The default Windows installer writes to %LOCALAPPDATA%\Programs\cursor and registers under HKCU, and on macOS it can run from ~/Applications. A machine-wide installer also exists, so check both locations.
Where does Cursor store MCP servers?
In ~/.cursor/mcp.json for the user and in .cursor/mcp.json inside a project. Both use the mcpServers key.
How do I tell if Cursor is actually used, not just installed?
Check the modification time of ~/.cursor and of the editor's User settings folder, and whether the process is running. An old timestamp with no process usually means a trial that was abandoned.
Does a VS Code extension allowlist cover Cursor?
No. Cursor keeps its own extensions in ~/.cursor/extensions and installs them from Open VSX. VS Code's extensions.allowed policy does not apply to it.
Can Kuntur tell if a developer uses a personal Cursor account?
No. Kuntur reports the installed editor, its MCP servers and extensions. Account enforcement belongs to Cursor's Allowed Team IDs policy, delivered by MDM.

Sources

  1. Cursor docs: Model Context Protocol
  2. Cursor docs: Security and privacy hardening

Detect other AI tools:

Related guides: