MCP Security Risks and a Practical Checklist for Teams

Himanshu

Written by

Himanshu
Rohit Joshi

Reviewed by

Rohit Joshi

Published 04 December 2026

Expert Verified

<p>MCP Security Risks and a Practical Checklist for Teams,” showing an MCP server connected to security, code, database, and cloud controls while a team member reviews a security checklist.</p>

Summarize this post with AI

Quick answer

Reduce MCP security risks by approving which servers your team connects, limiting what each server can access, and requiring human approval for sensitive actions. Start with a server inventory, replace shared credentials with narrowly scoped ones, and require approval before an agent sends data externally, deletes records, or moves money. Treat tool responses as untrusted and log tool calls without storing secrets. The 18-point checklist below shows what to verify before rollout and what to monitor after launch.

TL;DR

  • Review four sources of MCP risk: server code, credentials, tool content, and network exposure. Even an approved server can return untrusted content.
  • A malicious package secretly copied outgoing emails. In a separate research demo, an agent exposed private repository data after reading a hostile GitHub issue.
  • The 18-point checklist maps controls to the OWASP MCP Top 10. Start with servers that can read private data, send it externally, or change production records.

The Model Context Protocol (MCP) lets AI applications discover and use tools, resources, and prompts from connected servers. A one-time review can tell you what you’re connecting today. Three risks are easy to miss once that server is in use.

Approved servers can change. A copycat postmark-mcp package published 15 clean versions before adding a hidden BCC recipient to outgoing emails. If a team upgrades automatically, an earlier approval can carry over to code nobody reviewed.

Trusted servers can return untrusted content. In a GitHub MCP research demonstration, an agent followed instructions in a public issue and exposed private repository data it could access through the user’s GitHub permissions. The server behaved as designed.

Untracked servers are harder to shut down. During an incident, your team needs to know where each server runs, who owns it, and what it can access. That inventory tells you who can remove the server and which credentials to revoke.

This blog explains those risks and gives you an 18-point MCP security checklist with owners, checks your team can verify, and a 30-day rollout plan.


What Are MCP Security Risks?

MCP request flow showing two trust boundaries and four risks: packages, credentials, returned content, and network exposure.

MCP security risks arise when a server, its credentials, or the content it returns can cause an AI agent to expose data, run code, or take an action outside its intended scope.

In a conventional integration, application code usually determines which API calls to make and when. In an MCP-enabled workflow, the model can propose a tool call based on the user’s request, tool descriptions, and results from earlier calls. The host decides if the call can go ahead. That distinction matters because a tool result can contain text the model mistakes for an instruction.

The OWASP MCP Top 10 covers this kind of prompt injection alongside risks such as weak access controls and compromised packages. The protocol gives applications a way to connect to tools. Your implementation still needs to enforce who can use those tools, what they can access, and which actions require approval. The NSA’s MCP security guidance also highlights the risks of dynamic tool use and shared context.

What to reviewWhat can go wrong
Server code and packagesA compromised package or unreviewed update changes what the server does.
Credentials and permissionsLong-lived tokens leak through configuration files or logs, or broad scopes give a tool more access than it needs.
Tool descriptions and returned contentText in a tool description, issue, email, or page steers the model toward an unintended action.
Network exposureAn internet-facing server accepts requests without adequate authentication or access controls.

MCP Security Incidents and What They Teach

A production incident tells you what went wrong in a live system. A research demo shows what could go wrong under specific conditions. Both can inform your security review, but they’re different kinds of evidence. The examples below show why teams need to review both the software they install and the actions an agent can take after reading content. GitHub

CaseTypeWhat happenedWhat to check
MCP tool poisoningResearch demonstrationResearchers showed that a tool description could contain instructions the model sees and the user may miss.Review tool descriptions and flag changes after approval.
GitHub MCP data exposureResearch demonstrationInvariant Labs showed that content in a public issue could steer an agent into exposing private repository data it already had permission to read. iLimit repository access and check what the agent can publish externally.
Asana MCP data exposureProduction incidentA flaw in Asana’s MCP server exposed data across organisations. Test that one tenant cannot retrieve another tenant’s records.
mcp-remote CVE-2025-6514Patched vulnerabilityA flaw could allow unauthorized command execution on the client. The advisory lists version 0.1.16 as the fix. Track and patch MCP clients and adapters alongside the servers they connect to.
Malicious postmark-mcp packageSupply-chain incidentA lookalike package added a hidden BCC recipient to outgoing emails. Verify the publisher, pin reviewed versions, and check who can receive outgoing messages.

