Skip to main content

INVENTORY_SQL

Constant INVENTORY_SQL 

Source
pub const INVENTORY_SQL: &str = "
SELECT server_id, tool, schema_sha256, previous_sha256,
       change_count,
       to_char(first_seen AT TIME ZONE 'utc', 'YYYY-MM-DD') AS first_seen,
       to_char(last_seen  AT TIME ZONE 'utc', 'YYYY-MM-DD') AS last_seen
FROM mcp_tool_inventory
ORDER BY server_id, tool";
Expand description

Inventory listing with live hash status. changed surfaces every tool whose definition fingerprint moved at least once — the observe-stage rug-pull signal (enforcement pins hashes in M4).