Audit MCP tool calls: what Metorial logs and how to export it
What Metorial records for every MCP tool call and admin action, how to review it per person, and how to stream logs to Datadog, Splunk, or OpenTelemetry.
Metorial records every MCP tool call with the tool name, arguments, result, status, the person or agent who made it, and the session it belongs to. Admin and security activity goes into a separate organization audit log, with IP address, location, and device details. You can review both per person in the dashboard, stream organization audit logs to Datadog or Splunk with Log Streams, and send live MCP traffic to an OpenTelemetry collector or another log destination through an Outpost. Retention is configurable: how many days audit logs are kept, and whether a project stores full message data, intent only, or none.
What you'll learn
- What Metorial logs and where to find it
- How to review one person's tool calls
- How to export logs and set retention
What gets logged
| Record | What it contains | Where to find it |
|---|---|---|
| Tool calls | Tool name, arguments, result, status, source, agent, session, time | Integrations, Connection Logs, Tool Calls |
| Sessions | Connection ID, transport, message counts, providers and auth configs used, timeline | Connection Logs, Sessions |
| Errors | Failed tool calls with error details | Connection Logs, Tool Errors |
| Per person | The account's tool calls, connections, and Magic MCP servers | Workforce, Identity, Accounts |
| Per agent | The agent's tool calls and connection history | Workforce, Identity, Agents |
| Organization audit log | Security and administration activity, including portals, skills, and Workforce, with IP address, country, city or region, ASN, browser, operating system, and device | Organization settings, Audit Logs |
Protoguard events and provider authentication events also appear in the dashboard's logs.
Review one person's tool calls
Open the account
In Workforce, open Identity, Accounts, and select the person.
Check their calls
Select Operations. Each row is a tool call with its status and session. Select a row to see the arguments and result.
Follow the session
Select Connections to see which client connected, over which transport, and when it was last active. Match the session ID from Operations to read the full timeline in connection logs.
To search across everyone, open Integrations, Connection Logs, Tool Calls, and select Filter. A chart above the list shows volume over time; select a spike to jump to the events behind it.
Export audit logs to your SIEM
Log Streams send organization audit logs to Datadog or Splunk.
Open Log Streams
In organization settings, open Audit Logs, then Log Streams, and select Add Stream.
Choose a destination
For Datadog, enter an API key and choose the Site (US1, US3, US5, EU, AP1, or AP2). For Splunk, enter the HEC endpoint and HEC token, and optionally an Index, Source, and Source type.
Watch its health
The stream shows Pending until it starts, then Healthy. Error means Metorial cannot deliver to the destination, and Paused means delivery stopped after repeated errors. The Events tab lists when the stream was created, started, paused, or recovered.
Log Streams depend on your plan; see pricing.
Send MCP traffic to OpenTelemetry
For a live record of every MCP message in your own systems, run an Outpost in your network. Its MCP proxy can log every tool call, prompt get, and resource read in both directions, and ships with loggers for Datadog, Splunk, Elasticsearch, any HTTP endpoint, and an OpenTelemetry collector (OtelLogger). Because the Outpost runs on your side, these logs never depend on Metorial's retention settings.
Pass a logger such as OtelLogger to McpProxy.create() along with this middleware. The Outpost repository has complete examples.
Set retention
Audit log retention
In organization settings, open Audit Logs, then Retention, and enter the number of days to keep audit logs. The page shows the maximum your plan allows.
Message data retention
In project settings, open Security, then Data Retention, and choose a Retention level:
| Level | What is stored |
|---|---|
| Full | Message contents and tool calls are stored in full |
| Intent only | Tool names and the operation descriptions and rationale that agents provide, but not message contents |
| None | Message contents, tool identity, and tool calls are never stored; sessions and connections only |
The level applies to sessions started after you save. With None, session logs are empty for the project, and tool call analytics and Protoguard prompt scanning are not available. Reduced retention levels depend on your plan.
Troubleshooting
Session logs are empty
The project's retention level is probably None. Check Security, Data Retention in project settings.
A Log Stream shows Error or Paused
Check the destination credentials: the Datadog API key and site, or the Splunk HEC endpoint and token. The Events tab shows when errors started.
You cannot find a specific call
Use Filter on Tool Calls and narrow by tool, status, agent, or session. For failures, start from Tool Errors.
FAQ
Can we see which employee ran a specific tool call?
Yes. Each call is tied to the account or agent that made it, and calls through Magic MCP run under the signed-in person. Open the person's Operations page, or filter Tool Calls.
Does Metorial store prompts and tool results?
With Full retention, yes. Intent only keeps tool names and the agent's stated purpose without message contents, and None keeps only sessions and connections.
Can we send Metorial logs to our SIEM?
Organization audit logs stream to Datadog or Splunk. For MCP traffic, an Outpost can log to Datadog, Splunk, Elasticsearch, HTTP endpoints, or OpenTelemetry.
Is this enough for a SOC 2 audit?
Logs are one part of the evidence. See Meet SOC 2 requirements when employees use AI with MCP tools for how they fit with access controls.
To see how other MCP gateways handle audit logs and SIEM export, see MCP gateway audit logs and SIEM export compared in the MCP gateway comparison.