Skip to main content

Module unknown

Module unknown 

Source
Expand description

BlackList check: classify installed MCP server names against a crate::registry::Registry of known-good entries.

This is a demo-level signature check: at call time it asks each registered crate::platform::PlatformProbe for its mcp_config_paths, parses each file with the probe’s extract_mcp_servers, and assigns each surfaced name one of three verdicts:

The classify step does not consume the inventory snapshot — it re-reads the source JSON because the snapshot only stores hashes, not the full structure.

classify groups rows by name, deduplicates across files, and returns one UnknownVerdict per distinct server name with count (number of config files it appeared in) and paths (sorted list of those files).

Structs§

UnknownVerdict
One row of classify’s aggregated output.

Enums§

UnknownVerdictKind
Classification levels.

Functions§

classify
Read MCP server names from every probe’s mcp_config_paths, classify each one against registry, and return one aggregated row per distinct name.