The GitHub demo shows why a package review is only one part of the job. The agent already had the access it needed to expose private data. As you work through the checklist, check which tools can read sensitive information and where the agent can send it.


18-Point MCP Security Checklist

Each check has a tier and a “done when” test. Baseline checks suit every team. Higher-risk checks matter when agents touch customer data, production systems, or the open internet. Advanced checks add detection and maturity. The groups follow the life of a server, so you approve it, give it access, contain what it can run, control the data it touches, and then watch it.

A. MCP Server Discovery and Approval

  1. Inventory every server and name an owner: List each server, its owner, where it runs, its version, and the credential it holds. The NSA recommends keeping this inventory with patch history and regularly scanning your network for unauthenticated or unauthorized MCP servers. Also scan developer machines for MCP config files. Done when the inventory matches a scan of managed devices and deployment environments.
  2. Verify the publisher and package provenance: Match the package on npm or PyPI to the vendor’s official repository, confirm the vendor’s own site links to it, and look for signed releases or provenance attestations, a security contact, and recent maintenance. Treat maintainer count as a weak signal, since a lookalike package can have several maintainers. The NSA also notes that many popular servers are no longer maintained, so favor officially maintained MCP servers with a strong track record over unreviewed community forks. Done when each approved server has a recorded source, publisher, and the evidence you checked.
  3. Pin an exact version and read the diff before every upgrade: The postmark-mcp backdoor was one line added to version 1.0.16 after 15 clean releases. A config that tracks the latest version picks up a change like that without anyone looking. Done when every config names an exact version and each upgrade has a named reviewer.
  4. Review tool manifests and watch them for changes: OWASP files rug pulls, schema poisoning, and tool shadowing under tool poisoning (MCP03), and the NSA notes that a trusted server’s capabilities can change with no approval step. Save a canonical copy of each server’s tool names, descriptions, input schemas, and annotations in version control, with keys sorted and whitespace normalized. Compare it on every connection, and require review when a change adds capability or rewrites a description. A raw hash alone also flags harmless reordering, so compare the normalized fields. Done when an unapproved description change in a test server triggers a review.

B. MCP Authentication and Authorization

  1. Use short-lived, audience-bound credentials, one per server: Prefer per-user OAuth where user identity matters, and a dedicated workload identity with narrow access for unattended agents. OAuth alone does not guarantee least privilege, so confirm tokens are short-lived, issued for the server that receives them, and never reused across servers. Never paste a production key that other systems also use, because a dedicated key shows which server acted and limits what a leak exposes. Where only static keys exist, set a rotation date. Done when no production credential is shared across servers and every static key has an owner and a rotation date.
  2. Start with minimal scopes and review them on a schedule: The spec recommends a minimal initial scope set with step-up when privileged operations are first attempted, and lists wildcard scopes such as * or full-access as a common mistake. OWASP MCP02 describes permissions that expand over time. For GitHub-style integrations, restrict the token to the repositories the agent actually works on. Done when each credential’s scopes are documented and were reviewed in the last quarter.
  3. Keep secrets out of config files and chat: OWASP MCP01 names hard-coded credentials, long-lived tokens, and secrets in model memory or logs as the exposure path. Inject credentials from a secrets manager at runtime and add your mcp.json files to your secret scanner. Done when secret scanning of MCP configs finds nothing and a test shows no token in tool output.
  4. If you build servers, enforce tokens and tenants on every request: The spec says a server must not accept tokens that were not issued for it and calls token passthrough explicitly forbidden. The 2026-07-28 spec revision adds issuer validation and binds client credentials to the issuer that minted them, so check your SDK version. Asana’s exposure came from a logic flaw rather than an attack, so write negative tests. Request another user’s resource, present a token meant for a different service, send expired and revoked tokens, omit the tenant ID, supply a tenant ID that conflicts with the authenticated identity, and check that cache keys include the tenant. Done when those tests run in CI and every one fails closed.

