agentgate advisory
Query the MCPA advisory database directly from the terminal.
agentgate advisory check <package>[@version] [options]agentgate advisory list [options]advisory check — pre-install gate
Section titled “advisory check — pre-install gate”Ask “is this MCP server package known-bad?” before adding it to a config:
-
Exit code
1on any match,0when clean,2on usage errors — so it drops into shell guards and CI steps directly:Terminal window -
When
-e/--ecosystemis omitted, both npm and PyPI are checked; pass-e npmor-e pypito restrict. -
Without a version, ranged matches are reported but marked not version-confirmed.
advisory list
Section titled “advisory list”Prints the whole database as a table (id, severity, type, packages, published date), newest first.
Options
Section titled “Options”| Flag | Default | Description |
|---|---|---|
-e, --ecosystem <eco> |
both | npm or pypi (check only). |
--json |
off | Machine-readable output (schema in the CLI contract). |
--offline |
off | Use only the bundled database; skip the live advisory API. |
-t, --timeout <ms> |
5000 |
Live advisory API timeout. |
Data source
Section titled “Data source”Both commands prefer the live advisory API (the same feed as this site) and
fall back to the database bundled with the CLI — with a stderr warning — when
the API is unreachable or --offline is set. Bundled data is refreshed with
every release.
Honest boundaries
Section titled “Honest boundaries”- The MCPA database is curated and MCP-focused, not a general vulnerability
feed — a clean result means “no known MCP advisory”, not “safe”. Pair with
agentgate deps(OSV.dev malware checks) and a dependency scanner. checktakes one package per invocation; scanning a whole client config isagentgate scan’s job (ruleAG-SC-003does this automatically).- Some entries have no fixed release (recorded with
last_affectedinstead offixed) — either the vendor hasn’t shipped a patch yet, or the product is discontinued entirely (e.g. Flowise announced its sunset, so its post-sunset advisories will never get a fix). For those, “upgrade” is not a remediation: the latest version is still affected, and the practical options are mitigating controls or migrating off the package.