Signal and Visual Studio with GitHub Copilot

Black Duck Signal

How to register the Black Duck MCP server in Visual Studio with GitHub Copilot.

Prerequisites:

  • Node.js 24 or higher. If you need to download Node.js, see Node.js download.

  • Visual Studio. If you need to download Visual Studio, see Visual Studio download.
  • GitHub Copilot plugin. If you don’t have GitHub Copilot in Visual Studio, use the Extensions Marketplace to install it. For more details, see the official GitHub Copilot - Getting Started.
  • A Signal Enterprise or Developer subscription.

Follow the steps to add Black Duck's MCP server in Visual Studio with GitHub Copilot:

  1. In Visual Studio, access the Copilot Chat window by pressing Control + \, then press C.
  2. Select the Select tools and skills button.
  3. Click on the + button at the top right of the menu.
  4. Select Add custom MCP server.
  5. Enter the following information:
    • Server ID: blackduck-mcp-server
    • Type: stdio
    • Command: npx @black-duck/mcp-server@latest
    • Environment Variables: BLACKDUCK_MCP_GATEWAY_KEY = YOUR_LLM_API_KEY
      Note: Replace the API key placeholder with your API key.
  6. Click Save to save the MCP configuration in $HOME/.mcp.json.

Verify your setup

  1. Verify if the Black Duck MCP server is enabled in the Select tools and skills menu.
  2. Run a full scan by typing the following command into Copilot Chat:
    Scan my code with Black Duck
  3. Run an incremental scan by typing the following code into Copilot Chat:
    Scan my code changes with Black Duck
If you need additional support, see Visual Studio MCP Server Documentation.