Create, edit, validate, render, and export D2 diagrams with confined workspace access.
Connect Runs on your machine
claude mcp add d2mcp -- docker run -i --rm ghcr.io/recursivefunctions/d2mcp:0.5.0
{
"mcpServers": {
"d2mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/recursivefunctions/d2mcp:0.5.0"
]
}
}
}
{
"mcpServers": {
"d2mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/recursivefunctions/d2mcp:0.5.0"
]
}
}
}
{
"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
| Package | ghcr.io/recursivefunctions/d2mcp:0.5.0 (OCI, stdio) |
| First published | 27 Sep 2026 |
| Last updated | 27 Sep 2026 |
| Registry name | io.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.
