What is incident replay for MCP server changes?
Published 2026-11-14 · Reviewed 2026-11-14 · By the Ingenious AI team
The short answer
Incident replay is the ability to walk a server's history in order — each pinned baseline, each diff, each approval decision, each gateway allow and block — and pinpoint the change that introduced a behaviour. Instead of reconstructing an incident from deploy logs, chat messages and memory, you read a timeline that was recorded as events happened. TrustGate keeps baseline history and incident replay on Pro and Team, and its gateway decision log and signed change records make the timeline evidence-grade rather than anecdotal.
What is incident replay?
Incident replay is a forensic review mode for MCP setups: the chronological reconstruction of a server's approved states (baseline history), the changes proposed between them (diffs), the human decisions on those changes (signed re-approval records), and the calls executed under each state (gateway decision log). Replay answers the incident questions in order — what changed, when, who approved it, and what ran under it — from records created at the time, rather than from artefacts gathered afterwards.
The questions every incident asks, and why they are hard
Something went wrong through an agent: data went somewhere, a message was sent, a record changed. The investigation immediately needs four answers. What was the server able to do at that moment? Had it changed recently? Who accepted that change? What exactly executed? In an unmonitored setup, each answer is a small research project — the server's current state is not its incident-time state, the vendor's changelog is a summary, and the “approval” was a chat message nobody can find.
Replay exists because those questions are predictable. If the answers matter eventually, the records must be created continuously — you cannot retrofit a timeline. Baselines capture states, diffs capture transitions, signed records capture decisions, and the gateway log captures execution. The incident merely reads what the discipline was already writing.
Walking a replay, step by step
Start from the symptom's timestamp and find the baseline in force at that moment — that is the approved capability set the agent held. Then read forward and backward: backward to see which approved change most recently altered the implicated tool, forward to confirm nothing else relevant moved. The diff for that change shows the exact lines that introduced the behaviour; the signed record names the approver and the date; the gateway log shows the calls executed under that baseline, with the definition hashes that were presented.
Nine times out of ten the walk ends in one of three places: an approved change whose implications were misjudged (a process lesson), an approved change whose diff was skimmed (a review-depth lesson), or — the case the whole system exists to prevent — no approved change at all, which cannot happen where the gateway enforces, because unapproved definitions do not execute. Each ending has a different fix, and replay's job is to tell you which ending you are in within an hour, not a week.
Replay for the incidents that are not attacks
Most replays are not breach investigations. They are “why did the agent start phrasing exports differently in June?”, “when did this tool start returning the extra field our pipeline chokes on?”, “did the vendor change the default before or after our audit?”. Operational mysteries, vendor disputes, and audit evidence requests all ask the same timeline questions. The vendor dispute case is especially satisfying: a signed, dated diff ends the “we never changed anything” phase of the conversation instantly and politely.
Auditors are the other quiet beneficiary. “Show us the change history for the systems this agent can reach, with approvals” is a standard evidence request that unmonitored teams answer with a spreadsheet built for the occasion. A replay export is the same answer, except it was true before anyone asked. TrustGate keeps this history as a product surface (baseline history on Pro and Team) precisely so evidence is a by-product, not a project.
What replay cannot reconstruct
Replay covers the definition layer completely and the backend layer not at all. If a server kept identical definitions while changing its internal behaviour — a new data partner behind the same tool, a different source feeding the same schema — the timeline shows a flat line, and the investigation must look at outputs and vendor records instead. This limit is worth stating inside your incident process, so a clean replay is read as “no definition change” rather than “nothing changed anywhere”.
Replay also cannot fix a missing past. Baselines begin when you pin them; the era before monitoring is unmapped territory no tool can retroactively chart. That asymmetry is an argument for pinning early and broadly: every week a server runs unmonitored is a week future-you cannot replay, and the servers you least suspect are the ones whose history you will most want.
Keeping history usable: retention and readability
A timeline nobody can read is a log file, not a capability. The records that matter in replay are the human-readable diffs and the decisions attached to them — which is why TrustGate stores the readable report alongside the digests. When you approve a change, a ten-second note (“vendor's announced migration, ticket 412”) multiplies the record's future value; future investigators, including future you, read reasons faster than they reconstruct them.
Retention should match your incident horizon: how far back might a slow-burn problem have started? Data issues surface months late; compliance questions arrive annually. Baseline history is small — definitions and diffs, not payloads — so keeping it for the life of the server relationship is cheap, and deleting it early saves nothing worth having. Team plans add the multi-stack view, because incidents rarely respect which stack a change lived in.
Rehearsing replay before you need it
Like the rest of change management, replay should be practised on a quiet afternoon. Pick a server, invent a symptom (“the agent exported a column it never used to”), and time the walk: find the baseline in force, the relevant diff, the approver, the gateway calls. If the walk takes more than an hour or hits a dead end — a missing note, an unnamed approver — you have found a process gap at rehearsal prices. Fix, repeat next quarter.
The rehearsal also calibrates expectations with leadership before an incident sets them for you: this is what we can prove, this is how fast, and this (backend behaviour) is what sits outside the record. Teams that have had that conversation in peacetime have markedly calmer wartime.
The 5-action checklist
- Confirm every monitored server's baseline history is intact and readable — states, diffs, approvers — before you need it.
- Attach a ten-second reason note to every approval; future investigators read reasons, not tea leaves.
- Run one replay rehearsal per quarter on an invented symptom and time the walk end to end.
- Keep baseline history for the life of the server relationship; it is small and its value grows with age.
- Write the limit into your incident process: a clean replay rules out definition change, not backend change.
Worked example: the export column that appeared in June, traced in 40 minutes
A fictional data team, Column & Pine, discovered in August that their reporting agent's exports had included a customer-email column since some time in June — a field their privacy review had explicitly excluded. The incident question was precise: when did the capability appear, and who let it in? The replay took forty minutes: the baseline in force in May had no such field; a June 9 diff showed the export tool's schema gaining an “include_contact” option; the signed record showed the team's own lead approving it as part of a bundle of “report formatting improvements”, with the vendor's changelog calling it exactly that.
The finding was uncomfortable and exactly what replay is for: no attacker, no silent vendor — an approved change whose one risky line hid inside a friendly label, skimmed in a busy review. The fixes were process-shaped: schema changes now require the second approver, and the diff view's schema section is read first, not last. Without the recorded timeline, the same investigation would have run for days and ended at “probably the vendor in June” — a conclusion too vague to fix anything with.
Frequently asked questions
Is incident replay only for security incidents?
No — most replays answer operational and evidential questions: when a behaviour started, whether a vendor changed a default, what an auditor asked to see. Security incidents are the highest-stakes use, but the timeline earns its keep on ordinary mysteries several times a year.
What records does a replay need?
Four: the sequence of approved baselines (states), the diffs between them (transitions), the decisions with approver and rationale (signed change records), and — where the gateway runs — the decision log of executed calls with definition hashes. TrustGate produces all four as by-products of the normal loop, which is the point: evidence created in peacetime.
Can replay prove a negative — that a change did NOT happen?
Within the definition layer, yes: an intact baseline history showing a constant digest across a window proves the tool definitions did not change in that window. That is a powerful statement in vendor disputes and audits. It does not prove the server's backend behaviour was constant, and honest reporting keeps that boundary visible.
How far back should history be kept?
For the life of the server relationship, if you can — the records are compact (definitions, diffs, decisions), and slow-burn problems plus annual audit cycles mean the valuable question often concerns last year. Deleting history early saves negligible storage and destroys exactly the evidence that cannot be recreated.
Who should be able to run a replay?
Anyone who might lead an investigation or face an auditor: the agent's owner, the on-call lead, and the person who answers compliance evidence requests. Rehearsals should include them by name — a capability locked behind one person's familiarity is a single point of failure wearing a process costume.
Keep exploring
Start with the free TrustGate scan of your own MCP setup, compare Free vs Pro vs Team, try the live rug-pull demo and the MCP change impact simulator, or browse the full guides index.