Skip to main content
Glama

list_cve_products

Retrieve products associated with a vendor from the CVE database to identify potential vulnerabilities in your security environment.

Instructions

Get a list of all products associated with a vendor in the CVE database. Source: cve-search.org

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
vendorYesVendor name to list products for

Implementation Reference

  • The core handler function that executes the logic for listing CVE products for a given vendor by querying the public CVE search API.
    export async function listCveProducts(vendor: string): Promise<any> { const response = await fetch(`${BASE_URL}/browse/${encodeURIComponent(vendor)}`); if (!response.ok) { throw new Error(`Failed to list products for vendor ${vendor}: ${response.statusText}`); } return response.json(); }
  • src/index.ts:1299-1310 (registration)
    Tool dispatch handler in the MCP server that validates input with Zod schema, calls the listCveProducts function, and formats the response.
    case "list_cve_products": { const args = z .object({ vendor: z.string(), }) .parse(request.params.arguments); const response = await cves.listCveProducts(args.vendor); return { content: [ { type: "text", text: JSON.stringify(response, null, 2) }, ], };
  • src/index.ts:447-458 (registration)
    Tool registration in the listTools response, including name, description, and input schema definition.
    { name: "list_cve_products", description: "Get a list of all products associated with a vendor in the CVE database. Source: cve-search.org", inputSchema: zodToJsonSchema( z.object({ vendor: z .string() .describe("Vendor name to list products for"), }) ), },
  • Inline Zod schema defining the input parameters for the list_cve_products tool (vendor string).
    z.object({ vendor: z .string() .describe("Vendor name to list products for"), })
  • Base URL constant used by CVE-related functions including listCveProducts.
    const BASE_URL = "https://cve.circl.lu/api";

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rad-security/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server