Renders diagrams from code using the Eraser API via a Python MCP server and CLI tool.
Eraser Diagram Renderer is a Python-based tool that serves as an MCP (Model Context Protocol) server and CLI, enabling users to generate diagrams from code using the Eraser API. It supports various diagram types, including sequence, flowchart, ER, and cloud architecture diagrams. The tool offers customizable themes, backgrounds, and scaling options, providing flexibility in output formats such as image URLs or base64-encoded file content. It also features icon validation, ensuring the proper rendering of diagrams by identifying undefined icons and issuing warnings.