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.
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:
- Which account is signed in. GitHub's organization policies (model access, public-code matching, MCP and agent features) apply to seats your organization assigns. The same extension signed in to a personal Copilot Free or Pro account follows that person's settings instead. Inventory tells you who has Copilot; your GitHub seat list tells you who should.
- Which MCP servers it can call. In VS Code, MCP servers are configured per user in
mcp.jsonand per workspace in.vscode/mcp.json. Copilot CLI has its own~/.copilot/mcp-config.json. - What else plugs into it. Other extensions can register tools or chat participants that Copilot Chat uses. They inherit Copilot's reach without being Copilot.
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
| Surface | Windows | macOS | Linux |
|---|---|---|---|
| VS Code extension | %USERPROFILE%\.vscode\extensions\github.copilot-*, github.copilot-chat-* | ~/.vscode/extensions/github.copilot-* | ~/.vscode/extensions/github.copilot-* |
| VS Code forks | Same IDs under .cursor\extensions, .windsurf\extensions | Same IDs under ~/.cursor/extensions, ~/.windsurf/extensions | Same as macOS |
| Remote and WSL | - | - | ~/.vscode-server/extensions on the remote host |
| JetBrains plugin | Plugin folder under %APPDATA%\JetBrains\<product>\plugins | Plugin folder under ~/Library/Application Support/JetBrains/<product>/plugins | Plugin folder under ~/.local/share/JetBrains/<product> |
| Copilot CLI | npm package @github/copilot, copilot on PATH | Same | Same |
| 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:
- Compare the machines with Copilot installed against your organization's assigned seats. Anyone with the extension and no seat is on a personal plan.
- Set the Copilot policies for your organization in GitHub, including whether MCP servers may be used.
- Pin the extension list with VS Code's
extensions.allowedpolicy, so other AI assistants (Cline, Continue, Roo Code and others) do not run next to Copilot. The Copilot vs unapproved AI extensions guide has a script that finds them by what their manifests declare.
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:
- Windows with Intune: Detect AI tools with Intune Remediations (detection-only script, results in the device status column).
- Windows with NinjaOne: Inventory AI tools with NinjaOne (writes a summary to a device custom field).
- macOS with Jamf Pro: Find AI tools with a Jamf Pro extension attribute (plus a Smart Group to act on it).
- macOS with Iru (Kandji): Detect AI tools with an Iru custom script (with an allowlist).
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:
- Download scan.ps1.
- Read it. It's plain text; here's what it does.
- Check its SHA-256 against the published hash:
Get-FileHash .\scan.ps1 -Algorithm SHA256 - Run it:
powershell -ExecutionPolicy Bypass -File .\scan.ps1
Windows shortcut, if you trust the source (PowerShell)
irm https://app.kuntur.io/scan.ps1 | iexmacOS and Linux (Terminal)
curl -fsSL https://app.kuntur.io/scan.sh | shIt 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/extensionson the remote host. - How do I find GitHub Copilot CLI?
- Look for the global npm package
@github/copilot, acopilotbinary on PATH, and the~/.copilotdata folder, which also holds itsmcp-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
- GitHub Docs: About GitHub Copilot CLI
- GitHub Docs: Managing policies for Copilot in your organization
- VS Code docs: MCP configuration reference
- VS Code docs: Manage extensions in enterprise environments
Detect other AI tools:
Related guides: