D2 MCP Server

io.github.RecursiveFunctionsv0.5.0Updated Sep 27, 2026

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

Installation

In SourceWeft

  1. Open D2 MCP Server in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

Tools

0
Tool metadata has not been indexed yet.

Version history

1
  1. v0.5.0LatestSep 27, 2026