Book an Appointment

MCP Security: Securing the Model Context Protocol

The Model Context Protocol connects AI applications with tools, data, and systems – creating a new attack surface in the process. We put the current guidance from the NSA, OWASP, and Wiz into context and show how you can secure MCP servers and clients.

Last updated: July 2026 · Valeri Milke, ISO 27001 & ISO 42001 Lead Auditor

2024MCP released by Anthropic as an open standard (November)
2sets of robust hardening guidance in 2026 – NSA (May) and OWASP GenAI Security Project (February)
3real-world incidents cited – GitHub repos, WhatsApp messages, MCP Inspector (CVE-2025-49596)
2.1OAuth version the OWASP guide requires for all remote MCP servers

The Model Context Protocol (MCP), released by Anthropic as an open standard in November 2024, has become the de facto standard for connecting AI applications to external tools and data sources. Its rapid adoption, however, has outpaced the development of its security model: authorization is optional in the protocol, and token lifecycle and message integrity are left to implementers. MCP servers frequently operate with delegated user permissions and chain multiple tool calls – amplifying the impact of a single vulnerability. With the NSA guidance from May 2026 and the OWASP GenAI Security Project guide from February 2026, robust hardening requirements are now available. This page summarizes the most important MCP-specific threats and countermeasures.

From open standard to robust guidance

The key milestones — tap a milestone for details.

The Essentials at a Glance

Six topic blocks — tap to expand.

Four fields of action for securing MCP

From server-side hardening to governance — pick a tab for measures and key terms.

OWASP guide
  • OAuth 2.1/OIDC for all remote MCP servers, short-lived and tightly scoped tokens, and schema validation of all inputs and outputs.
  • Strictly isolate users and sessions; run tools in hardened sandboxes (containers, seccomp/AppArmor) with minimal privileges and a segmented network.
  • Secrets are kept in vaults and must never be accessible to the LLM at any time.
OAuth 2.1/OIDCShort-lived tokensSchema validationseccomp/AppArmorVaults

MCP security topics in detail

Five dedicated knowledge pages go deeper into the individual aspects of MCP security — from the fundamentals through the OWASP MCP Top 10 to the threat landscape.

MCP Fundamentals

The Model Context Protocol (MCP) is an open standard that connects AI models to Tools, data sources, and APIs through a single, unified interface. This overview explains its structure, building blocks, and communication paths — and identifies where security questions arise along the way.

Open page

MCP & OAuth 2.1

Since the June 2025 specification revision, a protected MCP server is an OAuth 2.1 resource server with clearly separated roles. This deep dive explains the discovery chain, client registration, token rules and audience binding – and shows where implementations fail in practice.

Open page

MCP Pentesting

We test MCP deployments in a structured way along the OWASP MCP Top 10 – from enumeration through test execution to defensible evidence. The list is available as version v0.1 (Beta) and serves as a structuring framework, not as a testing standard with a conformity statement.

Open page

OWASP MCP Top 10

The Model Context Protocol has become the integration layer between language models and enterprise systems — and thus a new, often unexamined trust boundary. The OWASP MCP Top 10 name the ten risks of this layer.

Open page

Best Practices

The Security Best Practices of the official MCP specification are not a menu of options but concrete requirements. We translate them into a verifiable security architecture for your MCP-Servers and -Clients.

Open page

Secure Server Development

MCP-Servers connect AI assistants to tools and data sources and thereby become an attack target themselves. We support architecture, Tool design, authentication, and deployment along established security guidelines.

Open page

Threat landscape

The Model Context Protocol connects AI agents to arbitrary tools and data sources at runtime — and thereby turns every reachable MCP-Server into a trust boundary of its own. This page contextualizes the documented attack paths and substantiated incidents and shows what detection, gateway control, and operations must watch for.

Open page

Standards & Sources

The content on this page is based on the following publicly available guides and studies.

National Security Agency (NSA) · 2026

Model Context Protocol (MCP): Security Design Considerations for AI-Driven Automation, Ver. 1.0

Cybersecurity Information Sheet on design and implementation weaknesses of MCP, documented real-world incidents, and recommendations on Sandboxing, logging, vulnerability tracking, and network scans.

OWASP GenAI Security Project · 2026

A Practical Guide for Secure MCP Server Development, Version 1.0

Best practices for secure MCP servers – from architecture and tool design through OAuth 2.1/OIDC and Prompt Injection controls to deployment, governance, and the “MCP Security Minimum Bar” review checklist.

Wiz Research · 2025

Inside MCP Security: A Research Guide on Emerging Risks

Research guide on the risks of local and remote MCP servers, trust signals in registries (typosquatting, Rug Pulls), and client risks, including recommendations for secure use today and tomorrow.

Model Context Protocol Project · 2025

MCP Security Best Practices (Specification, Rev. 2025-11-25)

Official best-practices section of the MCP specification, cited in the NSA guidance on topics including Token passthrough and lifecycle handling.

Embedding MCP security in your organization

VamiSec supports you with consulting, security assessments, and pentests for MCP and AI agent environments. In our MCP security webinar, we take a deeper look at attack vectors and protective measures – get in touch.