D2 MCP Server
本地Create, edit, validate, render, and export D2 diagrams with confined workspace access.
安装配置
{
"mcpServers": {
"d2-mcp-server": {
"command": "npx",
"args": [
"ghcr.io/recursivefunctions/d2mcp:0.5.0"
]
}
}
}