Skip to content

Local monitor, hooks and allowlist for Claude Code

Inventory local skills and MCP servers without sending secrets, enforce Ed25519-signed policy in Claude Code hooks and export the managed allowlist.

Updated

1Collect the local inventory without exposing secrets

Download https://agentalog.com/downloads/mat-monitor-0.4.2.mjs, verify its SHA-256 against the .mjs.json manifest and run preview and init with Node.js 26 on Linux.

  • What is collected: hashes, permissions, categories and declared domains from your Claude Code roots.
  • What stays local: full local paths, environment variables, arguments and conversations never leave the machine.
curl -fsSLO https://agentalog.com/downloads/mat-monitor-0.4.2.mjs && curl -fsSLO https://agentalog.com/downloads/mat-monitor-0.4.2.mjs.json && node mat-monitor-0.4.2.mjs preview --project .

2Connect the project and approve versions by hash

In Mine, create a private project, download the installation credential (mode 0600) and run connect and sync.

Link items to your watched tools and open Review versions to approve each candidate by its exact fingerprint.

The server issues an Ed25519-signed policy valid for up to 15 minutes, verified against the client's pinned public key.

3Enable hooks and receive email or webhook alerts

Install the project hooks with hooks-install --project PATH --mode enforce --accept-preview.

  • Enforce mode: covered calls whose skill, MCP declaration or configuration changed without approval in the active policy are refused.
  • Alerts and audit: differences trigger email notices, cursor-based reads at GET /api/monitor/projetos/:projeto/eventos (using a scoped mmq_ key) or signed Standard Webhooks deliveries.

4Export the managed allowlist for Claude Code

To lock your team's remote MCP servers in Claude Code managed settings, call GET /api/me/vigia/claude-code or the claude_code_allowlist MCP tool.

The response returns managed_settings with allowManagedMcpServersOnly: true, allowedMcpServers for watched servers without risk and deniedMcpServers for flagged ones.