MCP server
D2 MCP Server
io.github.RecursiveFunctions/d2mcp
Checked 25 Oct 2026, 21:10 UTC · Checked against OSV.dev for malware and vulnerabilities; never run by us
Create, edit, validate, render, and export D2 diagrams with confined workspace access.
Runs on your computer
At a glance
- Type
- MCP server
- Publisher
- Not verified
- Status
- Runs on your computer
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code
- Last checked
- 25 Oct 2026, 21:10 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. It then runs the package on your computer with your permissions. For other apps, copy the setup below.
Claude Code
claude mcp add d2mcp -- docker run -i --rm ghcr.io/recursivefunctions/d2mcp:0.5.0
Claude Desktop
{"mcpServers":{"d2mcp":{"command":"docker","args":["run","-i","--rm","ghcr.io/recursivefunctions/d2mcp:0.5.0"]}}}
Codex (config.toml)
[mcp_servers.d2mcp] command = "docker" args = ["run","-i","--rm","ghcr.io/recursivefunctions/d2mcp:0.5.0"]
Gemini CLI
{"mcpServers":{"d2mcp":{"command":"docker","args":["run","-i","--rm","ghcr.io/recursivefunctions/d2mcp:0.5.0"]}}}
Cursor
{"mcpServers":{"d2mcp":{"command":"docker","args":["run","-i","--rm","ghcr.io/recursivefunctions/d2mcp:0.5.0"]}}}
VS Code
{"servers":{"d2mcp":{"type":"stdio","command":"docker","args":["run","-i","--rm","ghcr.io/recursivefunctions/d2mcp:0.5.0"]}}}
Runs on your computer with your permissions: check the package and its source before installing.
Browse
Related MCP servers
- Zindex
Immutable agent diagrams: create, edit, validate and render versioned diagrams over MCP. - Trident
Create and edit collaborative architecture diagrams with any AI assistant using the Trident 2D DSL. - Line9
Render Mermaid with Line9 layout in your assistant. - Clipkit
MCP server for Clipkit — gives AI agents a video toolbox via the Clipkit schema. - BlockWerk
Build, run and analyse block-diagram simulations: PID, Bode, FFT, optimisation and code export. - BlitzReels Video Editor
Create, edit, reframe, caption, organize, generate, and export short-form videos with BlitzReels. - Xenition
Docs, decks, forms, apps you build and deploy, automations, and AI images, video and voice. - VoxelDraft – AI Voxel Modeling
Create, edit, render, save, and export voxel models with interactive 3D previews.
Badge for your README
[](https://aptlynx.net/servers/io.github.RecursiveFunctions/d2mcp)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents