Skip to main content

MCP servers

MCP server registration, client authorization, sessions, tool, resource and prompt calls, and tool-definition drift. Install the pack from Actions & Schemas → Add standard events in the app. Standard events explains the conventions every action here follows.

ActionDescription
mcp.server.registeredAn MCP server was registered. transport: stdio or streamable_http.
mcp.server.updatedAn MCP server's configuration changed.
mcp.server.enabledAn MCP server was enabled.
mcp.server.disabledAn MCP server was disabled.
mcp.server.removedAn MCP server was removed.
mcp.client.authorizedAn MCP client was authorized to connect.
mcp.client.authorization_revokedAn MCP client's authorization was revoked.
mcp.session.startedAn MCP client opened a session.
mcp.session.endedAn MCP session ended.
mcp.tool.calledAn MCP tool was called. result: success or error.
mcp.tool.deniedAn MCP tool call was refused.
mcp.resource.readAn MCP resource was read.
mcp.prompt.retrievedAn MCP prompt was retrieved.
mcp.elicitation.requestedAn MCP server asked the user for input.
mcp.sampling.requestedAn MCP server requested a model completion from the client.
mcp.tool.definition_changedA tool's name, description or input schema changed.

mcp.server.registered​

An MCP server was registered. transport: stdio or streamable_http.

FieldValue
Targetsmcp_server
Required metadatatransport
Optional metadataurl_host, source, reason, request_id
OCSFEntity Management (3004), activity_id 1
{
"event": "mcp.server.registered",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
},
"targets": [
{
"type": "mcp_server",
"id": "mcps_01JA2BILLING",
"name": "Billing MCP"
}
],
"metadata": {
"transport": "streamable_http",
"url_host": "mcp.acme.example"
}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"transport": {
"type": "string"
},
"url_host": {
"type": "string"
},
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"required": [
"transport"
],
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}

mcp.server.updated​

An MCP server's configuration changed.

FieldValue
Targetsmcp_server
Required metadataNone
Optional metadatafields, source, reason, request_id
OCSFEntity Management (3004), activity_id 3
{
"event": "mcp.server.updated",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
},
"targets": [
{
"type": "mcp_server",
"id": "mcps_01JA2BILLING",
"name": "Billing MCP"
}
],
"metadata": {
"fields": "name,email"
}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"fields": {
"type": "string"
},
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}

mcp.server.enabled​

An MCP server was enabled.

FieldValue
Targetsmcp_server
Required metadataNone
Optional metadatasource, reason, request_id
OCSFEntity Management (3004), activity_id 8
{
"event": "mcp.server.enabled",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
},
"targets": [
{
"type": "mcp_server",
"id": "mcps_01JA2BILLING",
"name": "Billing MCP"
}
],
"metadata": {}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}

mcp.server.disabled​

An MCP server was disabled.

FieldValue
Targetsmcp_server
Required metadataNone
Optional metadatasource, reason, request_id
OCSFEntity Management (3004), activity_id 9
{
"event": "mcp.server.disabled",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
},
"targets": [
{
"type": "mcp_server",
"id": "mcps_01JA2BILLING",
"name": "Billing MCP"
}
],
"metadata": {}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}

mcp.server.removed​

An MCP server was removed.

FieldValue
Targetsmcp_server
Required metadataNone
Optional metadatasource, reason, request_id
OCSFEntity Management (3004), activity_id 4
{
"event": "mcp.server.removed",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
},
"targets": [
{
"type": "mcp_server",
"id": "mcps_01JA2BILLING",
"name": "Billing MCP"
}
],
"metadata": {}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}

mcp.client.authorized​

An MCP client was authorized to connect.

FieldValue
Targetsmcp_client, mcp_server
Required metadataNone
Optional metadatascopes, client_name, source, reason, request_id
OCSFEntity Management (3004), activity_id 1
{
"event": "mcp.client.authorized",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
},
"targets": [
{
"type": "mcp_client",
"id": "mcpc_01JA2CLAUDE",
"name": "Claude Desktop"
},
{
"type": "mcp_server",
"id": "mcps_01JA2BILLING",
"name": "Billing MCP"
}
],
"metadata": {
"scopes": "tools.call,resources.read",
"client_name": "Claude Desktop"
}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"scopes": {
"type": "string"
},
"client_name": {
"type": "string"
},
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}

mcp.client.authorization_revoked​

An MCP client's authorization was revoked.

FieldValue
Targetsmcp_client, mcp_server
Required metadataNone
Optional metadatasource, reason, request_id
OCSFEntity Management (3004), activity_id 4
{
"event": "mcp.client.authorization_revoked",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
},
"targets": [
{
"type": "mcp_client",
"id": "mcpc_01JA2CLAUDE",
"name": "Claude Desktop"
},
{
"type": "mcp_server",
"id": "mcps_01JA2BILLING",
"name": "Billing MCP"
}
],
"metadata": {}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}

