# d2mcp

> d2mcp — i2y-d2mcp. Use this tool when you need to generate and manipulate D2 diagrams, providing a Model Context Protocol (MCP) server for diagram creation and editing, accepting git inputs and producing visual diagram outputs. It solves problems related to diagram generation and version control, making it ideal for collaborative development and design projects. This tool is particularly useful in contexts where visual representation and tracking of system designs are crucial.

Canonical page: https://skillsregistry.net/skills/i2y-d2mcp  
JSON: https://api.skillsregistry.net/v1/skills/i2y-d2mcp

## Description

A Model Context Protocol (MCP) server that provides D2 diagram generation and manipulation capabilities.

## Trust

- **Trust score (0–1):** 0.91
- **Verification tier:** verified
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** container
- **Runtime environment:** vm
- **License:** MIT
- **Updated:** 2026-09-28

## Source

- **Source listing:** [GitHub](https://github.com/i2y/d2mcp)

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "i2y-d2mcp"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/i2y-d2mcp` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/i2y-d2mcp/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
