You are leaving our Website
Using an external Link:
You are now leaving our website. The following page is operated by a third party. We accept no responsibility for the content, data protection, or security of the linked page..
URL:
AI335: MCP Security - Securely develop and operate Model Context Protocol
Training: Artificial Intelligence
Participants will understand how MCP servers, clients, and AI agents interact, learn about typical attacks on MCP integrations, and secure MCP servers in terms of architecture, code, and operations. The course includes demos and hands-on exercises covering both offensive and defensive techniques.
Unfortunately there are currently no available appointments.
Would you like to request an appointment? Then click on 'No matching appointment?'
Agenda:
Fundamentals, architecture & threat modeling
Model Context Protocol overview: host, client, server, tools, resources, prompts, sampling and elicitation
Transports and their security properties: STDIO, Unix sockets and Streamable HTTP
Why MCP is different: delegated user permissions, dynamically loaded tools, chained tool calls and multiple servers in one context
Attack surface and typical risks of MCP integrations, real-world incidents as case studies
Threat modeling for an MCP integration: trust boundaries, data flows, attack surface
Identity, authentication & authorization
Unprotected remote servers and missing per-call authorization
MCP authorization with OAuth 2.1 / OIDC: resource Indicators, audience, issuer and expiration checks
Token Passthrough and Confused Deputy: why tokens must not be forwarded to upstream APIs
Secrets management: hard-coded keys, long-lived tokens, secrets in logs and in the model context
Overly broad permissions and gradually expanding scopes
Sessions as state, not identity: session binding, rotation and tenant isolation
Defense: short-lived, narrowly scoped tokens; token exchange / "on-behalf-of" patterns; secure secret storage; and centralized policy enforcement
Local MCP servers and transport security
Local servers with full user permissions: filesystem, network and credential access
Local HTTP servers: binding to 127.0.0.1, origin and Host header validation, DNS rebinding
TLS for remote servers, validation of all JSON-RPC messages, rate limits and quotas
Defense: sandboxing in containers or micro-VMs, minimal privilege, network allowlists
Manipulated tools & prompt injection
Tool poisoning: hidden instructions in tool descriptions, schemas and annotations
Rug pulls: modifications to tool definitions after their initial approval
Tool shadowing and cross-server attacks: one server influences another server's tools
Indirect prompt injection via tool results, documents, tickets and web content
Data exfiltration through shared or overly broad context between tasks, users and agents
Defense: pinning and hashing of tool definitions, signed manifests, strict JSON schemas, treating tool results as data, human-in-the-loop, LLM-as-a-Judge, “One Task, One Session”
Secure tool development
Command, SQL and code injection via model inputs
Path traversal and SSRF in MCP tools, including access to cloud metadata endpoints
Safe tool design: structured tool calls instead of free-text commands, minimal fields in the model context
Defense: input and output validation, parameterized APIs, size limits, secure error handling without stack traces and tokens
Supply chain, operations & governance
Malicious and typosquatted MCP packages, compromised dependencies
Shadow MCP servers: unauthorized servers, default credentials, exposed configurations
Audit logging and monitoring: what must and must not be logged
Defense: version pinning, dependency scanning, signed images, AIBOM, CI/CD security gates, hardened containers, network segmentation
Governance: approval process for new servers and tools, consent dialogs, MCP gateways, management of non-human identities
Tools: MCP Inspector, MCP Scanner, SAST, monitoring and SIEM integration
Hands-On exercise & conclusion
Hands-On Exercise: analyze an MCP integration, identify vulnerabilities and derive measures
Review of an MCP server based on a security checklist
Summary, best practices and discussion of open questions
Objectives:
After the training, you will be able to:
explain the architecture, transport mechanisms, and trust boundaries of an MCP integration and create a threat model for it
perform and classify typical attacks on MCP environments (tool poisoning, rug pulls, tool shadowing, prompt injection, the "confused deputy" problem, and command injection)
correctly implement and verify authentication and authorization for remote MCP servers using OAuth 2.1: audience, scopes, token lifetime, no token passthrough
securely develop and operate MCP servers: schema validation, sandboxing, least privilege, secret management, hardened containers
secure tools and servers using pinning, signatures, approval processes, and supply chain controls
make MCP activity visible using audit logs, monitoring, and and conduct structured reviews of MCP servers
Target audience:
The AI335 MCP Security - Securely develop and operate Model Context Protocol course is aimed at:
Developers and architects who build MCP servers or integrate MCP into applications and agents
Security engineers, penetration testers, and red teamers who are responsible for assessing MCP integrations
Platform, DevSecOps, and MLSecOps teams that operate MCP servers and secure them in pipelines
Application security and IT security managers who define policies for the use of MCP within the enterprise
Prerequisites:
To effectively follow the pace and course content of the training AI335 MCP Security - Securely develop and operate Model Context Protocol, you should meet the following prerequisites:
Proficiency in HTTP/REST APIs, JSON, and the command line
Basic knowledge of web or application security; basic knowledge of OAuth is helpful
Basic understanding of LLMs and AI agents; no ML background required
Description:
The Model Context Protocol (MCP) has become the standard through which AI assistants and agents access tools, data, and systems. MCP servers often operate with delegated user permissions, dynamically load tools, and chain calls across multiple servers. Each of these characteristics increases the attack surface: a single manipulated tool description, a forwarded token, or an unvalidated shell command is enough to exfiltrate data or take over systems. The training AI335 MCP Security - Securely develop and operate Model Context Protocol examines MCP security across the entire lifecycle - covering architecture and threat modeling, identity and authorization, secure tool development, protection against prompt injection, as well as deployment, supply chain, monitoring, and governance. The course is based on real-world incidents, such as command injection in MCP client libraries, malicious MCP packages, and prompt injection attacks on agents with overly broad permissions, as well as current recommendations from the community and research. Each topic combines theory and practice: through demonstrations and hands-on exercises, you will see how attacks like tool poisoning, "rug pulls," token passthrough, or command injection function, and learn exactly which measures prevent these specific vulnerabilities. You will then implement defensive measures in code, configuration, and architecture, and learn how to verify their effectiveness using tests and security scanners.
Guaranteed implementation:
from 2 Attendees
Booking information:
Duration:
2 Days
Price:
1.550,00 € plus VAT.
For in-person attendance, lunch and beverages are included in the price.
No appointment available
Authorized training partner
Memberships
Shopping cart
AI335: MCP Security - Securely develop and operate Model Context Protocol
was added to the shopping cart.