Back to Home
eslaim icon

AI-Diagram-Prototype-Generator-MCP-Server-

Verified Safe

by eslaim

Overview

The MCP server generates various AI-powered diagrams (architecture, flowcharts, user journey/story maps, empathy maps, pyramid diagrams), infographics (Feynman learning method, posters), and UI/UX prototypes (general HTML, Apple Mobile, WeChat MiniApp) in DrawIO XML, HTML, SVG, or JSON formats based on user descriptions.

Installation

Run Command
uv --directory . run mcp_server.py

Environment Variables

  • PROVIDER
  • ZHIPUAI_API_KEY
  • ZHIPUAI_MODEL
  • ZHIPUAI_MODEL_MAX_TOKENS
  • OPENAI_API_KEY
  • OPENAI_BASE_URL
  • OPENAI_MODEL
  • OPENAI_MODEL_MAX_TOKENS
  • GEMINI_API_KEY
  • GEMINI_BASE_URL
  • GEMINI_MODEL
  • GEMINI_MODEL_MAX_TOKENS

Security Notes

API keys for AI providers are loaded from environment variables (.env file), which is a secure practice. The server includes functions (`svg_clear`, `xml_drawio_clear`, `json_clear`, `html_clear`) to sanitize AI-generated output, mitigating potential injection risks if output were rendered directly. No use of `eval` or obvious malicious patterns was found. The primary security consideration is the secure handling of AI API keys by the user.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassHigh
Avg Tokens5000
Stars0
Forks0
Last Update2026-01-19

Tags

AIDiagram GenerationPrototype GenerationDraw.ioHTMLSVGUX/UI DesignDocument GenerationProduct Design