MCP-Dandan is an integrated monitoring service that observes MCP (Model Context Protocol) communications and detects security threats in real time. It features a modern desktop UI built with Electron for easy monitoring and management. Currently, MCP-Dandan is listed in well-known MCP-related open-source collections and can be found in the following repositories: - Awesome MCP Servers – Security -
Add this skill
npx mdskills install 82ch/mcp-dandanComprehensive MCP security framework with multi-engine threat detection and real-time monitoring UI
1# MCP-Dandan - MCP Security Framework2<p align="center">3 <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="License"></a>4 <img src="https://img.shields.io/badge/python-3.8+-blue.svg" alt="Python">5 <img src="https://img.shields.io/badge/electron-35+-green.svg" alt="Electron">6</p>7<p align="center">8 <img width="124" height="124" alt="image" src="https://github.com/user-attachments/assets/679e148e-b328-4ebe-b301-d8c17f7e4e93" />910</p>11<p align="center">MCP-Dandan</p>12131415## Overview1617MCP-Dandan is an integrated monitoring service that observes MCP (Model Context Protocol) communications and detects security threats in real time. It features a modern desktop UI built with Electron for easy monitoring and management.1819Currently, MCP-Dandan is listed in **well-known MCP-related open-source collections** and can be found in the following repositories:20- [Awesome MCP Servers – Security](https://github.com/punkpeye/awesome-mcp-servers?tab=readme-ov-file#security)21- [Awesome MCP Security – Tools & Code](https://github.com/Puliczek/awesome-mcp-security?tab=readme-ov-file#%E2%80%8D-tools-and-code)22232425https://github.com/user-attachments/assets/928686ab-a5aa-4486-8d8e-d4a9592adc3e262728## Features2930- **Real-time MCP Traffic Monitoring**: Intercepts and analyzes MCP communications31- **Multi-Engine Threat Detection**:32 - Command Injection Detection33 - File System Exposure Detection34 - PII Leak Detection(custom rules supported)35 - Data Exfiltration Detection36 - Tools Poisoning Detection (LLM-based)37- **Desktop UI**: Electron-based application with interactive dashboard38- **Interactive Tutorial**: Built-in tutorial system for new users39- **Blocking Capabilities**: Real-time threat blocking with user control40- **Cross-Platform**: Supports Windows, macOS, and Linux4142## Quick Start43### Installation4445```bash46# Clone the repository47git clone https://github.com/82ch/MCP-Dandan.git48cd MCP-Dandan4950# Install all dependencies (Python + Node.js)51npm run install-all52```5354### Running the Application5556```bash57# Start both server and desktop UI58npm run dev59```6061The server will start on `http://127.0.0.1:8282` and the Electron desktop app will launch automatically.6263## Project Structure64<img width="4726" height="4052" alt="image" src="https://github.com/user-attachments/assets/b37e688a-71a2-499b-b6be-45b3bd6ac6d4" />6566676869## Detection Engines7071### 1. Command Injection Engine72Identifies potential command injection patterns in tool calls.7374### 2. File System Exposure Engine75Monitors unauthorized file system access attempts.7677### 3. PII Leak Engine (custom rules supported)78Detects potential PII leakage with built-in rules and optional user-defined customization.7980### 4. Data Exfiltration Engine81Identifies suspicious data transfer patterns.8283### 5. Tools Poisoning Engine (LLM-based)84Uses semantic analysis to detect misuse of MCP tools:85- Compares tool specifications vs actual usage86- Scores alignment (0-100) with detailed breakdown87- Auto-categorizes severity: none/low/medium/high8889### Engine Setting90<p align="center">91</p>9293https://github.com/user-attachments/assets/3d6f2304-0a6b-492e-9f2d-bba76df98b4c949596<p align="center">97Input your <b>MISTRAL_API_KEY</b> to enable the Tools Poisoning Engine, and configure detection settings as needed.98</p>99100101## Desktop UI Features102103- **Real-time Dashboard**: Monitor MCP traffic and threats in real time104- **Interactive Tutorial**: Learn how to use the system with step-by-step guides105- **Blocking Interface**: Review and control threat blocking actions106- **Settings Panel**: Configure detection engines and system behavior107- **Chat Panel**: Interact with the system and view logs108109https://github.com/user-attachments/assets/19bcbdfb-c893-468d-a8a6-1c7b70a1c7b7110111> ## Full Documentation112> For detailed explanations and technical documentation, please refer to the113> **[MCP-Dandan Wiki](https://github.com/82ch/MCP-Dandan/wiki)**.114>115> **Have questions or suggestions?**116> Please visit the **[Discussions](https://github.com/82ch/MCP-Dandan/discussions)** tab.117118119120
Full transparency — inspect the skill content before installing.