mcp audit
Lists every write an agent attempted, approved or not, newest first: when, the tool and request, the outcome, and who sent it. It needs Keep an audit log of writes on, and how long entries are kept depends on your plan. See audit log.
octri mcp audit [list | export] [filters]Flags
--tool <name>stringOnly one tool.
--outcome <outcome>stringOnly one outcome: ok, error, declined, blocked or limited.
--source <source>stringOnly one source: hosted, installation or self_hosted.
--who <identity>stringOnly one person or installation.
--from <date>stringFrom this date or time. A bare day such as 2026-11-01 starts at midnight UTC.
--to <date>stringUp to this date or time. A bare day includes the whole day, in UTC.
--limit <n>numberHow many to list, up to 200.
--cursor <id>stringWhere the next page starts, from the last line of the previous one.
octri mcp audit export
Saves every matching entry, with arguments already redacted. It takes the same filters.
Flags
--format <format>stringcsv or json.
--out <path>pathA file name, or a folder to save into.
Examples
Declined writes this month
octri mcp audit --outcome declined --from 2026-11-01✔ Loading the audit log
MCP audit log (3, kept 90 days)
WHEN TOOL REQUEST OUTCOME WHO
────── ──────────────── ──────────────── ──────── ──────
5d ago createCustomer POST /customers declined hosted
5d ago createCustomer POST /customers declined hosted
5d ago createCustomer POST /customers declined hostedExport for a review
octri mcp audit export --format csv --out audit.csv✔ Exporting the audit log
✔ Saved ./audit.csv (3.0 KB)Related
octri mcp permissions: See and set what an agent may do with each tool: auto, confirm or off.octri mcp calls: List the latest tool calls: which tool, when, and how it went.