Back to directory
h0rv/d2-mcp

h0rv/d2-mcp

@h0rv19

A Model Context Protocol (MCP) server for working with D2: Declarative Diagramming, enabling seamless integration of diagram creation and validation into your development workflow.

D2diagrammingvalidationrenderinggotool

Installation & Configuration

{
  "mcpServers": {
    "d2": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "ghcr.io/h0rv/d2-mcp:main"
      ]
    }
  }
}

Information

Transport
stdiosse
Language
Go
Created
2025/4/11
Updated
2026/6/8