How to register the Black Duck MCP server with Claude.
Node.js 24 or higher. If you need to download Node.js, see Node.js download.
Claude Code. If you need to install Claude, see Claude Code - Quickstart.
- A Signal Enterprise or Developer subscription.
Install with CLI commands
$ claude mcp add black-duck --transport stdio --scope user --env BLACKDUCK_MCP_GATEWAY_KEY=YOUR_LLM_API_KEY -- npx @black-duck/mcp-server@latestAbout this codeblock:
This two-part instruction stores the MCP configuration in Claude’s system, then uses NPX to install and run the Black Duck MCP server and establish communication between the two.
Be sure to substitute your API key environment variable after
key=.Including
--scope usersets the MCP at the user level and not system-wide. This prevents other users from accessing the MCP server with your credentials.
Verify your setup
Start Claude Code.
$ claudeAsk Claude to scan some of your files using Black Duck.
Alternative installation methods
If this method didn't work for you, or you prefer a different method, see installing MCP servers.