Skip to main content
Glama

OSV용 MCP 서버

OSV 데이터베이스 API를 위한 가벼운 MCP(모델 컨텍스트 프로토콜) 서버입니다.

예:

데모


제공된 도구

개요

이름

설명

쿼리_패키지_cve

특정 패키지의 모든 CVE ID를 나열합니다. 더 좁은 범위의 CVE ID를 위해 특정 버전도 전달할 수 있습니다.

영향을 받는 CVE에 대한 쿼리

CVE에 대한 OSV 데이터베이스를 쿼리하고 영향을 받은 패키지의 모든 버전을 반환합니다.

CVE_수정_버전에 대한 쿼리

CVE에 대한 OSV 데이터베이스를 쿼리하고 취약점을 해결하는 모든 버전을 반환합니다.

get_ecosystems

현재 지원되는 생태계에 대한 정보는 MCP에서 확인하세요.

자세한 설명

  • 쿼리_패키지_cve

    • OSV 데이터베이스에서 패키지를 쿼리하고 CVE ID를 반환합니다.

    • 입력 매개변수:

      • package (문자열, 필수): 쿼리할 패키지 이름

      • version (문자열, 선택 사항): 쿼리할 패키지의 버전입니다. 지정하지 않으면 모든 버전을 쿼리합니다.

      • ecosystem (문자열, 선택 사항): 패키지의 생태계입니다. Python 패키지의 경우 기본값은 "PyPI"입니다.

    • CVE ID 목록과 해당 세부 정보를 반환합니다.

  • 영향을 받는 CVE에 대한 쿼리

    • CVE에 대한 OSV 데이터베이스를 쿼리하고 영향을 받은 모든 버전을 반환합니다.

    • 입력 매개변수:

      • cve (문자열, 필수): 쿼리할 CVE ID(예: "CVE-2018-1000805")

    • 영향을 받는 버전 문자열 목록을 반환합니다.

  • CVE_수정_버전에 대한 쿼리

    • CVE에 대한 OSV 데이터베이스를 쿼리하고 취약점을 해결하는 모든 버전을 반환합니다.

    • 입력 매개변수:

      • cve (문자열, 필수): 쿼리할 CVE ID(예: "CVE-2018-1000805")

    • 고정된 버전 문자열 목록을 반환합니다.

  • get_ecosystems

    • 현재 MCP 서버에서 지원하는 모든 생태계에 대한 쿼리입니다.

    • 키가 생태계 이름이고 값이 프로그래밍 언어/OS인 dict를 반환합니다.


Related MCP server: MCP Vulnerability Checker Server

필수 조건

  1. Python 3.11 이상 : 이 프로젝트에는 Python 3.11 이상이 필요합니다.

    지엑스피1

  2. uv 설치 : 빠른 Python 패키지 설치 및 해결 프로그램.

    pip install uv

    또는 Homebrew를 사용하세요.

    brew install uv

테스트됨

  • [X] 커서

  • [X] 클로드


설치

  1. Smithery 를 통해:

npx -y @smithery/cli install @EdenYavin/OSV-MCP --client claude
  1. 장소 상에서:

    1. 저장소를 복제하세요: https://github.com/EdenYavin/OSV-MCP.git

    2. MCP 호스트(Cusrsor/Claude Desktop 등)를 구성하세요.

{
  "mcpServers": {
    "osv-mcp": {
      "command": "uv",
      "args": ["--directory", "path-to/OSV-MCP", "run", "osv-server"],
      "env": {}
    }
  }
}


VibeApp 이 마음에 드셨다면 리뷰를 남겨주세요 :)!

Available Tools

4 tools
get_ecosystemsA
Get all supported ecosystems. An ecosystem is a package manager or repository for a specific language.

Returns:
Dictionary of ecosystems with the key being the ecosystem name and the value being the programming language / OS.

To use the ecosystem name in the query_package_cve function, you must use the exact ecosystem name as it is in the dictionary.

Inputs: no named parameters.

query_for_cve_affectedB
Query the OSV database for a CVE and return the affected versions.

Args:
    cve: The CVE ID to query

Returns:
    A list of affected versions

Inputs: cve (required).

query_for_cve_fix_versionsB
Query the OSV database for a CVE and return the fix versions.

Args:
    cve: The CVE ID to query

Returns:
    A list of fix versions

Inputs: cve (required).

query_package_cveA
Query the OSV database for a package and return the CVE ID.
You can use this tool to get the CVE ID for a package. 
ALWAYS use it before installing packages to check if the package is vulnerable. For example in requirements.txt, pyproject.toml, uv.lock, etc.
You can also use it to check if the package is vulnerable before updating the package.

Args:
    package: The package name to query
    version: The version of the package to query, can be None if you want to query all versions
    ecosystem: The ecosystem of the package to query, can be None if you want to query all ecosystems. 
    
    * For supported ecosystems, see the get_ecosystems tool.

Returns:
    A list of CVE IDs

Inputs: package (required), version, ecosystem.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose with no overlap: get_ecosystems retrieves ecosystem metadata, query_for_cve_affected and query_for_cve_fix_versions handle CVE-specific queries for affected and fixed versions respectively, and query_package_cve checks packages for vulnerabilities. The descriptions make it easy to differentiate between them, especially the two CVE-related tools that focus on different aspects of vulnerability data.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern with snake_case: get_ecosystems, query_for_cve_affected, query_for_cve_fix_versions, and query_package_cve. The naming is predictable and readable, with 'query' used for database lookups and 'get' for metadata retrieval, maintaining a coherent style throughout the set.

    Tool Count4/5

    With 4 tools, the count is reasonable for a vulnerability database server, covering core operations like ecosystem listing, CVE queries, and package checks. It feels slightly thin but well-scoped, as each tool serves a specific function without redundancy. A few more tools (e.g., for batch queries or detailed vulnerability info) could enhance it, but the current set is functional and appropriate.

    Completeness4/5

    The tool surface covers essential workflows for OSV database interactions: retrieving ecosystems, querying CVEs for affected and fixed versions, and checking packages for vulnerabilities. Minor gaps exist, such as no tool for listing all CVEs or querying by date/severity, but agents can work around this by combining existing tools. The set provides a solid foundation for vulnerability assessment tasks.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A server that retrieves CVE details from the NVD API and fetches EPSS scores to provide comprehensive vulnerability information, including descriptions, CWEs, CVSS scores, and exploitation likelihood percentiles.
      13
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      A Model Context Protocol server providing security vulnerability intelligence tools including CVE lookup, EPSS scoring, CVSS calculation, exploit detection, and Python package vulnerability checking.
      8
      9
      MIT