dexpi-sfiles-mcp-server
by puran-water
Overview
An MCP server enabling LLM-assisted generation, manipulation, validation, and visualization of engineering diagrams (BFD, PFD, P&ID) following DEXPI and SFILES standards.
Installation
docker-compose up --buildEnvironment Variables
- LOG_LEVEL
- MCP_PORT
- ELK_NODE_COMMAND
- ELK_WORKER_SCRIPT_PATH
- ELK_WORKER_TIMEOUT_SEC
- GRAPHICBUILDER_HOST
- GRAPHICBUILDER_PORT
- GRAPHICBUILDER_CONFIG
- PROTEUS_VIEWER_PORT
- MODEL_SIZE_THRESHOLD_KB
Security Notes
The server uses `eval()` in `src/tools/pfd_expansion_engine.py` for template condition evaluation, which is a critical vulnerability if template definitions or runtime parameters can be influenced by untrusted input, allowing arbitrary code execution. Extensive use of `subprocess.run()` calls in various modules (e.g., `project_persistence.py`, `elk.py`, `graphicbuilder-service.py`) poses a risk of command injection if arguments are not rigorously sanitized. The server exposes an MCP API, and visualization components run separate Node.js and Flask services, widening the attack surface. `sys.path.append` is used, which can be a module hijacking risk in untrusted environments.
Similar Servers
MaxKB
MaxKB (Max Knowledge Brain) is an enterprise-grade intelligent agent platform designed to lower the technical barrier and deployment costs of AI implementation, helping businesses quickly integrate mainstream large language models, build proprietary knowledge bases, and offer a progressive upgrade path from RAG to complex workflow automation and advanced agents for various application scenarios like smart customer service and office assistants.
npcpy
Core library of the NPC Toolkit that supercharges natural language processing pipelines and agent tooling. It's a flexible framework for building state-of-the-art applications and conducting novel research with LLMs. Supports multi-agent systems, fine-tuning, reinforcement learning, genetic algorithms, model ensembling, and NumPy-like operations for AI models (NPCArray). Includes a built-in Flask server for deploying agent teams via REST APIs, and multimodal generation (image, video, audio).
concierge
A framework for building and serving agentic workflows, enabling autonomous agents to interact with application services through structured stages and tasks.
responsible-vibe-mcp
Manages conversation state and guides LLM coding agents through structured software development workflows with long-term project memory and multi-agent collaboration.