How to Find GitHub Copilot on Company Endpoints

Copilot is often the approved AI assistant, which is exactly why it is worth inventorying: the license covers people signed in to your organization, not every Copilot install on your machines. Here is where each Copilot surface lives and how to list them.

By Kuntur team · Published

What GitHub Copilot is and why security teams care

GitHub Copilot comes in several pieces that install separately: the Copilot and Copilot Chat extensions for VS Code (and the VS Code forks), a plugin for JetBrains IDEs, and GitHub Copilot CLI, a terminal agent distributed as an npm package. Copilot Chat in agent mode can edit files, run terminal commands and call MCP servers.

Even when Copilot is approved, three things are worth knowing per machine:

Do not confuse GitHub Copilot with the Microsoft Copilot desktop app, a separate consumer and Microsoft 365 assistant that installs as a Store package. Kuntur reports them as different tools.

Where GitHub Copilot leaves traces

SurfaceWindowsmacOSLinux
VS Code extension%USERPROFILE%\.vscode\extensions\github.copilot-*, github.copilot-chat-*~/.vscode/extensions/github.copilot-*~/.vscode/extensions/github.copilot-*
VS Code forksSame IDs under .cursor\extensions, .windsurf\extensionsSame IDs under ~/.cursor/extensions, ~/.windsurf/extensionsSame as macOS
Remote and WSL--~/.vscode-server/extensions on the remote host
JetBrains pluginPlugin folder under %APPDATA%\JetBrains\<product>\pluginsPlugin folder under ~/Library/Application Support/JetBrains/<product>/pluginsPlugin folder under ~/.local/share/JetBrains/<product>
Copilot CLInpm package @github/copilot, copilot on PATHSameSame
Copilot CLI data%USERPROFILE%\.copilot~/.copilot~/.copilot
MCP servers%APPDATA%\Code\User\mcp.json, %USERPROFILE%\.copilot\mcp-config.json~/Library/Application Support/Code/User/mcp.json, ~/.copilot/mcp-config.json~/.config/Code/User/mcp.json, ~/.copilot/mcp-config.json

VS Code's mcp.json uses servers as its top-level key; Copilot CLI uses mcpServers. A parser that looks for only one of them misses half the servers.

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).

# 1. Copilot extensions in VS Code and its forks
'.vscode', '.vscode-insiders', '.cursor', '.windsurf' | ForEach-Object {
  Get-ChildItem (Join-Path $env:USERPROFILE "$_\extensions") -Directory -Filter 'github.copilot*' -ErrorAction SilentlyContinue
} | Select-Object FullName, LastWriteTime

# 2. JetBrains IDEs: one plugins folder per product and version
Get-ChildItem "$env:APPDATA\JetBrains\*\plugins" -Directory -ErrorAction SilentlyContinue |
  Where-Object { $_.Name -match 'copilot' } | Select-Object FullName

# 3. Copilot CLI: binary and data folder
Get-Command copilot -ErrorAction SilentlyContinue | Select-Object Source
Get-Item -Force "$env:USERPROFILE\.copilot" -ErrorAction SilentlyContinue | Select-Object FullName, LastWriteTime

# 4. MCP servers Copilot can call (names only)
$cli = "$env:USERPROFILE\.copilot\mcp-config.json"
if (Test-Path $cli) { (Get-Content $cli -Raw | ConvertFrom-Json).mcpServers.PSObject.Properties.Name }
$vs = "$env:APPDATA\Code\User\mcp.json"
if (Test-Path $vs) { (Get-Content $vs -Raw | ConvertFrom-Json).servers.PSObject.Properties.Name }

macOS and Linux (bash)

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

# 1. Copilot extensions in VS Code and its forks
for d in ~/.vscode ~/.vscode-insiders ~/.cursor ~/.windsurf ~/.vscode-server; do
  ls -d "$d"/extensions/github.copilot* 2>/dev/null
done

# 2. JetBrains IDEs (macOS, then Linux)
ls -d ~/Library/Application\ Support/JetBrains/*/plugins/*copilot* 2>/dev/null
ls -d ~/.local/share/JetBrains/*/*copilot* 2>/dev/null

# 3. Copilot CLI
command -v copilot
ls -ld ~/.copilot 2>/dev/null

# 4. MCP servers Copilot can call (names only, needs jq)
[ -f ~/.copilot/mcp-config.json ] && jq -r '.mcpServers // {} | keys[]' ~/.copilot/mcp-config.json
for f in ~/Library/Application\ Support/Code/User/mcp.json ~/.config/Code/User/mcp.json; do
  [ -f "$f" ] && jq -r '.servers // {} | keys[]' "$f"
done

VS Code's mcp.json may contain comments. PowerShell 7 parses those; Windows PowerShell 5.1 does not, so run the check in pwsh if it fails to parse. Workspace servers in .vscode/mcp.json live in each repository; the MCP detection guide shows how to find them without scanning the whole disk.

What to look at beyond the install

To keep Copilot as the assistant you approved rather than one of many:

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 GitHub Copilot:

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 GitHub Copilot

Kuntur lists the Copilot and Copilot Chat extensions in every VS Code-family editor folder, the Copilot plugin in JetBrains IDEs, and GitHub Copilot CLI by its npm package, binary, process and ~/.copilot folder. It reads the MCP servers from VS Code's user mcp.json and settings, from workspace .vscode/mcp.json files and from Copilot CLI's config. Third-party extensions that hook into Copilot Chat, for example by registering language-model tools, are scored as AI extensions in their own right.

To check one machine now, the free Kuntur scanner lists GitHub Copilot 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 GitHub Copilot 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

Is GitHub Copilot a Shadow AI risk if we pay for it?
The licensed seats are not. The risk is the same extension signed in to personal accounts, which your organization policies do not cover, and the MCP servers and third-party extensions that plug into Copilot Chat.
Where are GitHub Copilot extensions installed?
In the editor's extensions folder, for example ~/.vscode/extensions/github.copilot-chat-<version>. Cursor and Windsurf keep separate folders, and remote sessions install under ~/.vscode-server/extensions on the remote host.
How do I find GitHub Copilot CLI?
Look for the global npm package @github/copilot, a copilot binary on PATH, and the ~/.copilot data folder, which also holds its mcp-config.json.
Can Kuntur tell which GitHub account Copilot is signed in with?
No. Kuntur reports where Copilot is installed and what it is configured to call. Compare that list with the seats assigned in your GitHub organization.

Sources

  1. GitHub Docs: About GitHub Copilot CLI
  2. GitHub Docs: Managing policies for Copilot in your organization
  3. VS Code docs: MCP configuration reference
  4. VS Code docs: Manage extensions in enterprise environments

Detect other AI tools:

Related guides: