D2 Diagramming

26

Integrates with Terrastruct's D2 diagramming language to generate technical diagrams, flowcharts, and architectural visualizations in SVG, PNG, and PDF formats through natural language requests.

Category MCP Servers
Added Mar 28, 2026
Views 55

About

This D2MCP server by Yasushi Itoh provides AI assistants with direct access to D2 diagram creation and rendering capabilities, integrating with Terrastruct's D2 declarative diagramming language to generate SVG, PNG, and PDF outputs. The implementation supports 20+ built-in themes, programmatic diagram creation with in-memory storage, and file-based operations for persistent diagram management, using external tools like rsvg-convert or ImageMagick for non-SVG format conversion. Built with clean architecture patterns and comprehensive error handling, it enables natural language diagram generation workflows where users can create technical diagrams, flowcharts, and architectural visualizations through conversational interfaces without directly writing D2 syntax.

Is this your product? Claim this listing with an email at your domain to post updates.

Is this your project?

Claim this listing to manage your page, access analytics, and unlock upgrades. Verification takes 60 seconds.

Log In to Claim

Share This Project

Embed Badge

Add this badge to your README:

[![Listed on AiList](https://hifriendbot.com/ai-list/badge/d2-diagramming.svg)](https://hifriendbot.com/ai-list/d2-diagramming/)
Listed on AiList

List Your Project

Join the directory Ai agents read. Free forever.

Submit Your Project