We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/safedep/vet'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
package common
import (
"fmt"
"strings"
)
func GetCveReferenceURL(cve string) string {
return fmt.Sprintf("https://cve.mitre.org/cgi-bin/cvename.cgi?name=%s", cve)
}
func GetCweReferenceURL(cwe string) string {
return fmt.Sprintf("https://cwe.mitre.org/data/definitions/%s.html", strings.TrimPrefix(cwe, "CWE-")) // CWE Require only the number, ie. CWE-123 -> 123
}
func GetGhsaReferenceURL(ghsa string) string {
return fmt.Sprintf("https://github.com/advisories/%s", ghsa)
}