C. MCP Server Execution Security

  1. Inspect launch commands and sandbox local servers: The MCP security best practices say a client’s one-click setup must show the exact command without truncation and get explicit approval, and should run servers in a sandbox with limited filesystem and network access. The NSA names OS-level isolation such as AppArmor, SELinux, seccomp, and AppContainers. Read every command and args entry in your configs the same way, and keep proxies like mcp-remote updated. Done when every launch command has been reviewed and local servers run with restricted filesystem and network access.
  2. Never build shell commands from model or tool input: Invoke fixed executables through structured process APIs with arguments passed as arrays, avoid shells where a direct call exists, validate each argument against an allowlist, and run the process under a low-privilege OS account. Done when code review finds no string-built shell commands and a test with shell metacharacters in arguments does nothing.
  3. Limit server exposure, call rates, and outbound reach: Censys notes that exposed MCP servers effectively become unauthenticated endpoints. Keep servers off the public internet unless they authenticate over TLS, cap request sizes, and rate-limit calls with timeouts so a hijacked agent cannot loop through a database or an inbox. For clients that fetch OAuth or metadata URLs, require HTTPS and block private and link-local ranges such as 169.254.0.0/16, which includes cloud metadata endpoints. The NSA also suggests a filtering outbound proxy or DLP. Done when an external scan of your address ranges finds no unauthenticated MCP endpoint and an over-limit test returns a documented rate-limit response.

D. AI Agent Data Flow and Prompt Injection Security

  1. Require risk-based human approval: Approve by risk instead of approving everything. Reversible reads can run freely, while destructive, external, financial, and bulk actions need a person and a concrete preview of the destination, the records affected, and the data leaving your systems. The MCP spec says tool annotations are hints and clients must treat them as untrusted unless they come from a trusted server, so a server cannot declare its own action safe. MCP maintainers also note that developers of autonomous agents often treat confirmations as friction. Invariant saw the same with “Always Allow”, so avoid that setting on anything that writes, deletes, sends, or pays and keep prompts for the actions that matter. This matters most for agents that act on live pages, such as browser agents, where hostile page content can steer every click. Done when a test of a destructive action and a bulk action each stops at an approval that shows the destination and affected records.
  2. Do not let hostile input, private data, and an outbound path meet without an enforced control: The GitHub attack needed a public repository that accepts issues, a token that could read private repositories, and a tool that could open pull requests. Remove any one of those and the flow breaks. MCP maintainers, citing Simon Willison’s “lethal trifecta”, note that this risk belongs to the whole session and not to any single server. Map each agent’s tools to the three roles. Where you cannot split the agent, enforce policy at the boundary with destination allowlists, approval that names the data and where it goes, and a fresh context after the agent reads untrusted content. Invariant’s own example policy limits an agent to one repository per session. Done when each agent has a documented tool map and any agent holding all three roles has an enforced egress rule.
  3. Treat tool output as untrusted and contain its influence: The NSA says each output must be treated as untrusted input to the next phase, even from vetted components. Filtering for injected prompts helps but cannot be your boundary, so contain the output instead. Label data by source, keep untrusted text apart from system instructions, restrict which tools may run after untrusted content is read, and check proposed actions against deterministic policy. Retrieved content must never grant itself permissions. Done when a test document containing instructions cannot trigger a write tool without approval.
  4. Isolate and minimize context: Keep context, caches, memory, and task state separate per user and tenant. Pass a tool only the data it needs, redact sensitive fields, expire stored context under a retention policy, and include tenant and authorization context in cache keys. Done when a test as one user cannot retrieve another user’s cached results or memory.

E. MCP Security Monitoring and Incident Response

  1. Log every tool call, with redaction: Record who triggered the call, which server and tool, normalized argument names, the target resource, the approval or policy decision, and the result status. The NSA recommends logging exact parameters, identities, and result hashes into your SIEM, but arguments can carry tokens, personal data, and file contents. Redact secrets and sensitive fields before storage, encrypt the logs, restrict access, and set a retention limit. For high-risk actions, store a sanitized action record instead of the full payload. Without logs you cannot answer the postmark question, which is which emails left with an extra recipient. Done when a test call with a fake token in its arguments produces a log entry showing the redacted value.
  2. Alert on change: Trigger an alert when a server adds a tool, rewrites a description, changes its address, moves ports, or stops resolving. A server whose domain lapses can be bought by an attacker, so re-run check 2 for any server whose owner or address changed. Done when adding a tool to a test server alerts its owner.
  3. Write the removal playbook and drill it: Koi Security’s advice after postmark-mcp was to remove the package, rotate any secrets that may have been exposed, and audit every MCP server in use. Turn that into steps with named people, and add an offboarding step that rotates a leaver’s MCP credentials. Done when a drill removes a test server and rotates its credentials within the time your team set.

MCP Security Checklist Example for Order Emails

