Loading connector details…
Loading connector details…
Choose a unique username to continue using AgentHotspot
by h0rv • Uncategorized
An MCP server for compiling, validating, and rendering D2 diagrams in multiple formats.
Validate D2 diagram syntax and catch errors before rendering.
Render D2 diagrams into PNG, SVG, or ASCII formats for visualization or documentation.
Quick access to a D2 cheat sheet with shapes, styling, and transport usage examples.
d2-mcp is a Model Context Protocol server designed to integrate with D2, a declarative diagramming language. It enables users to validate D2 syntax, render diagrams in PNG, SVG, or ASCII formats, and fetch a Markdown cheat sheet for reference. This tool facilitates seamless diagram creation and validation within development workflows, supporting various transports and deployment options including binaries, Docker containers, and HTTP streaming.