BrokenMCP

BrokenMCP

A deliberately vulnerable MCP server for educational purposes, with labs covering the OWASP MCP Top 10 risks to practice finding and fixing vulnerabilities.

Category
访问服务器

README

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.

Labs

# OWASP MCP Top 10 Walkthrough
MCP Hacking - Basics https://blog.truststrikelabs.com/posts/mcp-hacking-basics
1 MCP01 - Token Mismanagement & Secret Exposure https://blog.truststrikelabs.com/posts/mcp01-token-mismanagement
2 MCP02 - Privilege Escalation via Scope Creep https://blog.truststrikelabs.com/posts/mcp02-privilege-escalation
3 MCP03 - Tool Poisoning https://blog.truststrikelabs.com/posts/mcp03-tool-poisoning
4 MCP04 - Software Supply Chain Attacks & Dependency Tampering https://blog.truststrikelabs.com/posts/mcp04-supply-chain
5 MCP05 - Command Injection & Execution https://blog.truststrikelabs.com/posts/mcp05-command-injection
6 MCP06 - Intent Flow Subversion https://blog.truststrikelabs.com/posts/mcp06-intent-flow-subversion
7 MCP07 - Insufficient Authentication & Authorization https://blog.truststrikelabs.com/posts/mcp07-insufficient-auth
8 MCP08 - Lack of Audit and Telemetry https://blog.truststrikelabs.com/posts/mcp08-audit-telemetry
9 MCP09 - Shadow MCP Servers https://blog.truststrikelabs.com/posts/mcp09-shadow-servers
10 MCP10 - Context Injection & Over-Sharing https://blog.truststrikelabs.com/posts/mcp10-context-oversharing

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.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选