Skip to main content

MCP audit event values

The audit writer declares 31 event values for MCP audit records. This reference is generated from that declaration. A declaration alone does not prove that a particular deployment emitted or retained an event.

Declared values

  • mcp.session.created
  • mcp.session.ended
  • mcp.tool_call
  • mcp.rate_limit.blocked
  • mcp.compliance.blocked
  • mcp.budget.blocked
  • mcp.tool.disabled
  • mcp.config.resolution_failed
  • mcp.config.disabled
  • mcp.config.revoked
  • mcp.auth.rejected
  • mcp.api_key.rejected
  • mcp.action.policy_blocked
  • mcp.action.approval_created
  • mcp.action.executed
  • mcp.action.failed
  • mcp.mediated_inference.content_screened
  • mcp.task.created
  • mcp.task.active
  • mcp.task.resumed
  • mcp.task.completed
  • mcp.knowledge.evidence_verification
  • execution_started
  • execution_completed
  • execution_failed
  • execution_resumed
  • phase_skipped
  • approval_request_created
  • action_approved
  • action_denied
  • primitive.adopted

Other source-declared values

These names are declared by the security incident, pre-authentication, evidence verification and knowledge evidence paths. The broader publisher vocabulary remains open.

securityIncident

  • security_incident_created
  • security_incident_updated

preAuthentication

  • mcp.auth.rejected
  • mcp.api_key.rejected

evidenceVerification

  • mcp.knowledge.evidence_verification

knowledgeEvidenceSync

  • knowledge.resource_sync_changed.v1

Fields written by audit consumers

These field names are generated from the named write statements. A field can be empty or inaccessible in a particular record or interface; its presence in a write statement does not establish a populated value.

mcp_audit_log

  • source_type
  • config_id
  • config_name
  • session_id
  • user_id
  • agent_definition_id
  • agent_definition_name
  • scope_type
  • scope_id
  • event_type
  • tool_name
  • action_name
  • integration_type
  • tool_args_hash
  • tool_args_encrypted
  • result_count
  • latency_ms
  • success
  • error_code
  • gate_result
  • policy_id
  • approval_request_id
  • session_duration_seconds
  • total_tool_calls
  • total_action_calls
  • client_name
  • client_version
  • rate_limit_count
  • rate_limit_max
  • rate_limit_window_seconds
  • rejection_reason
  • ip_address
  • transport
  • key_prefix
  • task_id
  • task_status
  • outcome
  • duration_ms
  • error_type
  • error_message
  • owner_pod_id
  • token_estimate
  • occurred_at
  • agent_execution_id
  • client_type
  • resolved_request_encrypted
  • source_client_id
  • source_client_name
  • primitive_execution_id
  • step_id
  • span_id
  • trace_id
  • primitive_name
  • primitive_version
  • actor_ref
  • retention_period_class
  • retain_until
  • request_tokens
  • result_tokens
  • event_id
  • correlation_id
  • api_key_id
  • request_id
  • blocked_scope_type
  • action_class
  • handoff_human_id
  • handoff_agent_id
  • handoff_root_id
  • handoff_assignment_id
  • handoff_parent_assignment_id
  • handoff_grant_id

Evidence projection source_type, event_type, outcome, occurred_at, event_id, correlation_id, retention_class

tenant_audit_logs

  • tenant_id
  • user_id
  • session_id
  • request_id
  • event_type
  • resource_type
  • resource_id
  • action
  • outcome
  • ip_address
  • service_name
  • metadata
  • timestamp
  • primitive_execution_id
  • step_id
  • span_id
  • trace_id
  • event_id

Evidence projection tenant_id, user_id, session_id, request_id, event_type, resource_type, resource_id, action, outcome, ip_address, service_name, metadata, timestamp, primitive_execution_id, step_id, span_id, trace_id

security_audit_log

  • tenant_id
  • user_id
  • event_type
  • resource_type
  • resource_id
  • action
  • outcome
  • ip_address
  • metadata
  • timestamp
  • event_id

Alternate user branch tenant_id, event_type, resource_type, resource_id, action, outcome, ip_address, metadata, timestamp, event_id

Pre-authentication event_type, resource_type, action, outcome, ip_address, metadata, timestamp, event_id

Security incident service tenant_id, event_type, resource_type, resource_id, action, outcome, metadata, timestamp