When a Model Context Protocol (MCP) server that production agents depend on starts serving a poisoned tool, the response turns on decisions most teams have never rehearsed: who can switch the server off, which agent tokens to revoke first, and how to tell the tool's owner without tipping off whoever changed it. This template is a ready-to-run tabletop exercise built around a fictional incident in which a widely used internal MCP server picks up a malicious tool description through a compromised update, and AI agents in production begin acting on it. It gives a timed inject script, roles, discussion questions by phase, the decisions and evidence a well prepared team would reach, and an after-action structure. It is written for incident response leads, AI platform teams, identity and security operations staff. For planning exercises in general see the Tabletop Exercise Guide; for other scenarios see the Tabletop Exercise Scenario Pack.
Key takeaways
- The tool definition is the attack surface: the scenario starts with a changed tool description, not a stolen password, so detection depends on whether anyone baselines tool definitions.
- Agents inherit every credential in reach: the blast radius is set by the tokens and keys the affected agents hold, so containment is largely an identity exercise.
- Three decisions dominate: disable or isolate the MCP server, revoke and reissue agent credentials, and notify tool owners and downstream teams, each with a business cost the room must weigh.
- Evidence disappears quickly: tool call history, the served tool definitions and agent session logs must be preserved before servers are rebuilt or redeployed.
- The output is a backlog: the exercise should end with named owners for inventory, logging, credential scoping and kill switch gaps.
How to use this template
Run the exercise as a facilitated discussion of 2.5 to 3 hours. Replace every placeholder in square brackets with your own systems before the session, and share only the pre-reading with participants; keep injects with the facilitator. The scenario is fictional and deliberately non-technical about how the tool was poisoned: participants are tested on detection, decisions and coordination, not on attack mechanics.
- Tailor: map the fictional systems to real ones: [MCP server name], [agent platform], [identity provider], [secrets manager], [SIEM].
- Confirm facts in advance: find out, privately, whether your MCP clients log
tools/listresponses andtools/callrequests, and whether agent tokens can be revoked individually. These answers often become the main findings. - Brief the room: no-fault, no-scoring, decisions over answers; state that the facilitator may "fast forward" time.
- Run the injects: read each inject, allow discussion against the phase questions, and capture decisions, owners and open questions in a shared log.
- Close with the hot wash and schedule the after-action review within five working days.
The structure follows NIST SP 800-84 (design, development, conduct, evaluation) and the CISA Tabletop Exercise Packages approach of objectives, scenario, discussion questions, feedback form and an After Action Report.
Scenario overview and objectives
Setting: [Organisation] runs an internal MCP server, [docs-and-tickets MCP], used by three production agents: a customer support agent, an internal engineering assistant and a finance reconciliation agent. The server exposes tools that search documentation, read tickets and create ticket comments. It authenticates to downstream systems with a service credential, and each agent connects with its own OAuth access token issued by [identity provider]. A third-party maintainer contributes to one of the server's tool packages.
Incident (facilitator only): a dependency update pulled into the server's last release changed the description of the search_docs tool. The new description contains hidden instructions that steer agents to include additional data in later tool calls. The server declares the listChanged capability, so connected clients refreshed the tool list without anyone reviewing it. MITRE ATLAS describes this class of technique as AML.T0110 AI Agent Tool Poisoning; it relates to OWASP LLM01:2025 Prompt Injection, LLM03:2025 Supply Chain and LLM06:2025 Excessive Agency.
| Objective | What success looks like |
|---|---|
| 1. Detect and scope | Team identifies the changed tool definition, the affected server version and every agent that loaded it |
| 2. Contain | Clear owner and criteria for disabling the server or the single tool, with business impact understood |
| 3. Revoke and reissue credentials | Agent tokens and the server's downstream credential revoked in a defined order without breaking unrelated services |
| 4. Preserve evidence | MCP logs, served definitions and agent identity activity captured before rebuild |
| 5. Communicate | Tool owner, maintainer, affected business owners and, if triggered, regulators notified on time |
Participants and pre-reading
| Activity | IR lead | AI platform owner | MCP server owner | Identity team | SOC | Legal and privacy | Business owners |
|---|---|---|---|---|---|---|---|
| Declare incident and severity | A | C | C | I | R | I | I |
| Disable or isolate MCP server | A | R | R | I | C | I | C |
| Revoke agent tokens and server credential | A | C | C | R | C | I | I |
| Collect and preserve evidence | A | R | R | R | R | C | I |
| Notify tool owner and maintainer | A | R | R | I | I | C | I |
| Regulatory and customer notification decision | C | I | I | I | C | A/R | C |
R = responsible, A = accountable, C = consulted, I = informed. Add a facilitator, a scribe and, optionally, an observer from internal audit. Adapt the matrix from your Incident Response RACI Template.
Pre-reading (send one week ahead):
- Your MCP server inventory entry for [docs-and-tickets MCP], or the MCP Server Inventory Template if none exists.
- The MCP Incident Response Playbook and your agent kill switch procedure, if any.
- The MCP specification's security best practices page and the Tools page security considerations.
- A one-page diagram of the three agents, their tokens and what each can reach.
Inject timeline
| Time | Inject | Expected question from the room |
|---|---|---|
| T+0 (Mon 09:10) | The finance team reports that the reconciliation agent added unusually long comments to several tickets over the weekend. | Is this a model quality issue or a security event, and who decides? |
| T+30 min | The SOC sees the engineering assistant's token calling the ticket API at three times its normal rate, with large request bodies. | Which identity is this, what can it reach, and is it the only one? |
| T+1 h | An engineer notices the search_docs tool description is much longer than last month's and contains text that reads like instructions. | Do we have a baseline of tool definitions? When did it change and in which release? |
| T+1.5 h | Release notes show [docs-and-tickets MCP] v2.4 was deployed on Friday, including a dependency update from the third-party maintainer. | Which agents connected since Friday, and did any other server pull the same dependency? |
| T+2 h | The support team says disabling the server will stop the customer support agent during peak hours. | Disable the whole server, disable one tool, or roll back to v2.3? What is the cost of each? |
| T+3 h | Logs show ticket comments created by agents contain internal document excerpts, some with customer names. | Is personal data involved? Does this start a notification clock? |
| T+4 h | The identity team reports the server's downstream service credential is a long-lived API key with write access to the ticket system. | Revoke now or after evidence capture? Who owns the key and what else uses it? |
| T+6 h | The maintainer replies that their publishing account may have been compromised. | What do we tell them, what do we ask for, and who else must we warn? |
| T+1 day | A business owner asks when the agents can be turned back on. | What conditions must be met before re-enabling, and who signs off? |
Optional extra inject for mature teams: at T+5 h a second internal MCP server is found to depend on the same package version.
Discussion questions by phase
Detection and triage (T+0 to T+1.5 h)
- Signals: which of our controls would have raised this first: tool definition change alerts, token anomaly detection, data loss prevention on agent outputs, or a user complaint?
- Baseline: do our MCP clients or gateway record the tool list served at each connection, and can we diff it against the previous version? See MCP Tool Poisoning Detection.
- Scope: can we list every agent and user client connected to the server since the release, with the identity each used?
Containment (T+2 h to T+4 h)
- Kill switch: who has authority to disable an MCP server in production, and is that written down? See the AI Agent Kill Switch and Containment Guide.
- Granularity: can we block one tool at a gateway or client allow-list instead of the whole server?
- Human in the loop: the MCP specification says there should always be a human able to deny tool invocations; could we switch affected agents to require approval for write actions?
Credential revocation (T+3 h to T+6 h)
- Order: what is the right sequence: preserve evidence, revoke the server's downstream credential, revoke agent tokens, then reissue with narrower scopes?
- Audience: are agent tokens issued specifically for this MCP server? The MCP specification states that servers must not accept tokens not explicitly issued for them; if ours did, the stolen tokens may work elsewhere.
- Static secrets: where else is the long-lived API key used? See MCP Static Token Audit.
Communication and recovery (T+6 h onwards)
- Owners: who tells the tool's owner and the third-party maintainer, through which channel, and what do we ask them to preserve?
- Notification: if customer personal data reached ticket comments visible to more staff than before, does that meet our personal data breach criteria (for example, the ICO says that under UK GDPR, where a risk to individuals is likely, you must notify it as soon as possible and where feasible within 72 hours)?
- Re-enable criteria: what must be true before agents reconnect: pinned server version, reviewed tool definitions, new scoped credentials, monitoring in place?
Expected decisions and evidence
A well prepared team should reach these decisions; use them to score gaps, not people.
| Decision point | Expected decision | Trade-off to discuss |
|---|---|---|
| Disable server | Block the poisoned tool or roll back to the last reviewed version within two hours of confirmation; disable the server if tool-level blocking is unavailable | Support agent downtime against continued data leakage |
| Revoke agent tokens | Revoke all three agents' tokens and the server credential after a fast evidence snapshot, then reissue with least-privilege scopes | Speed of revocation against loss of in-flight evidence |
| Notify tool owners | Inform the internal tool owner immediately and the maintainer once evidence is secured, asking them to preserve publishing logs | Coordinated disclosure against alerting a compromised account holder |
| Hunt for spread | Check every MCP server and agent image for the same dependency version | Breadth of hunt against team capacity |
| Regulatory notification | Legal and privacy assess personal data exposure and record the decision and reasoning either way | Over-notification against missing a statutory deadline |
Evidence to collect
| Evidence | Source | Why it matters |
|---|---|---|
Served tool definitions (tools/list responses) before and after the release | MCP gateway or client logs, server repository and release artefacts | Proves what changed and when |
Tool call history (tools/call requests and results) | MCP server, gateway and agent platform logs | Shows what each agent did and what data left |
| Agent identity activity | Identity provider token issuance and refresh logs; downstream API audit logs | Scopes which tokens were used, from where, against what |
| Server credential use | Secrets manager access logs and ticket system audit log | Shows whether the downstream key was misused outside the server |
| Build provenance | Lockfiles, SBOM, CI pipeline logs and package registry metadata | Links the change to the dependency and maintainer account |
| Agent conversation and prompt logs | Agent platform | Shows how hidden instructions influenced agent behaviour |
The MCP specification's Tools page says clients should log tool usage for audit purposes; if the room finds that logging is missing, record it as the first backlog item. For agent-specific evidence handling see the AI Agent Observability and Incident Response Guide.
After-action review
Capture a short hot wash before people leave (what went well, what slowed us down, what surprised us), then hold a formal review within five working days and produce an After Action Report with owners and dates. Real incidents give useful contrast: in the Sentry MCP Agentjacking research, agents treated MCP tool output as trusted and ran commands with developer privileges, which is the same trust failure this scenario exercises.
| Measure | Question to answer | Suggested target |
|---|---|---|
| Time to identify the changed tool | How long from first signal to finding the definition change? | Under 1 hour |
| Time to contain | How long to block the tool or roll back the server? | Under 2 hours from confirmation |
| Credential revocation coverage | What share of affected tokens and keys could be revoked individually? | 100 percent |
| Evidence completeness | How many of the six evidence types could be produced? | All six |
| Inventory accuracy | Did the inventory list every agent connected to the server? | Yes, with owners |
Typical findings from this scenario: no baseline of tool definitions; automatic acceptance of notifications/tools/list_changed in production; agents holding broad, long-lived tokens; no written authority to disable an MCP server; and long-lived downstream API keys inside servers. Track each in the risk register and re-run the scenario after fixes.
Practitioner checklist
- Tailor placeholders to real systems and confirm logging and revocation facts privately before the session.
- Name an accountable owner with authority to disable any production MCP server.
- Baseline and alert on changes to served tool definitions, and require review before clients accept a changed tool list in production.
- Issue each agent its own token, scoped and audience-restricted to the MCP server, and confirm it can be revoked individually.
- Replace long-lived downstream API keys in MCP servers with short-lived, vaulted credentials.
- Pin MCP server versions and dependencies, and keep an SBOM for each server image.
- Write down the evidence preservation order and test that the six evidence types can be produced.
- Agree personal data breach assessment criteria with legal and privacy before an incident.
- Produce the After Action Report within five working days and re-run the exercise after fixes.
Standards and references
- Model Context Protocol: Security Best Practices (specification 2025-11-25)
- Model Context Protocol: Tools, security considerations (specification 2025-11-25)
- MITRE ATLAS: AML.T0110 AI Agent Tool Poisoning
- OWASP GenAI Security Project: Top 10 for LLM Applications 2025
- NIST: SP 800-84 Guide to Test, Training, and Exercise Programs for IT Plans and Capabilities
- CISA: Tabletop Exercise Packages
- ICO: UK GDPR data breach reporting
Related NHI Mgmt Group resources: MCP Incident Response Playbook · MCP Tool Poisoning Detection · AI Agent Kill Switch and Containment Guide · MCP Security Guide · Tabletop Exercise Guide