mcp.session.started​

An MCP client opened a session.

FieldValue
Targetsmcp_session, mcp_client, mcp_server
Required metadataNone
Optional metadataclient_name, client_version, transport, mcp.protocol.version, source, reason, request_id
OCSFAuthentication (3002), activity_id 1
{
"event": "mcp.session.started",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "agent",
"id": "agt_01JA2SUPPORT",
"name": "Support assistant",
"metadata": {
"on_behalf_of_type": "user",
"on_behalf_of_id": "usr_01JA2MIKE"
}
},
"targets": [
{
"type": "mcp_session",
"id": "mcpsess_01JA2H5T"
},
{
"type": "mcp_client",
"id": "mcpc_01JA2CLAUDE",
"name": "Claude Desktop"
},
{
"type": "mcp_server",
"id": "mcps_01JA2BILLING",
"name": "Billing MCP"
}
],
"metadata": {
"client_name": "Claude Desktop",
"client_version": "1.4.2",
"transport": "streamable_http",
"mcp.protocol.version": "2025-06-18"
}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"client_name": {
"type": "string"
},
"client_version": {
"type": "string"
},
"transport": {
"type": "string"
},
"mcp.protocol.version": {
"type": "string"
},
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}

mcp.session.ended​

An MCP session ended.

FieldValue
Targetsmcp_session, mcp_server
Required metadataNone
Optional metadataduration_ms, source, reason, request_id
OCSFAuthentication (3002), activity_id 2
{
"event": "mcp.session.ended",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "agent",
"id": "agt_01JA2SUPPORT",
"name": "Support assistant",
"metadata": {
"on_behalf_of_type": "user",
"on_behalf_of_id": "usr_01JA2MIKE"
}
},
"targets": [
{
"type": "mcp_session",
"id": "mcpsess_01JA2H5T"
},
{
"type": "mcp_server",
"id": "mcps_01JA2BILLING",
"name": "Billing MCP"
}
],
"metadata": {
"duration_ms": "1840"
}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"duration_ms": {
"type": "string"
},
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}

mcp.tool.called​

An MCP tool was called. result: success or error.

FieldValue
Targetsmcp_server, mcp_session, tool
Required metadatagen_ai.tool.name, result
Optional metadataduration_ms, gen_ai.tool.call.id, source, reason, request_id
OCSFAPI Activity (6003), activity_id 99
{
"event": "mcp.tool.called",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "agent",
"id": "agt_01JA2SUPPORT",
"name": "Support assistant",
"metadata": {
"on_behalf_of_type": "user",
"on_behalf_of_id": "usr_01JA2MIKE"
}
},
"targets": [
{
"type": "mcp_server",
"id": "mcps_01JA2BILLING",
"name": "Billing MCP"
},
{
"type": "mcp_session",
"id": "mcpsess_01JA2H5T"
},
{
"type": "tool",
"id": "tool_search_invoices",
"name": "search_invoices"
}
],
"metadata": {
"gen_ai.tool.name": "search_invoices",
"result": "success",
"duration_ms": "1840",
"gen_ai.tool.call.id": "call_mszuSIzqtI65i1wAUOE8w5H4"
}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"gen_ai.tool.name": {
"type": "string"
},
"result": {
"type": "string"
},
"duration_ms": {
"type": "string"
},
"gen_ai.tool.call.id": {
"type": "string"
},
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"required": [
"gen_ai.tool.name",
"result"
],
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}

mcp.tool.denied​

An MCP tool call was refused.

FieldValue
Targetsmcp_server, mcp_session, tool
Required metadatagen_ai.tool.name
Optional metadatasource, reason, request_id
OCSFAPI Activity (6003), activity_id 99, status_id 2 (Failure)
{
"event": "mcp.tool.denied",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "agent",
"id": "agt_01JA2SUPPORT",
"name": "Support assistant",
"metadata": {
"on_behalf_of_type": "user",
"on_behalf_of_id": "usr_01JA2MIKE"
}
},
"targets": [
{
"type": "mcp_server",
"id": "mcps_01JA2BILLING",
"name": "Billing MCP"
},
{
"type": "mcp_session",
"id": "mcpsess_01JA2H5T"
},
{
"type": "tool",
"id": "tool_search_invoices",
"name": "search_invoices"
}
],
"metadata": {
"gen_ai.tool.name": "search_invoices",
"reason": "Client lacks scope invoices.write"
}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"gen_ai.tool.name": {
"type": "string"
},
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"required": [
"gen_ai.tool.name"
],
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}

mcp.resource.read​

An MCP resource was read.

