MCP.so
ログイン

OSV MCP Server

@StacklokLabs

基本情報

カテゴリ

その他

ライセンス

Apache-2.0

トランスポート

stdio

作者

StacklokLabs

OSV MCP Server について

An MCP server for OSV

OSV MCP Server の設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

OSV MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is OSV MCP Server?

The OSV MCP Server is an MCP (Model Context Protocol) server that provides access to the OSV (Open Source Vulnerabilities) database. It allows LLM-powered applications to query vulnerability information for packages, commits, and specific vulnerability IDs. The server uses SSE or Streamable HTTP transport and is intended for developers integrating vulnerability checks into MCP-compatible clients.

How to use OSV MCP Server?

Install with Go 1.21+ or use the recommended ToolHive containerized deployment. Configure with environment variables MCP_PORT (default 8080) and MCP_TRANSPORT (default sse, also supports streamable-http). The server exposes three MCP tools: query_vulnerability (single package/commit), query_vulnerabilities_batch (multiple queries), and get_vulnerability (by OSV ID). Invoke via any MCP client after running the server.

Key features of OSV MCP Server

  • Query vulnerabilities by package name, ecosystem, and version or commit hash
  • Batch query multiple packages or commits in a single call
  • Get detailed information about a specific vulnerability by OSV ID
  • Supports SSE and Streamable HTTP transport modes
  • Configurable port and transport via environment variables
  • Runs natively or via secure ToolHive container deployment

Use cases of OSV MCP Server

  • Check if a specific package version (e.g., lodash 4.17.15) has known vulnerabilities
  • Query vulnerabilities affecting a codebase by commit hash
  • Batch scan your project’s dependencies for security issues
  • Retrieve full details of a known vulnerability ID (e.g., GHSA-vqj2-4v8m-8vrq)

よくある質問

1

What runtime is required to run the OSV MCP Server from source?

Go 1.21 or later is required. Optional tools are Task and ko for building and container images.

2

How do I configure the server’s port and transport?

Set the `MCP_PORT` environment variable (valid integer 0–65535, default 8080) and `MCP_TRANSPORT` environment variable (supported values: `sse`, `streamable-http`, default `sse`).

3

What MCP tools does the server provide?

Three tools: `query_vulnerability` (single package/commit), `query_vulnerabilities_batch` (multiple queries), and `get_vulnerability` (by OSV ID). They allow querying the OSV database for vulnerability data.

4

How can I run the server with ToolHive?

Install ToolHive, run `thv client setup` to register a client, then `thv run osv`. The server is packaged as `osv` in ToolHive and will be available to MCP-compatible clients.

5

Where does the vulnerability data come from?

The server queries the public OSV (Open Source Vulnerabilities) database maintained at osv.dev.

コメント

「その他」の他のコンテンツ