Skip to main content

A Model Context Protocol server providing tools to check CVEs via Opsify API for usage by LLMs

Project description

Check MCP Server

A Model Context Protocol server that provides CVE checking capabilities via the Opsify API. This server enables LLMs to search for and retrieve CVE (Common Vulnerabilities and Exposures) information using a flexible set of filters.

[!CAUTION] This server can access external APIs and may represent a security risk if misconfigured. Ensure your API key and usage comply with your organization's security policies.

Available Tools

  • search_cve - Search CVEs with various filters via the Opsify API.
    • cve_id (string, optional): CVE ID to search for
    • title (string, optional): Title to search in CVE description
    • state (string, optional): State to filter by
    • priority (string, optional): Priority level to filter by
    • severity (string, optional): Severity level to filter by
    • score (float, optional): CVSS score to filter by
    • product_name (string, optional): Product name to filter affected products
    • product_version (string, optional): Product version to filter affected products
    • vendor (string, optional): Vendor name to filter affected products
    • from_date (string, optional): Start date for filtering (YYYY-MM-DD or ISO 8601)
    • to_date (string, optional): End date for filtering (YYYY-MM-DD or ISO 8601)
    • skip (int, optional): Number of records to skip (pagination)
    • limit (int, optional): Maximum number of records to return (pagination)

Example Usage

python -m check_mcp

Or as a script/entry point:

check-mcp

Example Tool Call

{
  "tool": "search_cve",
  "arguments": {
    "product_name": "nginx",
    "severity": "high",
    "from_date": "2023-01-01",
    "limit": 5
  }
}

Installation

Using uv (recommended)

When using uv no specific installation is needed. We will use uvx to directly run check-mcp.

Using PIP

Alternatively you can install check-mcp via pip:

pip install check-mcp

After installation, you can run it as a script using:

python -m check_mcp

Configuration

Configure for Claude.app

Add to your Claude settings:

Using uvx
"mcpServers": {
  "check": {
    "command": "uvx",
    "args": ["check-mcp"]
  }
}
Using docker
"mcpServers": {
  "check": {
    "command": "docker",
    "args": ["run", "-i", "--rm", "mcp/check"]
  }
}
Using pip installation
"mcpServers": {
  "check": {
    "command": "python",
    "args": ["-m", "check_mcp"]
  }
}

Configure for VS Code

For quick installation, use one of the one-click install buttons below...

Install with UV in VS Code Install with UV in VS Code Insiders

Install with Docker in VS Code Install with Docker in VS Code Insiders

For manual installation, add the following JSON block to your User Settings (JSON) file in VS Code. You can do this by pressing Ctrl + Shift + P and typing Preferences: Open User Settings (JSON).

Optionally, you can add it to a file called .vscode/mcp.json in your workspace. This will allow you to share the configuration with others.

Note that the mcp key is needed when using the mcp.json file.

Using uvx
{
  "mcp": {
    "servers": {
      "check": {
        "command": "uvx",
        "args": ["check-mcp"]
      }
    }
  }
}
Using Docker
{
  "mcp": {
    "servers": {
      "check": {
        "command": "docker",
        "args": ["run", "-i", "--rm", "mcp/check"]
      }
    }
  }
}

Debugging

You can use the MCP inspector to debug the server. For uvx installations:

npx @modelcontextprotocol/inspector uvx check-mcp

Or if you've installed the package in a specific directory or are developing on it:

cd path/to/servers/src/check
npx @modelcontextprotocol/inspector uv run check-mcp

Contributing

We encourage contributions to help expand and improve check-mcp. Whether you want to add new tools, enhance existing functionality, or improve documentation, your input is valuable.

For examples of other MCP servers and implementation patterns, see: https://github.com/modelcontextprotocol/servers

Pull requests are welcome! Feel free to contribute new ideas, bug fixes, or enhancements to make check-mcp even more powerful and useful.

License

check-mcp is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

check_mcp-0.0.11.tar.gz (41.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

check_mcp-0.0.11-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file check_mcp-0.0.11.tar.gz.

File metadata

  • Download URL: check_mcp-0.0.11.tar.gz
  • Upload date:
  • Size: 41.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for check_mcp-0.0.11.tar.gz
Algorithm Hash digest
SHA256 06bcb794ec2ada47b9df3186f96609bd4300e90b4eeb71a157f1b46083b36afd
MD5 6f7cab2c5b0988db9c5270fdf2704834
BLAKE2b-256 f3a7aaa95f270a5dac7045a4fa4e7cbd82e73e80f4fc44e77b06a9007278491e

See more details on using hashes here.

File details

Details for the file check_mcp-0.0.11-py3-none-any.whl.

File metadata

  • Download URL: check_mcp-0.0.11-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for check_mcp-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 9a718ce2d39af85072a13929ec0c24ce8df96b1dd433d2952e6533c4d98009da
MD5 016abc2da4127356f819a209759c041b
BLAKE2b-256 3c2ff9ca3b7900b90da51665d2399a09a26492f24e348a4f9a3f54f430b42aeb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page