Skip to main content

classify

Function classify 

Source
pub fn classify(paths: &Paths, registry: &Registry) -> Vec<UnknownVerdict>
Expand description

Read MCP server names from .mcp.json and .claude.json, classify each one against registry, and return one aggregated row per distinct name.

File-read failures are silently skipped — a missing .mcp.json is the common case, and a malformed .claude.json shouldn’t fail the whole classification.

Output is sorted by name for stable reporting.