OSV-Scanner-MCP
This server wraps Google's OSV-Scanner to provide vulnerability scanning and analysis for Java (Maven and Gradle) projects. It offers three main capabilities:
scan_java_project: Scans a Java project (Maven'spom.xmlor Gradle'sgradle.lockfile) for known vulnerabilities (CVE/GHSA), returning a structured report sorted by severity. Reports include CVSS scores, 5-level severity labels (critical/high/medium/low/unknown), fixed versions, and a summary breakdown of severity distribution.suggest_fix: After scanning, recommends upgrade versions for vulnerable packages using a 3-tier fallback strategy (same minor → same major → cross major), aiming for the least disruptive fix that resolves all identified CVEs.explain_vulnerability: Retrieves detailed information about a specific vulnerability by GHSA-ID or CVE-ID from the OSV database API (api.osv.dev), including its description, severity/CVSS vectors, affected packages and versions, and reference URLs.
Additionally, the server auto-downloads and verifies the OSV-Scanner binary (with SHA256 checksum validation) if not already installed, and enforces security measures such as path traversal protection, timeout enforcement, and output size limits during scans.
Provides vulnerability scanning for Java projects using Google's OSV database and OSV-Scanner, returning severity-ordered reports with CVE/GHSA details and fix suggestions.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@OSV-Scanner-MCPscan my Java project at /home/user/project for vulnerabilities"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
OSV-Scanner-MCP
Google製 OSV-Scanner をラップするMCPサーバーです。Claude等のMCPクライアントから「このJavaプロジェクトの脆弱性をチェックして」と自然言語で依頼するだけで、依存ライブラリの既知の脆弱性(CVE / GHSA)を深刻度順のレポートで取得できます。
ステータス: npmで公開中(
npx -y osv-scanner-mcp)。Maven(pom.xml)と Gradle(gradle.lockfile / lockfile方式)に対応しています。MCPクライアントは Claude Code / Claude Desktop / Codex CLI / Antigravity / VS Code(GitHub Copilot)での利用手順を用意しています。
特徴
ワンショットスキャン:
scan_java_projectツールにプロジェクトパスを渡すだけで、検出→スキャン→整形済みレポートまで一気に返します深刻度順のレポート: パッケージごとに脆弱性をCVSSスコア順に整理し、5段階の深刻度ラベル(critical / high / medium / low / unknown)とサマリ集計付きで返します
修正版の提示: 各脆弱性の
fixed_versionsをMavenバージョン優先順位規則で正しくソートして含めます(2.17.1-RELEASEのようなsemver非対応の表記にも対応)セキュリティ第一の設計: シェル非経由の実行・引数ホワイトリスト・パス正規化と境界チェック・タイムアウト/出力サイズ上限を実装段階から組み込んでいます
Related MCP server: maven-mcp
動作要件
Node.js >= 20.19
OSV-Scanner バイナリ — 手動インストールは不要です。見つからない場合、公式GitHub Releasesからピン留めバージョンを自動ダウンロードし、パッケージに埋め込まれたSHA256チェックサムで検証してから使用します(
~/.cache/osv-scanner-mcp/にキャッシュ)手動インストール済みのバイナリ(PATH上または
OSV_SCANNER_PATH指定)があればそちらを優先します自動ダウンロードを無効化する場合は
OSV_MCP_AUTO_DOWNLOAD=0PATH上のバイナリを使わず常に検証済み自動ダウンロードを使う場合は
OSV_MCP_PREFER_DOWNLOAD=1(運用環境向け)
スキャン時(OSV-Scanner経由)および
explain_vulnerability実行時にapi.osv.devへのネットワークアクセスが発生します(照会先はOSVデータベースのみ)
セットアップ
Claude Code への登録
claude mcp add osv-scanner -- npx -y osv-scanner-mcpClaude Desktop への登録
claude_desktop_config.json に追加:
{
"mcpServers": {
"osv-scanner": {
"command": "npx",
"args": ["-y", "osv-scanner-mcp"]
}
}
}Codex CLI への登録
codex mcp add osv-scanner -- npx -y osv-scanner-mcpまたは ~/.codex/config.toml に追加:
[mcp_servers.osv-scanner]
command = "npx"
args = ["-y", "osv-scanner-mcp"]
startup_timeout_sec = 60 # 初回のnpxパッケージ取得に備えて延長
tool_timeout_sec = 300 # 既定60秒。バイナリ自動ダウンロード+スキャン(既定120秒)を見込んで延長注意: CodexのMCPツール実行タイムアウトは既定60秒です。本サーバーはスキャンのタイムアウトが既定120秒のため、初回のOSV-Scanner自動ダウンロードや大きめのプロジェクトのスキャンでは既定値のままだとCodex側が先にタイムアウトします。上記のように
tool_timeout_secの延長を推奨します。
Antigravity への登録
エージェントパネルの MCP Servers → Manage MCP Servers → View raw config で開く mcp_config.json に追加(Claude Desktopと同じ形式):
{
"mcpServers": {
"osv-scanner": {
"command": "npx",
"args": ["-y", "osv-scanner-mcp"]
}
}
}VS Code(GitHub Copilot)への登録
code --add-mcp '{"name":"osv-scanner","command":"npx","args":["-y","osv-scanner-mcp"]}'またはワークスペースの .vscode/mcp.json に追加(コマンドパレットの MCP: Add Server からも設定可能):
{
"servers": {
"osv-scanner": {
"type": "stdio",
"command": "npx",
"args": ["-y", "osv-scanner-mcp"]
}
}
}ソースから使う場合
git clone https://github.com/tedorigawa001/OSV-Scanner-MCP.git
cd OSV-Scanner-MCP
npm install
npm run build
# 登録時は `npx -y osv-scanner-mcp` の代わりに `node /path/to/OSV-Scanner-MCP/dist/index.js` を指定環境変数
変数 | 説明 |
| 使用するosv-scannerバイナリの明示指定。省略時はPATH→自動ダウンロードの順で解決。指定が無効な場合はフォールバックせずエラーになります(意図しないバイナリの実行防止) |
| 指定時、このディレクトリ配下以外のスキャンを拒否します(パストラバーサル対策の境界)。設定を推奨 |
|
|
| 同時実行できるスキャン数の上限(デフォルト |
|
|
|
|
推奨:
OSV_MCP_ALLOWED_ROOTは未設定でも動作しますが、その場合は任意の絶対パスをスキャンできてしまいます。悪意ある指示(プロンプトインジェクション)経由で意図しないディレクトリをスキャンさせられる経路を塞ぐため、プロジェクト置き場のルート(例:~/projects)を設定しておくことを推奨します。各クライアントの設定で"env": {"OSV_MCP_ALLOWED_ROOT": "/Users/you/projects"}のように渡せます(Codex CLIのTOMLでは[mcp_servers.osv-scanner.env]セクション)。
本番運用の推奨構成: 共有サーバーやCI等の運用環境では、次の3つをセットで設定してください。
OSV_MCP_ALLOWED_ROOT=/スキャン対象のルート— スキャン範囲の境界を固定
OSV_MCP_REQUIRE_ALLOWED_ROOT=1— 境界未設定なら起動を拒否(fail-closed)
OSV_SCANNER_PATH=/管理者所有の絶対パスまたはOSV_MCP_PREFER_DOWNLOAD=1— PATH解決に依存せず、実行するバイナリを固定
提供ツール
scan_java_project
Java(Maven)プロジェクトをスキャンし、既知の脆弱性レポートを返します。
入力
パラメータ | 型 | 説明 |
| string | スキャン対象のプロジェクトディレクトリ、または pom.xml / gradle.lockfile の絶対パス |
Gradleプロジェクトについて: 本ツールはlockfile方式のみ対応です(ビルド実行方式は build.gradle の任意コード実行を伴うため、セキュリティ上の理由から採用していません)。
gradle.lockfileが無い場合は./gradlew dependencies --write-locksで生成してください(依存ロック未設定の場合はbuild.gradleにdependencyLocking { lockAllConfigurations() }の追加が必要です)。
出力(成功時)
{
"project_dir": "/path/to/project",
"manifests": ["pom.xml"],
"source_files": ["/path/to/project/pom.xml"],
"vulnerable_package_count": 4,
"vulnerability_count": 14,
"severity_breakdown": { "critical": 3, "high": 3, "medium": 7, "low": 0, "unknown": 1 },
"packages": [
{
"name": "org.apache.logging.log4j:log4j-core",
"version": "2.14.1",
"ecosystem": "Maven",
"vulnerabilities": [
{
"id": "GHSA-jfh8-c2jp-5v3q",
"cve": "CVE-2021-44228",
"aliases": ["CVE-2021-44228"],
"severity_score": 10,
"severity": "critical",
"summary": "Remote code injection in Log4j",
"fixed_versions": ["2.3.1", "2.12.2", "2.15.0"]
}
]
}
]
}packagesは最も深刻な脆弱性を持つ順、各vulnerabilitiesは深刻度順(unknownは末尾)fixed_versionsはMaven優先順位で昇順。複数のリリース系統(例: 2.12系バックポートと2.15系)が混在することがあります。空配列は「修正版が存在しない」ことを意味しますseverity_scoreが取得できない脆弱性はnull/"unknown"として扱います
suggest_fix
スキャンを実行し、脆弱なパッケージごとに推奨アップグレードバージョンを提案します。単純な最大バージョンではなく、現在のバージョンに最も近いリリース系統の修正版を3段階フォールバックで選定します:
Tier | 意味 |
| 現在と同じ major.minor 系統内の修正版(最小の変更で済む) |
| 同一メジャー内の修正版(マイナーバージョンアップが必要) |
| メジャーアップグレードが必要(破壊的変更の可能性あり) |
入力: scan_java_project と同じ(project_path)
出力(成功時)
{
"project_dir": "/path/to/project",
"manifests": ["pom.xml"],
"vulnerable_package_count": 4,
"unfixed_vulnerability_count": 1,
"suggestions": [
{
"package": "org.apache.logging.log4j:log4j-core",
"current_version": "2.14.1",
"ecosystem": "Maven",
"recommended_upgrade": "2.25.4",
"upgrade_tier": "major_internal",
"verification": "verified",
"upgrade_note": "取得済みの影響範囲に基づき修正対象CVEの範囲外と確認した候補です",
"per_cve_detail": [
{ "id": "GHSA-jfh8-c2jp-5v3q", "cve": "CVE-2021-44228", "severity": "critical", "fixed_in": "2.15.0", "tier": "major_internal" }
]
}
]
}recommended_upgradeは既知の修正版を候補に、修正対象の全CVEの影響範囲外と確認できたものを3段階Tier順・バージョン昇順で選びます。CVEごとの修正版の最大値を単純に採用せず、別系統で再び影響を受ける候補も除外します。全公開版の中での最小性や未検出の脆弱性がないことは保証しません。MavenのOSV
ECOSYSTEM範囲(introduced/fixed/last_affected/ 上限なし)を照合します。versionsに明示された影響も確認します。範囲欠落・不正・未対応形式・limitによる不完全な情報では安全と推定せず、候補を検証できなければrecommended_upgrade: null、verification: "no_verified_candidate"を返します。推奨時は
verification: "verified"、CVEごとのrecommended_statusはaffected/not_affected/unknownです。推奨保留時はnot_evaluatedになります。per_cve_detail.fixed_inは各CVE単独の候補であり、最終推奨先の判定はrecommended_statusを参照してください。現在より新しい修正版候補がないCVEは
tier: "unfixed"として推奨の修正対象から除外します(情報欠落を含む場合があります)。除外したCVEも推奨先で判定し、その状態を表示します。全CVEがunfixedの場合もrecommended_upgradeはnullです。
explain_vulnerability
指定したGHSA-ID / CVE-IDの脆弱性の詳細をOSVデータベースAPI(api.osv.dev)から直接取得して返します(スキャンは実行しません)。スキャン結果の id をそのまま渡せます。クライアントLLMの知識カットオフ以降に公開された脆弱性の説明に特に有効です。
入力
パラメータ | 型 | 説明 |
| string | 脆弱性のID(例: |
出力(成功時): id / aliases / summary / details(説明markdown、4,000字上限)/ severity(CVSSベクトル)/ published / modified / affected(影響パッケージとバージョン範囲)/ references(アドバイザリ・修正コミット等のURL、http/httpsのみ・20件上限)
注意: OSVの正規IDはGHSA等のため、CVE-IDでは見つからない場合があります(その場合はエラーメッセージでGHSA-IDでの照会を案内します)。
出力(エラー時) — 全ツール共通
isError: true とともに、機械判読可能な kind を含むJSONを返します:
{
"error": {
"kind": "no_manifest_found",
"message": "対応マニフェスト(pom.xml / gradle.lockfile)が見つかりません(深さ3まで探索): /path/to/project"
}
}kind | 意味 |
| OSV-Scannerが見つからない(インストール案内をmessageに含む) |
| 指定パスが存在しない・ディレクトリ/pom.xmlでない |
| 対応マニフェスト(pom.xml / gradle.lockfile)が見つからない |
| バイナリのダウンロード失敗(未対応プラットフォーム含む) |
| ダウンロードしたバイナリのチェックサム不一致(改ざん/破損の可能性) |
| Gradleプロジェクトだがgradle.lockfileが無い(生成手順をmessageで案内) |
|
|
| スキャン対象パッケージなし(依存関係が未定義のpom.xml等) |
| OSV-Scannerが異常終了(stderr抜粋を |
| タイムアウト(デフォルト120秒) |
| 同時実行スキャン数が上限(デフォルト2)に達している。完了を待って再試行 |
| 出力がサイズ上限(デフォルト32MB)を超過 |
| 出力がJSONとして解釈できない |
| 脆弱性IDの形式が不正 |
| 指定IDの脆弱性がOSVデータベースに存在しない |
| OSV APIへのリクエスト失敗(ネットワーク・タイムアウト・非2xx) |
| 想定外のエラー(内部情報は返しません) |
セキュリティ設計
脆弱性診断ツール自体が攻撃経路にならないよう、以下を実装しています。
サプライチェーン対策: バイナリの自動ダウンロードは公式GitHub Releasesに限定し、バージョンをピン留め。パッケージに埋め込まれたSHA256チェックサムで検証します(配布元のSHA256SUMSファイルは信用しないため、リリース側が改ざんされても検出可能)。検証合格まで実行権限を与えず、キャッシュ済みバイナリも使用のたびに再検証します。
OSV_MCP_PREFER_DOWNLOAD=1でPATH上の未検証バイナリを使わない運用も選べますコマンドインジェクション対策: シェルを経由しない
spawn+ 引数配列で実行。OSV-Scannerへの引数は固定リストのみで、可変部は検証済み絶対パス1つだけパストラバーサル対策: 入力パスは
realpathでシンボリックリンク解決後に境界チェック。pom.xml探索ではシンボリックリンクを辿りませんDoS対策: タイムアウト・stdout上限・stderr抜粋上限を設定。スキャン結果は防御的にパースし、形式不正でも例外を投げません。同時実行スキャン数も上限(デフォルト2)を設け、並列リクエストによるプロセスの無制限起動を防ぎます
fail-closedな運用モード:
OSV_MCP_REQUIRE_ALLOWED_ROOT=1で、スキャン許可ルート未設定時にサーバーの起動自体を拒否できます情報漏えい対策: 想定外の例外はスタックトレース等を含めず
internal_errorに丸めます。外部由来のテキスト(脆弱性summary等)は長さ上限付きの「データ」として構造化して返しますプロンプトインジェクション対策: OSVデータベース由来のテキスト(summary / details / ID等)とOSV-Scannerのstderrは、LLMクライアントへ返す前にサニタイズします。制御文字(ANSIエスケープ含む)・ゼロ幅文字・双方向制御文字(RLO等)・Unicodeタグ文字(不可視のテキスト密輸)・行区切り(U+2028/2029)を除去し、NFC正規化を適用。外部データの読み取りアクセサを単一のサニタイズ境界にすることで適用漏れを防いでいます
開発
npm test # テスト実行(vitest)
npx vitest run --coverage # カバレッジ計測
npm run typecheck # 型チェック
npm run build # dist/ へビルド設計メモ・残課題は docs/DESIGN_TODO.md を参照してください。
ロードマップ
suggest_fixツール: 現在のバージョンに最も近い系統の修正版を提案(3段階Tierフォールバック)explain_vulnerabilityツール: 脆弱性の詳細説明(OSV API経由)npmパッケージ化(
npx osv-scanner-mcp)OSV-Scannerバイナリの自動ダウンロード(チェックサム検証付き)
Gradle対応(lockfile方式)
ライセンス
Available Tools
3 toolsexplain_vulnerability脆弱性の詳細説明の取得A
指定したGHSA-IDまたはCVE-IDの脆弱性の詳細をOSVデータベース(api.osv.dev)から取得して返す。説明(details)・CVSSベクトル・影響を受けるパッケージとバージョン範囲・参照リンク(アドバイザリや修正コミット)が含まれる。scan_java_projectやsuggest_fixの結果に含まれるIDをそのまま渡せる。スキャンは実行しない。
| Name | Required | Description | Default |
|---|---|---|---|
| vulnerability_id | Yes | 脆弱性のID(例: GHSA-jfh8-c2jp-5v3q、CVE-2021-44228) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states that the tool performs an external API lookup, returns specific data fields, and does not execute scanning, which are the key behavioral traits an agent needs. It does not mention potential network failures or rate limits, but for a read-only lookup tool, the disclosed behavior is sufficient.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is three concise sentences in Japanese, starting with the core action, then the returned fields, then usage context and a clear non-scan caveat. Every sentence earns its place with no fluff or duplication of schema details.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the simple one-parameter interface, the fully self-describing input schema, and the absence of an output schema, the description is complete enough. It explains the data source, the input, the output fields, the relationship to sibling tools, and the key behavioral constraint (no scanning), so an agent can invoke it correctly without additional information.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema already documents vulnerability_id with examples and length constraints (100% coverage). The description adds valuable semantic context by stating that IDs from scan_java_project or suggest_fix can be passed directly, which helps the agent understand the expected value and provenance of the parameter.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific action ('取得して返す' fetch and return), a specific resource (OSV database at api.osv.dev), and the input type (GHSA-ID or CVE-ID). It explicitly lists the returned contents (details, CVSS, affected packages, references), which clearly distinguishes this from the sibling scan_java_project and suggest_fix tools.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description clearly indicates this tool is for retrieving vulnerability details from IDs obtained via scan_java_project or suggest_fix, and explicitly states that scanning is not performed. This gives an agent clear contextual guidance on when to invoke it, though it does not explicitly state 'when not to use' for all alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
scan_java_projectJavaプロジェクトの脆弱性スキャンA
Java(Maven)プロジェクトをGoogle OSV-Scannerでスキャンし、依存ライブラリの既知の脆弱性(CVE/GHSA)を深刻度順のJSONレポートで返す。レポートにはパッケージごとの脆弱性一覧(CVSSスコア・5段階深刻度・修正版バージョン)とサマリ集計が含まれる。Maven(pom.xml)とGradle(gradle.lockfile)に対応。
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | スキャン対象のプロジェクトディレクトリ、またはpom.xml/gradle.lockfileの絶対パス |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the burden and does disclose key behavior: it uses OSV-Scanner, returns JSON, orders by severity, and specifies report contents including CVSS score, severity level, fixed version, and summary. It does not discuss side effects or network requirements, but scanning is reasonably implied as a read-only analysis.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences: the first covers the operation, tool, output format, and report contents; the second covers supported build tools. No filler, and the most important information is front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a single-parameter tool with no output schema, the description sufficiently explains what the report contains and what input forms are accepted. It could mention edge cases like network access or empty vulnerability results, but nothing essential for selecting or invoking the tool is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the baseline is 3. The description adds that both Maven and Gradle are supported, but the schema already documents that project_path can be a directory or an absolute path to pom.xml/gradle.lockfile, so no substantial new meaning is added.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description names a specific verb ('スキャン'), a specific resource (Java/Maven project dependencies), and the output (JSON vulnerability report ordered by severity). It clearly distinguishes this from siblings like suggest_fix and explain_vulnerability by focusing on detection.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It states what project types are supported (Maven pom.xml and Gradle gradle.lockfile) and what input is accepted (project directory or build file path), giving clear context for when to invoke it. It does not explicitly name alternatives or exclusions, but the siblings are clearly different downstream actions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
suggest_fix脆弱性を解消する推奨アップグレードの提案A
Java(Maven)プロジェクトをスキャンし、脆弱な依存パッケージごとに推奨アップグレードバージョンを提案する。現在のバージョンに最も近いリリース系統の修正版を優先する3段階フォールバック(same_minor: 同一major.minor系統内 → major_internal: 同一メジャー内 → cross_major: メジャーアップグレード)で選定し、推奨バージョン・アップグレード距離(upgrade_tier)・CVEごとの修正版を返す。修正版が存在しないCVEはunfixedとして明示する。Maven(pom.xml)とGradle(gradle.lockfile)に対応。
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | スキャン対象のプロジェクトディレクトリ、またはpom.xml/gradle.lockfileの絶対パス |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden, and it does a good job: it discloses the three-tier fallback selection logic, the upgrade_tier concept, handling of unfixed CVEs, and support for Maven and Gradle. It could additionally state explicitly whether any files are modified, but 'propose' strongly implies non-mutating behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is dense but well-organized, front-loading the main purpose and then detailing the fallback algorithm and output. It is appropriately sized for the complexity involved, though the Maven/Gradle support is mentioned twice, creating slight redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Since there is no output schema, the description correctly explains the key return elements: recommended version, upgrade_tier, per-CVE fixed versions, and unfixed status. It also covers the selection strategy and supported build files. It does not describe behavior for projects with no vulnerabilities or error cases, but it is otherwise sufficient for a single-parameter tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3. The description adds a bit of context about Maven and Gradle support, but the schema already documents that project_path can be a project directory or a pom.xml/gradle.lockfile path. No significant additional parameter meaning is introduced.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's function: scanning a Java project and proposing recommended upgrade versions for vulnerable dependencies. It also specifies the output contents (recommended version, upgrade_tier, CVE-specific fixed version), which distinguishes it from sibling tools like scan_java_project and explain_vulnerability.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explains what the tool does but does not explicitly say when to use it versus scan_java_project or explain_vulnerability. No usage conditions, exclusions, or alternative routing are provided, leaving the agent to infer the appropriate context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
3 tool updates
v0.1.11- Added
explain_vulnerability - Changed
scan_java_project1 field changed- changed
Input schema / properties / project_path / descriptionPrevious value: -"スキャン対象のプロジェクトディレクトリまたはpom.xmlの絶対パス"New value: +"スキャン対象のプロジェクトディレクトリ、またはpom.xml/gradle.lockfileの絶対パス"
- Added
suggest_fix
1 tool update
v0.1.0- First observed
scan_java_project
TDQS
Scored across 3 tools
The three tools have distinct roles: report vulnerabilities, suggest upgrades, and explain individual advisories. scan_java_project and suggest_fix both scan the same Java project types and both surface CVEs, so there is minor overlap, but their outputs and purposes are clear enough for an agent to disambiguate.
All tool names follow a consistent verb_noun snake_case pattern: scan_java_project, suggest_fix, explain_vulnerability. The verbs clearly signal the action, and there is no mixing of naming conventions.
Three tools is a compact but appropriate scope for a vulnerability-scanner MCP server. Each tool covers a distinct step in the workflow—scan, fix recommendation, and advisory explanation—so none feels redundant or unnecessary.
The toolset covers the core vulnerability lifecycle: detecting issues, recommending upgrades, and explaining advisories in detail. Minor gaps exist, such as no explicit scanning for non-Java ecosystems and no tool that consumes a raw lockfile independently, but the primary workflow is fully supported.
Maintenance
Related MCP Connectors
Generate SBOMs, scan vulnerabilities, and analyze dependencies from local projects or Git repos.
Vulnerability management: scan projects, search sealed packages, manage sealing rules and reports.
Scan code for quantum-vulnerable cryptography and get NIST post-quantum migration guidance.
Deep security scans of repos you own from your editor: dependency CVEs, SAST, git-history secrets.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceEnables security scanning of code projects to identify common vulnerabilities like XSS, injections, SSRF, and path traversal issues. Provides local, offline scanning with severity-grouped results and actionable fix suggestions for improving code security.38 npm-
- AlicenseBqualityDmaintenanceEnables searching Maven Central artifacts, retrieving versions, and analyzing dependencies via natural language.5MIT
- FlicenseNot gradedqualityCmaintenanceScans Python, Node.js, Java/Spring, and PHP dependency manifests for known vulnerabilities using OSV and GitHub Advisory APIs.-
- AlicenseNot gradedqualityDmaintenanceEnables scanning projects for dependency vulnerabilities, secrets, license conflicts, code quality, and git health, returning a 0-100 health score with actionable suggestions.14 npmMIT