# Excalidraw MCP

MCP server creating Excalidraw diagrams via Claude Desktop, Cursor, or other hosts with a live web app preview.

## Setup

From repo root, run
```
npm i
npm run build
```

Configure MCP server for the relevant host
```
{
    "mcpServers": {
        "excalidraw": {
            "command": "node",
            "args": [
                "<repo_root>\\build\\index.js"
            ]
        }
    }
}
```

## Example

![Alt text](assets/oauth2-prompt.png)

![Alt text](assets/oauth2-app.png)

![Alt text](assets/oauth2-example.png)
