I built Agentmetry. It runs on the machine and records each tool call Cursors agent makes, in a hash-chained trail. Nothing is sent to me.
Setup, with Python 3.11 or newer:
pip install agentmetry
agentmetry hooks install
agentmetry start
agentmetry dashboard
hooks install is what turns recording on for Cursor. The dashboard is a one-time sign-in link. The browser does not keep the API token.
To see the shape of it with nothing installed:
uvx agentmetry demo
The MCP part: I hash tools/list per tool, and I hash the configured command separately. When the listing hash moves and the config hash does not, that is the event. I store the hash, not the description. A poisoned change can keep the tool name and add one line to the description. mcp.json stays the same file.
A server that was already changed the first time you saw it does not alert. A normal edit of a tool looks the same. Cursor with the hooks switched off is invisible.
Site: agentmetry.ai
Repo: GitHub - blitzcrieg1/agentmetry: Local-first flight recorder for AI coding agents. Hash-chained audit trail, MITRE-mapped sequence detection, DLP. Forwards to the SIEM you already run. · GitHub