Skip to main content
Glama

list_cve_products

Retrieve a list of all products linked to a specific vendor in the CVE database using this tool. Ideal for identifying potential vulnerabilities in vendor-specific software.

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 implements the tool logic: fetches the list of CVE products for a given vendor from the cve-search.org 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();
  • Input schema definition used in the tool registration for validating the 'vendor' parameter.
    inputSchema: zodToJsonSchema(z.object({ vendor: z.string().describe("Vendor name to list products for") })),
  • src/index.ts:301-307 (registration)
    Tool registration in the listTools handler, defining name, description, and input schema.
    { 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") })), },
  • Dispatch handler in the callTool request that parses arguments, calls the core handler, 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) }], }; }

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