D2 for Cline
io.github.d2lang/d2
Look up D2 syntax, render diagrams locally, and review animations with storyboards and motion lint.
client:Cline
transport:stdio
runtime:pypi
Install D2 in Cline
~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json · windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
{
"mcpServers": {
"d2": {
"command": "uvx",
"args": [
"d2lang"
]
}
}
}
Cline's MCP Servers pane edits this file for you if you would rather not find it. Cline docs