Back to Home
82ch icon

MCP-Dandan

Verified Safe

by 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

Run Command
npm run dev

Environment 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

Stats

Interest Score80
Security Score8
Cost ClassMedium
Avg Tokens300
Stars53
Forks6
Last Update2025-12-14

Tags

MCPSecurityMonitoringThreat DetectionElectronPythonReal-timeAI/LLM