Getting started
This page takes you from installing the extension to your first findings in about five minutes.
1. Install the extension
From the Marketplace
- Open the Extensions view in VS Code or Cursor (
Ctrl+Shift+X, orCmd+Shift+Xon macOS). - Search for FossID and select Install.
From a VSIX file
Use this route if your organization distributes the extension itself, for example in a network-restricted environment. Your administrator gives you a platform-specific .vsix file.
- Open the Extensions view.
- Open the
…menu and choose Install from VSIX…. - Select the file, then reload the window when prompted.
The extension starts automatically once the editor has finished loading. You don't need to open any particular file.
2. Sign in
The Sign in to FossID window opens by itself the first time the extension starts. You can also open it at any time:
- from the FossID icon in the Activity Bar, by selecting Set Up FossID;
- by clicking FossID: Not configured in the status bar;
- by running FossID: Sign In from the Command Palette (
Ctrl+Shift+P, orCmd+Shift+Pon macOS).
In the window:
- Server. The field starts on FossID's global server,
https://api.scan.fossid.app. To use another server, type its address. If your administrator has set the address already, it is filled in for you and can't be changed. - Sign in with your organization account. Select Continue with Microsoft or Continue with Okta:
- Microsoft. Your browser opens at the Microsoft sign-in page. Pick your work account.
- Okta. A Work email field appears. Enter your work email address and select Continue with Okta again. FossID uses your email address only to find your organization's Okta sign-in page; nothing is sent until you continue. Your browser then opens at your organization's Okta sign-in page.
- When the browser says Signed in to FossID, close the tab and return to the editor.
No FossID account? Select I have a trial key in the window, and paste the key from your trial email. See Sign in with a trial key.
The window shows Checking your FossID connection to <server>… and then Connected to <server>. You're done.
See Signing in for details, including what to do if sign-in fails.
3. See your first findings
Open any source file or dependency manifest (for example package.json, pom.xml or requirements.txt). FossID scans it in the background:
- A FossID item in the status bar shows FossID scanning…, then either FossID: clean or the number of findings, for example FossID: 3 findings.
- Findings appear in the Problems panel under the source FossID, and as squiggles in the editor.
- In a manifest, each dependency gets a short annotation at the end of its line, such as
→ 4.17.21 ✓or→ 6.4.4, ⚠ 1 CVE (HIGH).
To scan everything at once, run FossID: Scan Workspace. A trial doesn't include it. See Scanning.
4. Set up your license policy
The license rules need a policy to tell them which licenses are acceptable. Without one, FossID still reports vulnerabilities and modified license texts. It doesn't flag any license as prohibited or as needing review.
- If your organization has a company policy, it already applies. There is nothing to set up. Open License Policies in the FossID side bar: the banner says Managed by your organization.
- Otherwise, select License Policies to build a policy for this repository. It is saved in
.fossid/policy.json.
See License policy.
5. Connect your AI assistant (optional)
After you sign in, FossID registers itself with Copilot, Claude Code and Cursor automatically. It does this by writing small configuration files into your workspace folder:
.vscode/mcp.jsonfor Copilot;.mcp.jsonfor Claude Code;.cursor/mcp.jsonfor Cursor.
In Copilot Agent Mode or Claude Code, try:
- "Scan this workspace and give me a risk overview."
- "Find all files with GPL-3.0 licenses and push them to the Problems panel."
Cursor adds the servers in a disabled state. Enable fossid-mcp and fossid-editor once in Cursor's MCP settings.
See Using FossID with AI assistants.
Tip: The configuration files contain addresses specific to your machine and no credentials. The first time FossID writes them on your computer, it offers to copy the lines for your
.gitignore. We recommend ignoring them:.vscode/mcp.json.mcp.json.cursor/mcp.json
The FossID side bar
Select the FossID icon in the Activity Bar to open the side bar.
- Before you sign in, it shows the Setup view, with Set Up FossID and Contact FossID buttons. A badge on the icon reminds you that setup isn't finished.
- After you sign in, it shows two views:
- Policies, with links to Detection Rules and License Policies. Its
…menu also holds FossID: Scan Workspace and FossID: Reconfigure. - Ignores, with a Manage Ignores link to the list of accepted exceptions.
- Policies, with links to Detection Rules and License Policies. Its