DET-214 · agent · confidence Medium

Recording What Connectors Hand the Agent

Capture the exact text and metadata a connector or MCP server loads into the agent when it attaches.

Connection time is a trust moment. A server can send tool descriptions, instructions and resource text that the model reads right away. If you only log later tool calls, you miss what shaped them. This detection records each attach, reconnect and refresh, with server identity, version and the verbatim model-visible content.

Store it before it is used in context. Compare to the approved baseline and review differences. In an incident, this answers what the agent was told and by whom, which is hard to reconstruct otherwise.

Data sources
MCP gateway logsAgent session start logsConnector platform audit logs
Platforms
AI PlatformSaaS

Logic

On every connect event, write (ts, session_id, server_id, server_url, version, sha256(payload), payload) to an immutable store. Alert on: server_url not in the approved registry, version change without a change ticket, payload hash differing from baseline, or a server that adds instruction text mentioning other tools.

False positives

Auto-updating vendor connectors will change often. Pin versions where possible and review diffs on update.

Catches 4 techniques