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".

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.

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.

  • An MCP server for deep research or task groups

  • Scans MCP servers for tool poisoning, prompt injection and supply chain risks.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/truststrikelabs/BrokenMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server