d2mcp

i2y/d2mcp
★ 28 stars Go 💻 Code/Dev Tools Updated 9d ago
A Model Context Protocol (MCP) server that provides D2 diagram generation and manipulation capabilities.
View on GitHub →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "d2mcp": {
      "command": "go",
      "args": [
        "run",
        "github.com/i2y/d2mcp@latest"
      ]
    }
  }
}

Topics

d2d2langdiagramsmcpmcp-server