# Diagram

> Diagram is an MCP server. Saves the diagrams your AI draws and gives you a link to share. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Website:** https://diagram.la
- **MCP Registry name:** la.diagram/diagram
- **Listing updated:** 2026-11-13

## About

Saves the diagrams your AI draws and gives you a link to share. Edits update the same link.

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http diagram https://diagram.la/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://diagram.la/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "diagram": {
      "url": "https://diagram.la/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "diagram": {
      "type": "http",
      "url": "https://diagram.la/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "diagram": {
      "serverUrl": "https://diagram.la/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "diagram": {
      "type": "http",
      "url": "https://diagram.la/mcp"
    }
  }
}
```

## FAQ

### How do I add Diagram to Claude Code?

Run this command in your terminal: claude mcp add --transport http diagram https://diagram.la/mcp

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/diagram
