MCP-Dandan
Verified Safeby 82ch
Overview
Integrated monitoring service for MCP (Model Context Protocol) communications that detects and blocks security threats in real time, featuring an Electron-based desktop UI for management.
Installation
npm run devEnvironment Variables
- MISTRAL_API_KEY
- MCP_PROXY_PORT
- MCP_PROXY_HOST
- MCP_DEBUG
- MCP_SCAN_MODE
- DB_PATH
- MCP_TARGET_URL
- MCP_OBSERVER_APP_NAME
- MCP_OBSERVER_SERVER_NAME
- API_ACCESS_TOKEN
- MCP_TARGET_HEADERS
Security Notes
The project is a security framework that requires deep system interaction, including modifying application configurations and spawning child processes, which are inherently complex operations. The codebase demonstrates awareness of these risks by implementing measures such as config backup/restore, explicit YARA rule syntax validation for custom rules, and using prepared statements for database operations (in the backend). The Electron frontend leverages a preload script to expose a controlled API, limiting direct Node.js access. IPC calls from the renderer to the main process are used to interact with the Python backend, which is responsible for sensitive operations. A notable aspect is the `ELECTRON_DISABLE_SECURITY_WARNINGS = 'true'` flag used during development, which is typically undesirable for a security product but common in development environments. `execSync` is used for process management and config modification, which requires careful control but appears to be used in a measured way (e.g., calling `config_finder.py` with specific flags to disable/restore proxies).
Similar Servers
mcp-watch
A comprehensive security scanner for Model Context Protocol (MCP) servers, detecting various vulnerabilities in their implementations.
mcp-shark
Aggregate multiple Model Context Protocol (MCP) servers into a single unified interface with a powerful monitoring UI, enabling real-time traffic capture, logging, and AI-powered security analysis.
toolhive-studio
Facilitates discovery, deployment, and management of Model Context Protocol (MCP) servers in isolated containers on a desktop environment, enabling secure integration with AI agents and clients.
mcp-gearbox
A cross-platform desktop application for managing Model Context Protocol (MCP) servers across various AI agents.