hm_editor
by huimeicloud
Overview
Electronic Medical Record (EMR) Editor backend with AI integration for structured data management, document generation, and chart visualization.
Installation
node index.jsEnvironment Variables
- DEEPSEEK_API_KEY
- MODEL_NAME
- BASE_URL
- NODE_ENV
- PORT
Security Notes
CRITICAL: The server uses `wkhtmltopdf` and `puppeteer` (with `--no-sandbox` flag) for PDF generation, accepting HTML/URLs from user input. This is an extremely high risk for Remote Code Execution (RCE) and Server-Side Request Forgery (SSRF) if inputs are not perfectly sanitized. The HTML sanitization attempts in `preProcessWatermarkHtml` are unlikely to be robust enough against a determined attacker. Additionally, user-controlled arguments passed via WebSocket to client-side editor functions could lead to client-side vulnerabilities (e.g., XSS) if not properly validated on the client. Input parsing for chart generation could lead to resource exhaustion with large or malformed payloads.
Similar Servers
mcp-documentation-server
A local-first MCP server for document management, semantic search, and AI-powered document intelligence.
mineru-tianshu
An enterprise-grade AI data preprocessing platform that converts unstructured data (documents, images, audio, video, bioinformatics formats) into AI-ready structured Markdown and JSON formats.
pluggedin-app
A testing environment for MCP (Model Context Protocol) servers, enabling interaction via a chat interface powered by Large Language Models (LLMs) and LangChain ReAct framework.
pyomop
Facilitates OHDSI OMOP Common Data Model (CDM) database interactions, including schema management, data loading (FHIR, Eunomia), querying, and export, with optional LLM-based natural language interfaces.