NestDaddy

D2 MCP Server

io.github.RecursiveFunctions/d2mcp · v0.5.0

Create, edit, validate, render, and export D2 diagrams with confined workspace access.

Connect Runs on your machine

Terminal
claude mcp add d2mcp -- docker run -i --rm ghcr.io/recursivefunctions/d2mcp:0.5.0
claude_desktop_config.json
{
  "mcpServers": {
    "d2mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/recursivefunctions/d2mcp:0.5.0"
      ]
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "d2mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/recursivefunctions/d2mcp:0.5.0"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "d2mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/recursivefunctions/d2mcp:0.5.0"
      ]
    }
  }
}

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Details

Packageghcr.io/recursivefunctions/d2mcp:0.5.0 (OCI, stdio)
First published27 Sep 2026
Last updated27 Sep 2026
Registry nameio.github.RecursiveFunctions/d2mcp

More other servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.