AI assurance · MCP

How to Security Test MCP Servers in 2026

The Model Context Protocol connects AI agents to your tools and data. Here is how we test MCP servers and the clients that run them, based on the current specification and the vulnerabilities that have already shipped.

Research notes

Questions that turn guidance into a review.

Use these prompts to challenge assumptions, collect evidence, and make the article actionable for engineering and security teams.

Review questions
  1. Does every HTTP MCP server validate token audience and reject tokens issued for other resources?
  2. Are downstream APIs called with the server's own credentials, never the client's token?
  3. Is authorization enforced inside each tool, per user and tenant?
  4. Would the host notice a tool description changing after approval?
Evidence and signals
  • 401 responses pointing to Protected Resource Metadata
  • Replayed foreign-audience tokens rejected
  • Injection and SSRF results for tools that touch shells, files, or URLs
  • Agent behaviour when tool output contains instructions
Primary references

References support the review approach; they do not replace architecture-specific threat modeling or validation.

Start with a focused conversation

Shipping an MCP server or agent integration?

Share your targets, deadline, and any compliance driver. We reply with a proposed scope, test approach, and timeline. There is no obligation.