Suppose your team wants to connect a community Postmark MCP server so an AI agent can send order confirmations. Run these checks before giving it production access.

  1. Register the server. Record its package version, deployment location, and who owns updates, credential rotation, and removal.
  2. Verify and pin the package. Check the package name and publisher against the project’s official repository. Review how it builds recipient lists and which services it contacts. Pin the exact version you reviewed.
  3. Record the approved tools. Save their names, descriptions, and input requirements. Review any changes before upgrading.
  4. Limit sending permissions. Give the server its own credential with the narrowest sending scope available. Record its scope and rotation date.
  5. Enforce recipient rules. Show every To, CC, and BCC recipient in the approval preview. Check the list again at a trusted sending layer before the email goes out.
  6. Verify a test send. Compare the approved recipient list with the provider’s send record. Restrict access to those logs and keep message bodies out of them.

The test passes when the send record matches the approved list and the sending layer blocks any unexpected recipient.


OWASP MCP Top 10 Mapping

OWASP’s list is still a beta (version 0.1) with its next release listed for October 2026, so treat it as a shared vocabulary rather than a finished standard. Each of its ten risks maps to at least one check above.

OWASP riskPlain meaningChecks
MCP01 Token Mismanagement and Secret ExposureHard-coded or long-lived credentials leak through logs, memory, or injection5, 7
MCP02 Privilege Escalation via Scope CreepLoosely granted permissions grow over time6
MCP03 Tool PoisoningTools or their outputs are tampered with, including rug pulls and tool shadowing3, 4, 17
MCP04 Supply Chain Attacks and Dependency TamperingA compromised package changes agent behavior2, 3, 9
MCP05 Command Injection and ExecutionUntrusted input reaches shell commands, API calls, or code9, 10
MCP06 Intent Flow SubversionInstructions hidden in retrieved context redirect the agent12, 13, 14
MCP07 Insufficient Authentication and AuthorizationServers do not verify who calls or what they may do5, 8, 11
MCP08 Lack of Audit and TelemetryToo little logging to catch or investigate misuse16, 17
MCP09 Shadow MCP ServersUnapproved servers run outside security governance1
MCP10 Context Injection and Over-SharingShared or persistent context leaks between tasks, users, or agents13, 14, 15

Who Owns Each MCP Security Check?

Assign a named owner to each check before rollout. On a small team, one person can cover several roles.

  1. Start with IT or platform. Have them maintain the server inventory, issue and rotate credentials, manage secrets, and control where servers are reachable. (Checks 1, 5, 7, and 11)
  2. Give developers the implementation checks. Have them pin reviewed versions, validate tokens on the server, review how processes launch, handle untrusted tool output, and keep user and tenant context separate. (Checks 3, 8, 9, 10, 14, and 15)
  3. Ask security to review how tools work together. Have them review tool descriptions, check whether untrusted content could steer tools that read or send private data, and set logging and alert rules. (Checks 4, 13, 16, and 17)
  4. Have team leads approve access and own the removal plan. They verify publishers, approve permission scopes, decide which actions need human approval, and coordinate server removal. (Checks 2, 6, 12, and 18)
  5. Run a removal drill. Confirm who gets the alert, who can disable the server, and who can revoke its credentials. Record those names in the server inventory.

What an MCP Security Checklist Can and Cannot Do

A reviewed server can still return untrusted content, and an approved package can change in a later release. When either happens, the outcome depends on what the host allows the agent to read, change, or send. Enforce those limits through access controls and approval checks at the point where the action runs.

Test those controls together before launch. Confirm that an agent cannot access a record outside its scope, that a sensitive action stops for approval, and that your team can disable a server and revoke its credentials. Check that the logs show what happened in each case.

The checklist gives your team a way to limit the impact of a failure and investigate it. Recheck the affected controls when a server adds a tool, gains permissions, or connects to a new system.


How an MCP Gateway Can Help Enforce Security Controls

When teams connect directly to several MCP servers, they have to track those connections, permissions, and logs across multiple clients. A gateway can give teams one place to manage approved connections and apply policy. The security benefit depends on which controls the gateway enforces and which connections pass through it.

MCP360 is one example. It gives clients a single connection to discover and run tools from multiple MCP servers. During a security review, check how that setup supports four items from the checklist.

