Skip to main content
Glama

BrokenMCP - Vulnerable MCP Server

BrokenMCP is a vulnerable implementation of the Model Context Protocol (MCP) for educational purposes.

BrokenMCP - deliberately vulnerable MCP servers, one lab per OWASP MCP Top 10 risk

Quick Start

git clone https://github.com/truststrikelabs/BrokenMCP.git
cd BrokenMCP
pip3 install -r requirements.txt --break-system-packages

Two ways to run a lab.

1. Using the GUI (preferred)

python3 gui/run.py

Open http://127.0.0.1:8410 and pick the OWASP MCP lab you want, then click "Start lab".

BrokenMCP GUI with the OWASP MCP lab picker

2. Using the CLI

# start the OWASP mcp01 lab
python3 mcp01-token-mismanagement/run.py --reset

# start the OWASP mcp02 lab
python3 mcp02-privilege-escalation/run.py --reset

Each lab lives in its own mcpNN-... folder, so change only the path to the lab you want.

Related MCP server: MCP Goat

Labs

Disclaimer

BrokenMCP is deliberately insecure. It exists so you can practice finding and fixing MCP vulnerabilities in a safe place. Never deploy it on a public network, and never reuse its code in production. Everything here is a lesson in what not to do.

Author

Built by TrustStrike Labs with love. Find our write-ups at blog.truststrikelabs.com.

Related MCP Connectors

Related MCP Servers