Skip to content

Azure-Samples/sherpa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

256 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

🏔️ The MCP Security Summit Workshop

A Sherpa's Guide to Securing Model Context Protocol Servers in Azure

🚀 Start the Workshop →

MCP Security Workshop

Overview

This workshop takes you on an expedition from Base Camp to the Summit, where you'll learn to secure Model Context Protocol (MCP) servers in Azure. Like any great mountain expedition, we'll face challenges, but with proper preparation and the right tools, we'll reach the peak together.

MCP is an open protocol that lets AI applications connect to external tools and data sources. It's becoming the standard way to extend AI capabilities—and that means security is critical. This workshop teaches you practical, hands-on security techniques you can apply immediately.

Aligned with: MCP Specification 2025-11-25 | OWASP MCP Top 10 2025

The Journey

Our expedition follows a proven path where each camp builds on the last, creating defense-in-depth security.

Expedition Route

Camp Theme Focus
Base Camp Understanding the Mountain MCP fundamentals, basic authentication
Camp 1 Establishing Your Identity OAuth, Managed Identity, Key Vault
Camp 2 Scaling the Gateway Ridge API/MCP Gateway, Private Endpoints, API Center
Camp 3 Navigating I/O Pass Content Safety, Input Validation, PII Detection
Camp 4 Observation Peak Logging, Monitoring, Threat Detection
Summit Full Integration Red Team / Blue Team, Defense Validation

Reference Guide

Comprehensive security guidance is available at:
microsoft.github.io/mcp-azure-security-guide

Throughout the workshop, we reference specific sections for deeper dives on each OWASP MCP Top 10 2025 risk.

Prerequisites

  • Azure subscription with Contributor access
  • VS Code with GitHub Copilot or MCP extension
  • Azure CLI installed and authenticated
  • Python 3.10+ installed
  • Node.js 22+ installed
  • Basic familiarity with Azure Portal
  • No prior MCP or security expertise required

Getting Started

  1. Clone the repository:

    git clone https://github.com/Azure-Samples/sherpa.git
    cd sherpa
  2. Start at Base Camp:

    cd camps/base-camp
  3. Follow the guide:
    Visit azure-samples.github.io/sherpa for step-by-step instructions following our proven "Deploy → Exploit → Fix → Validate" pattern.

Workshop Methodology

Each camp follows our proven pattern:

  1. Deploy Vulnerable System — Experience the risks firsthand
  2. Exploit Vulnerabilities — Use VS Code MCP client to demonstrate attacks
  3. Implement Security Fixes — Apply Azure security controls
  4. Validate — Re-attempt exploits to confirm protection
  5. Summary & Teaching Points — Connect to OWASP risks and guide references

OWASP MCP Top 10 2025 Coverage

Category names below follow the current OWASP MCP Top 10 2025 list. Links point to Azure-specific implementation guidance in the companion security guide.

Risk Name Camp
MCP01:2025 Token Mismanagement & Secret Exposure Base Camp, Camp 1, Camp 3
MCP02:2025 Privilege Escalation via Scope Creep Camp 1, Camp 2
MCP03:2025 Tool Poisoning Camp 2, Camp 3
MCP04:2025 Software Supply Chain Attacks & Dependency Tampering Camp 4
MCP05:2025 Command Injection & Execution Camp 3
MCP06:2025 Intent Flow Subversion Camp 2, Camp 3
MCP07:2025 Insufficient Authentication & Authorization Base Camp, Camp 1, Camp 2
MCP08:2025 Lack of Audit and Telemetry Camp 4
MCP09:2025 Shadow MCP Servers Camp 2
MCP10:2025 Context Injection & Over-Sharing Camp 3

Contributing

We welcome contributions! Please see CONTRIBUTING.md for guidelines on how to add new camps or improve existing content.

Resources


Let's begin the ascent! 🏔️

About

A guided lab for MCP security and best practices

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors