D2

v1.0.0Developer Toolsstable

Enables AI assistants to compile, validate, and explore D2 diagrams using the official D2 WASM package. It provides tools for generating SVGs with custom layouts, themes, and icons directly from D2 source code.

d2mcpai-integration
Share:
0
Stars
0
Downloads
0
Weekly
0/5

What is D2?

D2 is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to enables ai assistants to compile, validate, and explore d2 diagrams using the official d2 wasm package. it provides tools for generating svgs with custom layouts, themes, and icons directly from d2 so...

Enables AI assistants to compile, validate, and explore D2 diagrams using the official D2 WASM package. It provides tools for generating SVGs with custom layouts, themes, and icons directly from D2 source code.

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Enables AI assistants to compile, validate, and explore D2 d

Use Cases

Diagram generation
Architecture visualization
ryanmccauley

Maintainer

LicenseMIT
Languagetypescript
Versionv1.0.0
UpdatedN/A
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx d2

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

Frequently Asked Questions about D2

What is D2?

D2 is a Model Context Protocol (MCP) server that enables ai assistants to compile, validate, and explore d2 diagrams using the official d2 wasm package. it provides tools for generating svgs with custom layouts, themes, and icons directly from d2 source code. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install D2?

Follow the installation instructions on the D2 GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with D2?

D2 works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is D2 free to use?

Yes, D2 is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "d2": { "command": "npx", "args": ["-y", "d2"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use D2?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides