Developer · Local MCP server
D2 MCP Server
Create, edit, validate, render, and export D2 diagrams with confined workspace access.
What the MCP Registry states
The entry as published to the official MCP Registry (read 2026-10-04), latest version.
- Registry name
io.github.RecursiveFunctions/d2mcp- Version
- 0.5.0
- Status
- Active
- Category
- developer
- Transport
- stdio (local process)
- Package
- OCI image (Docker)
- Published
- 2026-09-27
- Updated
- 2026-09-27
- Publisher
- RecursiveFunctions (GitHub)
- Repository
- github.com/recursivefunctions/d2mcp
- Source
- Registry API entry
Packages
| Registry | Package | Version | Transport |
|---|---|---|---|
| OCI image (Docker)runtime: docker | ghcr.io/recursivefunctions/d2mcp:0.5.0 | — | stdio |
How to connect D2 MCP Server
D2 MCP Server runs locally from a container image in an OCI registry such as Docker Hub or GitHub Container Registry: ghcr.io/recursivefunctions/d2mcp:0.5.0. It speaks MCP over stdio, so the client starts it as a program and talks to it through standard input and output. It needs Docker or another OCI container runtime; started with docker run — the usual command is docker run -i --rm ghcr.io/recursivefunctions/d2mcp:0.5.0. Required arguments: --mount.
In the mcpServers JSON format that many desktop and editor MCP clients read, the entry looks like this (placeholders in angle brackets):
{
"mcpServers": {
"d2mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/recursivefunctions/d2mcp:0.5.0"
]
}
}
}Derived from the registry entry, not tested here. What the server does, and on what terms, is set by its publisher; check its repository or website before giving it access to your accounts or files. How to add an MCP server to an assistant · Before you connect
More developer servers
| Server | Runs |
|---|---|
| Cypress Cloud MCPDirect access to Cypress tests results and accessibility reports in your AI workflow. | Remote · HTTP |
| cyprusgrosstonet.comCyprus Gross to Net: the site's own MCP server — calculator, enquiry (enquiry = a human handoff,... | Remote · HTTP |
| Cz Eli MCPMCP server for Czech legislation (e-Sbirka SPARQL) with ELI and verifiable citations. | Local · stdio |
| D'AUBE // BRIDGE²Universal AI skill compiler and MCP bridge. Write once, run across agents. | Local · stdio |
| D365FO MCP ServerA community-driven Microsoft Dynamics 365 Finance & Operations MCP server. | Local · stdio |
| Dabble Me JournalPrivate journal MCP server to search, analyze, and create Dabble Me entries securely via OAuth. | Remote · HTTP |
| Dados Abertos Senado BR MCPMCP server for Brazilian Federal Senate open data (legislative, administrative, e-Cidadania). | Remote & Local · HTTP, stdio |
| DaedalMap CIA World FactbookCIA World Factbook country indicators: infrastructure, energy, demographics, economy, 2002-2026. | Remote · HTTP |