Black Duck Security Scanner MCPサーバー
コミット 2026年9月2日AIコーディングアシスタントによる、脆弱性を検出して実行可能な修正案を受け取るための、増分またはターゲットを絞ったセキュリティスキャンを可能にします。
別名 blackducksoftware/mcp-server, mcp-server, @black-duck/mcp-server
- スター
- 1
- ツール
- —
- ダウンロード数(30日間)
- 889
- 最新バージョン
- 1.1.8
- 最終コミット
- 2026年9月2日
- ライセンス
- MIT
Black Duck Security Scanner MCPとは
AIコーディングアシスタントによる、脆弱性を検出して実行可能な修正案を受け取るための、増分またはターゲットを絞ったセキュリティスキャンを可能にします。
プロジェクトのREADMEから生成された概要
Black Duck Security Scanner MCP server について
Black Duck MCPは、Signalセキュリティ分析をClaude、Gemini、Cursor、Copilotなどのコーディングアシスタントに統合します。これにより、開発者はWindows、macOS、またはLinux上の開発環境内で直接セキュリティスキャンを実行できます。このサーバーの動作には、Signal LicenseとNode.js version 24.0.0以降が必要です。高度なAI分析を有効にするには、クライアント設定でBLACKDUCK_MCP_GATEWAY_KEYを提供する必要があります。
開発者は、主に2つのスキャン方法を選択できます。run_changes_security_scanツールは、未コミットの変更やブランチ間の差分に焦点を当てることで、Gitベースのプロジェクトに対して増分分析を提供します。あるいは、run_security_scanツールを使用すると、特定のファイルやディレクトリに対してターゲットを絞った分析が可能になり、Gitを使用していないプロジェクトにも適しています。どちらのツールも、SARIFレポート、重要度別の問題数、および脆弱性を修正するためのガイダンスを返します。
できること
- 1未コミットのコード変更をスキャンコミットする前に、現在のステージング済みまたは未ステージングのコードにセキュリティ脆弱性がないかAIに確認させます。
- 2特定のプロジェクトディレクトリを分析アシスタントに対して、特定のフォルダやファイルセットに対してセキュリティレビューを実行するよう指示します。
- 3ブランチ間のセキュリティ差分を比較現在のブランチをメインブランチと比較することで、導入されたセキュリティ問題を特定します。
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
Black Duck Security Scanner MCPのインストール方法
フォーマット検証日 2026年11月10日Cursor に追加Gooseに追加Claude CodeにBlack Duck Security Scanner MCPをインストール
$ claude mcp add mcp-server -- npx -y @black-duck/mcp-serverCursorにBlack Duck Security Scanner MCPをインストール
~/.cursor/mcp.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@black-duck/mcp-server"
]
}
}
}VS CodeにBlack Duck Security Scanner MCPをインストール
.vscode/mcp.json
{
"servers": {
"mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@black-duck/mcp-server"
]
}
}
}VS Code CLIにBlack Duck Security Scanner MCPをインストール
$ code --add-mcp '{"name":"mcp-server","type":"stdio","command":"npx","args":["-y","@black-duck/mcp-server"]}'Claude DesktopにBlack Duck Security Scanner MCPをインストール
claude_desktop_config.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@black-duck/mcp-server"
]
}
}
}CodexにBlack Duck Security Scanner MCPをインストール
$ codex mcp add mcp-server -- npx -y @black-duck/mcp-serverCodex config.tomlにBlack Duck Security Scanner MCPをインストール
~/.codex/config.toml
[mcp_servers.mcp-server] command = "npx" args = ["-y", "@black-duck/mcp-server"]
Gemini CLIにBlack Duck Security Scanner MCPをインストール
$ gemini mcp add -s user mcp-server npx -- -y @black-duck/mcp-serverGemini settings.jsonにBlack Duck Security Scanner MCPをインストール
~/.gemini/settings.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@black-duck/mcp-server"
]
}
}
}設定
BLACKDUCK_MCP_GATEWAY_KEYBLACKDUCK_MCP_LOG_LEVEL
| 名前 | 説明 | 種類 |
|---|---|---|
| BLACKDUCK_MCP_GATEWAY_KEY | — | |
| BLACKDUCK_MCP_LOG_LEVEL | — |
自動チェック
実行日 2026年11月14日完全なレポート →まだ検証されていません。サーバーには80点のスコア、重大な問題がないこと、および検証に必要な十分なデータが必要です。 チェックの仕組み · 点数を上げるための改善点
- ソースリポジトリがリンクされており、アクセス可能blackducksoftware/mcp-server is public and reachablegithub.com/blackducksoftware/mcp-server ↗合格
- パッケージがこのリポジトリをソースとして指定未チェック
- ビルドの来歴 (Sigstore 証明)No build attestation published for this release未チェック
- オープンソースライセンス (OSI)MITspdx.org/licenses/MIT.html ↗合格
- 過去1年以内にコミットまたはリリースありLast commit or release 2026-09-02github.com/blackducksoftware/mcp-server ↗合格
- OpenSSF Scorecard未チェック
- パッケージ名が有名なパッケージに酷似していないNo popular package one edit away from @black-duck/mcp-server合格
- パッケージおよびその依存関係に重大な勧告なしCritical advisory: GHSA-x6jw-m9v5-85vh, GHSA-v5rq-49vh-5v5cosv.dev/vulnerability/GHSA-x6jw-m9v5-85vh ↗検出事項
- モデルへの隠れた指示がない0 tool descriptions and the README read; no override phrases, credential paths or hidden characters合格
- 破壊的なツールがラベル付けされている未チェック
- リモートエンドポイントが MCP ハンドシェイクに応答未チェック
README
GitHubで見るBlack Duck MCP
Black Duck MCP brings Signal's AI-powered security analysis directly into your development environment. It enables code scanning through leading coding assistants – including Claude, Gemini, Cursor, Copilot, and others – so you can detect security issues, receive actionable insights, and apply recommended fixes quickly and consistently.
Key Features & Benefits
- Changes Scan:
- Performs fast, incremental security scans focused only on the code changes introduced by the developer.
- Ideal for early-stage detection of issues as code is written
- File Scan:
- Runs a targeted security analysis on specific files or directories.
- Best suited for projects that do not use Git or for developers who want to analyze specific portions of the codebase
- Cross-Platform Support:
- Works on Windows, macOS, and Linux
Requirements
- Signal License
- Node.js v24.0.0 or newer
Getting started
Step 1: Add to your MCP client
Add the following configuration to your MCP client (using Claude user level config as example):
{
"mcpServers": {
"black-duck-signal": {
"command": "npx",
"args": ["-y", "@black-duck/mcp-server"],
"env": {
"BLACKDUCK_MCP_GATEWAY_KEY": "your-api-key-here"
}
}
}
}
Step 2: Your first scan
Use one of following prompts in your MCP client to get you started:
Scan my code changes for security vulnerabilities
Your MCP client should execute a security scan and report any vulnerabilities found on the code changes made. Requires that the project is git based to determine what files have changed.
Scan the changed files with respect to the main branch
Your MCP client should execute a security scan taking into account only code changes in the current branch vs the main branch and report any vulnerabilities found on the code changes made. Requires that the project is git based to determine what files have changed.
Scan all files under folder foobar for security vulnerabilities
Your MCP client should execute a security scan and report any vulnerabilities found.
Tools
| Tool | Parameters | Returns | Best Use Cases |
|---|---|---|---|
run_changes_security_scan |
projectPath (required): Absolute path to git projectgitPatchMode (required):• all-uncommitted: Scan staged + unstaged changes• reference-branch: Scan changes since branchingreferenceBranch (optional): Reference branch name (e.g., main)scanEntireFileContent (optional): When true, scans entire content of changed files instead of just changed lines. Default: false |
• sarifFilePath: Path to SARIF report• status: success or failure• resourceUris: MCP resource URIs• issueCounts: Counts by severity• analysisGuidance: Analysis steps |
• Faster: Analyzes only changed code• Focused: Shows issues from your changes• Iterative: Perfect for dev workflows & CI/CD• Efficient: Reduces scan cost and time |
run_security_scan |
projectPath (required): Absolute path to projectfilePaths (required): Array of file/directory absolute paths to scan |
• sarifFilePath: Path to SARIF report• status: success or failure• resourceUris: MCP resource URIs• issueCounts: Counts by severity• analysisGuidance: Analysis steps |
• Analyzing specific files/directories• Focused security review of critical paths• Quick checks during development• Non-git projects |
Optional Configuration
The Black Duck Signal MCP server supports the following environment variables:
| Variable | Default | Description |
|---|---|---|
BLACKDUCK_MCP_GATEWAY_KEY |
None (required) | API key for enhanced AI analysis |
BLACKDUCK_HOME |
User's home directory | Override the default .blackduck folder location |
BLACKDUCK_MCP_TOOL_TIMEOUT |
1800000 (30 min) |
Scan timeout in milliseconds |
BLACKDUCK_MCP_LOG_LEVEL |
info |
Log level: error, warn, info, or debug |
You can set these variables in your MCP client configuration:
{
"mcpServers": {
"black-duck": {
"command": "npx",
"args": ["-y", "@black-duck/mcp-server"],
"env": {
"BLACKDUCK_MCP_GATEWAY_KEY": "your-api-key-here",
"BLACKDUCK_MCP_LOG_LEVEL": "debug"
}
}
}
}
Logging and Troubleshooting
Log Location
All MCP logs are written to /Users/<username>/.blackduck/mcp/logs/ for linux/mac and C:\Users\<Username>\AppData\Roaming\BlackDuck\mcp\logs\ (customizable via BLACKDUCK_HOME):
black-duck-mcp.log- Combined log (all levels)black-duck-mcp-error.log- Error-only log
IP Allowlist
The following URLs and IP addresses must be accessible for the MCP server to function properly:
| URL | IP Address |
|---|---|
repo.blackduck.com |
34.149.5.115 |
llm.core.blackduck.com |
104.18.36.253 |
Ensure your firewall allows outbound HTTPS (port 443) connections to these endpoints
License
This project is licensed under the MIT License.
Resources
Black Duck Security Scanner MCPのよくある質問
Black Duck Security Scanner MCPをClaude Codeに追加するには
ターミナルでclaude mcp add mcp-server -- npx -y @black-duck/mcp-serverを実行します。すべてのプロジェクトで利用するには--scope userを追加します。
Black Duck Security Scanner MCPをCursorに追加するには
~/.cursor/mcp.jsonを開き、上記のインストールセクションに示すCursor設定を使ってmcpServersの下にサーバーを追加します。
特定のファイルやディレクトリをスキャンできますか?
はい、run_security_scanツールを使用することで、特定のファイルやディレクトリに対してターゲットを絞ったセキュリティ分析を実行できます。
自分が変更したコードのみをスキャンするにはどうすればよいですか?
run_changes_security_scanツールを使用してください。このツールは、開発者が導入したコードの変更点のみに焦点を当てた、高速な増分セキュリティスキャンを実行します。
このサーバーはWindows、macOS、Linuxをサポートしていますか?
はい、Windows、macOS、Linuxのクロスプラットフォームをサポートしています。