Checklist itemWhat to verify
Server inventory (check 1)Confirm you can see which servers and tools are available through the gateway. Check client configurations for direct connections that bypass it.
Credentials (check 5)Check how sign-ins and keys are tied to a user or agent, and confirm you can revoke access for one client without disrupting the others.
Action approval (check 12)If several tools share one execution endpoint, check that policy evaluates the underlying action. Approving the endpoint alone could also approve tools that send data or change records.
Logging (check 16)Confirm the audit log identifies the caller, downstream tool, policy decision, and result. Check that sensitive fields are redacted and that you can export the records for an investigation.

A gateway may handle downstream credentials and see tool inputs and results. Review its own access controls, tenant isolation, and retention settings. Keep reviewing the publishers, versions, and tool descriptions of the servers behind it. Before rollout, test that you can revoke access to one downstream server and confirm the agent can no longer call it.


Frequently Asked Questions

Is MCP safe to use?

MCP can be used safely when you review servers before connecting them, limit what each server can access, and log tool calls without storing secrets. Require human approval for sensitive actions.

What are the main security risks of MCP servers?

The main risks come from server code, credentials, returned content, and network exposure. Examples include malicious packages, long-lived or overly broad credentials, untrusted text that influences the model, and internet-facing servers without adequate authentication.

How do you secure an MCP server?

Require authentication, accept only tokens intended for your server, and grant the narrowest permissions each tool needs. Isolate the server, restrict network access, use TLS for remote connections, and redact secrets from tool-call logs.

What is tool poisoning in MCP, and how can you reduce the risk?

Tool poisoning involves tampering with tool information, such as a description the model reads, to influence how the agent behaves. Pin reviewed versions, check tool descriptions for changes before upgrading, and enforce approval for sensitive writes or external sends.

Can prompt injection affect MCP, and how can you limit its impact?

Yes. In a GitHub MCP research demo, an agent followed instructions in a public issue and exposed private data it could already access. Treat retrieved content as untrusted, limit the tools available after reading it, and enforce approval before sensitive data is sent outside the approved destination.


Conclusion

Start with the MCP servers that can read private data, send it externally, or change production records. For each one, record who owns it, which credentials it uses, and which actions require approval. That gives your team a starting point for deciding what to restrict and who can act if something goes wrong.

Before rollout, pick one sensitive action and test the full path. If an agent can send an order email, check that an unexpected recipient is blocked and that the log shows why. Then disable the server, revoke its credential, and confirm the agent can no longer use it. That drill shows whether your team can contain a problem with the controls it has today.

Review the inventory and permissions every quarter. Recheck the affected workflow sooner after a package update, a new tool, or a change in access. Start this week with the server that has the broadest permissions.

Share

Tags

- Security ChecklistAI Agent SecurityMCP SecurityModel Context ProtocolPrompt Injection
Himanshu

Article by

Himanshu

Head of Growth & Engineering

Himanshu is Head of Growth & Engineering at Delta4 Infotech, writing about AI agents, MCP, and no-code automation from a go-to-market view. He covers how teams evaluate, adopt, and get real value from AI tools, translating what the tech does into what it means for a business.

Related posts

How to Build an AI Knowledge Base for Customer Support
AI

How to Build an AI Knowledge Base for Customer Support

Quick Answer Build your AI knowledge base around the questions customers ask most. Choose one approved source per topic and write each section so the answer, conditions, and exceptions stay together. Connect those sources to your AI agent, then test with real tickets to check that it uses the right source and hands off when [&hellip;] Share this: Share on X (Opens in new window) X Share on Facebook (Opens in new window) Facebook

RajniRajni·03 Dec 2026
Text-to-Video AI Tools and Prompt Tips in 2027
AI Tools

Text-to-Video AI Tools and Prompt Tips in 2027

Quick answer The best text-to-video AI model for your project depends on clip length, how closely it follows your references, the cost of retries, and the licence terms. Wan 3.0 ranks second on the Artificial Analysis text-to-video leaderboard as of 3 December 2026. Gemini Omni 1.2 Flash suits short clips you want to refine through [&hellip;] Share this: Share on X (Opens in new window) X Share on Facebook (Opens in new window) Facebook

HimanshuHimanshu·03 Dec 2026
Context Engineering for AI Agents: Memory, Tools, and Retrieval
AI

Context Engineering for AI Agents: Memory, Tools, and Retrieval

Short answer: Context engineering for AI agents means deciding what the model sees at each step. Memory brings back relevant facts from earlier interactions, tools let the agent act or look up live data, and retrieval brings in current information from sources such as policy documents. For a refund request, that might mean loading a [&hellip;] Share this: Share on X (Opens in new window) X Share on Facebook (Opens in new window) Facebook

RajniRajni·02 Dec 2026