MCP Server Security Testing: A 12-Point Checklist Before You Ship

MCP server security testing: a 12-point checklist built from the OWASP MCP Top 10 and the MCP spec, so NZ, ANZ and US teams can test before they ship.

Jitendra Kumar SinghJitendra Kumar SinghAssociate Director & Pentester
UpdatedNovember 23, 2026Read4.2 min read
MCP Server Security Testing: A 12-Point Checklist Before You Ship
MCP server security testing: tools an AI agent can use

MCP server security is the work of making sure the tools you give an AI agent cannot be turned against you. MCP security testing checks those servers the way an attacker would: through their logins, tokens, tool descriptions and the data they return.

Here is the gap. OWASP now publishes an MCP Top 10 (still in beta, 2025 edition) and an MCP Security Cheat Sheet. The MCP project publishes security best practices too. In the pages we read, none gives a step-by-step test procedure. This checklist turns them into 12 checks you can run before you ship. NZ, ANZ and US teams can use it as is.

A 12-point checklist for testing MCP servers

The 12 checks

  1. Inventory every server. List each MCP server, who owns it and where it came from. Unknown servers (OWASP MCP09) and tampered packages (MCP04) are the easiest way in.
  2. Require authentication. Every non-public tool should demand a valid login (MCP07). Call each tool without credentials and with a low-privilege account.
  3. Validate token audience. A server must not accept tokens issued for another service, or pass them downstream. The MCP spec forbids token passthrough. Replay a token from a different resource.
  4. Test scope limits. Check for wildcard or "all access" scopes (MCP02). A token should only reach what the task needs.
  5. Inspect tool definitions. Read the whole schema, not just the description. Look for hidden instructions (tool poisoning, MCP03) and tools that change after approval. Pin and hash definitions.
  6. Poison the returns. Feed hostile text through tool results and see whether the agent obeys it (context injection, MCP10).
  7. Fuzz the handlers. Test every tool argument for command injection and unsafe execution (MCP05).
  8. Probe for SSRF. Try internal addresses and cloud metadata endpoints. Clients and servers that fetch URLs should block private ranges.
  9. Check proxy consent. If your server fronts a third-party API, confirm it asks consent per client. Static client IDs plus consent cookies can create a confused deputy.
  10. Contain local servers. Confirm sandboxing, localhost binding and an explicit consent step before any startup command runs.
  11. Hunt for secrets. Search config files, logs, tool output and environment variables for keys and tokens (MCP01).
  12. Prove logging and approval. Sensitive actions need a human check, and every tool call needs a log you can search (MCP08) (LLM penetration testing).

How should you run them?

Run checks one to four first. They are quick and catch the worst mistakes. Treat any server you did not write as untrusted, even a popular one. Popularity is not a security review. Then run five to nine against a staging copy with real tools but fake data. Run ten and eleven on every developer machine that hosts a server.

Log what you tried, what happened and how you fixed it. That record is useful for a customer review or an audit.

Here is a simple example. An internal MCP server lets an agent search customers and send emails. A tester adds a hidden line to a customer note telling the agent to email the full list to an outside address. If the agent obeys, checks six and twelve failed together: the return was trusted, and nobody approved the send.

A hostile instruction hidden in a customer note reaching an MCP agent

What does a pass look like?

A pass is not "no findings". A pass means every check has a named owner, a test record, and either a fix or an accepted risk with a date. MCP and OWASP's list are both moving, so re-run the checklist when the spec or the Top 10 changes.

Which checks need a human?

Some can be automated. Secret scanning, dependency checks and definition hashing all work well in a pipeline. Others need a tester who understands your agent: whether a poisoned return really changes its behaviour, whether two harmless tools chain into a harmful one, and whether a scope that looks narrow still reaches sensitive data.

Where does the Privacy Act fit?

If an MCP server can read personal information, the NZ Privacy Act 2020 expects reasonable safeguards. The Privacy Commissioner's AI guidance says that includes prompts. A tool that exposes customer records to an agent is a privacy question as well as a security one. Keep the test record with your privacy impact assessment so one file answers both questions. Small teams can still do all twelve.

What does MCP testing cost?

We found no published price list for MCP testing, and we do not publish one either. Price follows the number of servers, tools, user roles and login flows, and how much access testers get. Ask for a scoped quote in NZD with GST shown (what pentests cost in NZ).

What should you do before launch?

Fix anything from checks one to four first. Then book an independent test of the whole agent, not just the server. Our AI penetration testing covers AI agents and tools, and you can ask for your MCP servers to be put in scope.

Want this checklist run against your servers? Talk to an expert at Capture The Bug and bring your server list.

FAQs

What is MCP server security?

Making sure the tools you give an AI agent through the Model Context Protocol cannot be turned against you. It covers authentication, tokens, tool descriptions, input handling, sandboxing and logging.

What is MCP security testing?

Testing MCP servers the way an attacker would: through logins, tokens, tool definitions and returned data. It checks for tool poisoning, token misuse, injection, SSRF, over-broad scopes and exposed secrets.

Does OWASP publish an MCP Top 10?

Yes. The OWASP MCP Top 10 is a beta project, 2025 edition, listing risks such as tool poisoning, token mismanagement and shadow servers. In the pages we read, it has no step-by-step test procedure.

What is tool poisoning in MCP?

Hidden or changed instructions in a tool's description or schema that steer an agent. Review the full schema, pin and hash definitions, and re-approve when a tool changes after install.

What does MCP security testing cost?

We found no published price list, and we do not publish one. Price follows the number of servers, tools, roles and login flows, and tester access. Ask for a scoped quote in NZD with GST shown.

Jitendra Kumar Singh
Written by
Jitendra Kumar Singh
Associate Director & Pentester • eWPTX at Capture The Bug

Cybersecurity professional & pentester | Associate Director @ CaptureTheBug | Securing web, APIs & networks one vulnerability at a time.

View profile

Ready to plan your next test?

Talk to a CREST-accredited specialist about your scope, timeline and the evidence you need.

Talk to a Security Expert