Back to directory
h0rv/d2-mcp

h0rv/d2-mcp

@h0rv

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

d2diagrammcpchartvisualizationgraphtooldeclarative

Installation & Configuration

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

Information

Transport
stdiossestreamable-http
Language
Go
Created
2026/6/14
Updated
2026/6/15