FieldValue
Targetsmcp_server, mcp_session, resource
Required metadatamcp.resource.uri
Optional metadatasource, reason, request_id
OCSFAPI Activity (6003), activity_id 2
{
"event": "mcp.resource.read",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "agent",
"id": "agt_01JA2SUPPORT",
"name": "Support assistant",
"metadata": {
"on_behalf_of_type": "user",
"on_behalf_of_id": "usr_01JA2MIKE"
}
},
"targets": [
{
"type": "mcp_server",
"id": "mcps_01JA2BILLING",
"name": "Billing MCP"
},
{
"type": "mcp_session",
"id": "mcpsess_01JA2H5T"
},
{
"type": "resource",
"id": "res_q3_report",
"name": "q3.pdf"
}
],
"metadata": {
"mcp.resource.uri": "file:///reports/q3.pdf"
}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"mcp.resource.uri": {
"type": "string"
},
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"required": [
"mcp.resource.uri"
],
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}

mcp.prompt.retrieved​

An MCP prompt was retrieved.

FieldValue
Targetsmcp_server, mcp_session, prompt
Required metadatagen_ai.prompt.name
Optional metadatasource, reason, request_id
OCSFAPI Activity (6003), activity_id 2
{
"event": "mcp.prompt.retrieved",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "agent",
"id": "agt_01JA2SUPPORT",
"name": "Support assistant",
"metadata": {
"on_behalf_of_type": "user",
"on_behalf_of_id": "usr_01JA2MIKE"
}
},
"targets": [
{
"type": "mcp_server",
"id": "mcps_01JA2BILLING",
"name": "Billing MCP"
},
{
"type": "mcp_session",
"id": "mcpsess_01JA2H5T"
},
{
"type": "prompt",
"id": "prompt_summarize_invoice",
"name": "summarize_invoice"
}
],
"metadata": {
"gen_ai.prompt.name": "summarize_invoice"
}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"gen_ai.prompt.name": {
"type": "string"
},
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"required": [
"gen_ai.prompt.name"
],
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}

mcp.elicitation.requested​

An MCP server asked the user for input.

FieldValue
Targetsmcp_server, mcp_session
Required metadataNone
Optional metadatasource, reason, request_id
OCSFAPI Activity (6003), activity_id 99
{
"event": "mcp.elicitation.requested",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "agent",
"id": "agt_01JA2SUPPORT",
"name": "Support assistant",
"metadata": {
"on_behalf_of_type": "user",
"on_behalf_of_id": "usr_01JA2MIKE"
}
},
"targets": [
{
"type": "mcp_server",
"id": "mcps_01JA2BILLING",
"name": "Billing MCP"
},
{
"type": "mcp_session",
"id": "mcpsess_01JA2H5T"
}
],
"metadata": {}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}

mcp.sampling.requested​

An MCP server requested a model completion from the client.

FieldValue
Targetsmcp_server, mcp_session
Required metadataNone
Optional metadatagen_ai.request.model, source, reason, request_id
OCSFAPI Activity (6003), activity_id 99
{
"event": "mcp.sampling.requested",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "agent",
"id": "agt_01JA2SUPPORT",
"name": "Support assistant",
"metadata": {
"on_behalf_of_type": "user",
"on_behalf_of_id": "usr_01JA2MIKE"
}
},
"targets": [
{
"type": "mcp_server",
"id": "mcps_01JA2BILLING",
"name": "Billing MCP"
},
{
"type": "mcp_session",
"id": "mcpsess_01JA2H5T"
}
],
"metadata": {
"gen_ai.request.model": "gpt-4o"
}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"gen_ai.request.model": {
"type": "string"
},
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}

mcp.tool.definition_changed​

A tool's name, description or input schema changed.

FieldValue
Targetsmcp_server, tool
Required metadatagen_ai.tool.name, definition_sha256
Optional metadataprevious_definition_sha256, source, reason, request_id
OCSFEntity Management (3004), activity_id 3
{
"event": "mcp.tool.definition_changed",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "system",
"id": "svc_scheduler",
"name": "Scheduler"
},
"targets": [
{
"type": "mcp_server",
"id": "mcps_01JA2BILLING",
"name": "Billing MCP"
},
{
"type": "tool",
"id": "tool_search_invoices",
"name": "search_invoices"
}
],
"metadata": {
"gen_ai.tool.name": "search_invoices",
"definition_sha256": "3b7e1f6a9c0d2e4f5a6b7c8d9e0f1a2b3b7e1f6a9c0d2e4f5a6b7c8d9e0f1a2b",
"previous_definition_sha256": "a1b2c3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60718293a4b5c6d7e8f90"
}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"gen_ai.tool.name": {
"type": "string"
},
"definition_sha256": {
"type": "string"
},
"previous_definition_sha256": {
"type": "string"
},
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"required": [
"gen_ai.tool.name",
"definition_sha256"
],
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}