Back to Home
lukaszzychal icon

mcp-doc-generator

Verified Safe

by lukaszzychal

Overview

Generates technical documentation and various diagrams (architecture, UML, sequence, flowchart, Gantt, dependency, cloud) from code or natural language prompts, supporting Polish, and exports to PDF/DOCX. Includes optional AI image generation.

Installation

Run Command
npx github:lukaszzychal/mcp-doc-generator

Environment Variables

  • PLANTUML_SERVER
  • OPENAI_API_KEY

Security Notes

The server uses subprocess execution for Graphviz, Pandoc, and Mermaid CLI, but input content is generally written to temporary files and output paths are carefully constructed with absolute paths within a dedicated output volume, mitigating direct command injection risks. OpenAI and Mermaid.ink API calls are made via `aiohttp`, reducing direct shell interaction. Environment variables are used for API keys. Designed to run in Docker, providing isolation. The `_enhance_prompt_for_no_text` function handles user prompts before passing to DALL-E, but the parsing in `mcp_client.py` (client-side) could lead to unexpected arguments if not handled carefully, though server-side tools have input validation.

Similar Servers

Stats

Interest Score32
Security Score9
Cost ClassLow
Avg Tokens667
Stars1
Forks0
Last Update2025-12-03

Tags

documentationdiagramsarchitecturetechnical-writingAI