Join our Newsletter — 33% off our NHI Course
Home› Guides› MCP Server Compromise Tabletop Scenario: Poisoned Tool Hits…
Template MCP, Protocols & Agent Platforms

MCP Server Compromise Tabletop Scenario: Poisoned Tool Hits Production Agents

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 27 November 2026 13 min read
On this page

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.

  1. Tailor: map the fictional systems to real ones: [MCP server name], [agent platform], [identity provider], [secrets manager], [SIEM].
  2. Confirm facts in advance: find out, privately, whether your MCP clients log tools/list responses and tools/call requests, and whether agent tokens can be revoked individually. These answers often become the main findings.
  3. Brief the room: no-fault, no-scoring, decisions over answers; state that the facilitator may "fast forward" time.
  4. Run the injects: read each inject, allow discussion against the phase questions, and capture decisions, owners and open questions in a shared log.
  5. 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.

ObjectiveWhat success looks like
1. Detect and scopeTeam identifies the changed tool definition, the affected server version and every agent that loaded it
2. ContainClear owner and criteria for disabling the server or the single tool, with business impact understood
3. Revoke and reissue credentialsAgent tokens and the server's downstream credential revoked in a defined order without breaking unrelated services
4. Preserve evidenceMCP logs, served definitions and agent identity activity captured before rebuild
5. CommunicateTool owner, maintainer, affected business owners and, if triggered, regulators notified on time

Participants and pre-reading

ActivityIR leadAI platform ownerMCP server ownerIdentity teamSOCLegal and privacyBusiness owners
Declare incident and severityACCIRII
Disable or isolate MCP serverARRICIC
Revoke agent tokens and server credentialACCRCII
Collect and preserve evidenceARRRRCI
Notify tool owner and maintainerARRIICI
Regulatory and customer notification decisionCIIICA/RC

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

TimeInjectExpected 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 minThe 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 hAn 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 hRelease 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 hThe 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 hLogs 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 hThe 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 hThe 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 dayA 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 pointExpected decisionTrade-off to discuss
Disable serverBlock the poisoned tool or roll back to the last reviewed version within two hours of confirmation; disable the server if tool-level blocking is unavailableSupport agent downtime against continued data leakage
Revoke agent tokensRevoke all three agents' tokens and the server credential after a fast evidence snapshot, then reissue with least-privilege scopesSpeed of revocation against loss of in-flight evidence
Notify tool ownersInform the internal tool owner immediately and the maintainer once evidence is secured, asking them to preserve publishing logsCoordinated disclosure against alerting a compromised account holder
Hunt for spreadCheck every MCP server and agent image for the same dependency versionBreadth of hunt against team capacity
Regulatory notificationLegal and privacy assess personal data exposure and record the decision and reasoning either wayOver-notification against missing a statutory deadline

Evidence to collect

EvidenceSourceWhy it matters
Served tool definitions (tools/list responses) before and after the releaseMCP gateway or client logs, server repository and release artefactsProves what changed and when
Tool call history (tools/call requests and results)MCP server, gateway and agent platform logsShows what each agent did and what data left
Agent identity activityIdentity provider token issuance and refresh logs; downstream API audit logsScopes which tokens were used, from where, against what
Server credential useSecrets manager access logs and ticket system audit logShows whether the downstream key was misused outside the server
Build provenanceLockfiles, SBOM, CI pipeline logs and package registry metadataLinks the change to the dependency and maintainer account
Agent conversation and prompt logsAgent platformShows 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.

MeasureQuestion to answerSuggested target
Time to identify the changed toolHow long from first signal to finding the definition change?Under 1 hour
Time to containHow long to block the tool or roll back the server?Under 2 hours from confirmation
Credential revocation coverageWhat share of affected tokens and keys could be revoked individually?100 percent
Evidence completenessHow many of the six evidence types could be produced?All six
Inventory accuracyDid 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

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

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.