Configure MCP servers
Set up the Fortify SCA MCP server with the Fortify SCA CLI for supported AI coding agents.
Fortify SCA MCP server
The Fortify SCA MCP server provides SLP for Agents. It gives AI coding agents policy context from Fortify SCA when they add, install, upgrade, import, or recommend a dependency.
When an agent attempts to add a dependency, it calls the server. The server checks whether the dependency complies with the repository's Fortify SCA policies before the agent proceeds.
The server also identifies policy findings for dependencies and projects.
For standalone server details, see the Fortify SCA MCP repository.
Before you start
Install the current Fortify SCA CLI and confirm it’s available in your terminal:
debricked --helpScan the repository
Scan the repository before configuring the MCP server. This registers its dependency data and evaluates the policies assigned to that repository.
From the repository root, authenticate and run a scan:
debricked auth login
debricked scan .Before using the MCP server:
Confirm that the scan completes successfully.
Configure the policies and rules that apply to the repository in Fortify SCA.
Use the MCP server. It evaluates dependencies against those repository policies.
Set up a client
Run the setup command with your client’s identifier:
For VS Code with GitHub Copilot, use:
To check the setup status, run the command below.
Confirm your client and the Fortify SCA MCP server are listed.
Configure manually
If automatic setup is not available for your client, configure the MCP server manually. Use the current manual setup instructions for the required client configuration.
Remove a client configuration
Remove the Fortify SCA MCP server entry for a client with the uninstall command. For VS Code, run:
Configure automatic invocation
For GitHub Copilot, add repository instructions so the agent calls the Fortify SCA MCP server whenever it changes a dependency.
Create .github/copilot-instructions.md in the repository:
Commit this file with the repository. GitHub Copilot reads these instructions when it works in the repository.
Check a dependency
When an agent adds or upgrades a dependency, it calls the server automatically. You can also trigger a check with a direct request or a feature plan that requires a new package. For example, in GitHub Copilot Chat:
Add
lodashto my repository.
Upgrade
lodashto the latest version.
If a proposed package does not comply, the agent can find an alternative version or package. Each alternative triggers a new policy check. The agent proceeds only after the selected dependency complies with the repository's policies.
Troubleshooting
If the server does not appear, close the AI client completely and reopen it. Then rerun debricked mcp status.
If the client configuration is missing, run setup again for that client. Use debricked mcp --help to review the commands supported by your installed CLI version.
For CLI source and release information, see the Fortify SCA CLI repository.
Last updated
Was this helpful?

