Skip to content
Cursor

diagramsmith for Cursor

io.github.zune2004/diagramsmith

Draw Mermaid, hand-drawn and interactive HTML diagrams locally. No account, no API key.

client:Cursor transport:stdio runtime:npm

Install diagramsmith in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "diagramsmith": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "diagramsmith"
      ],
      "env": {
        "DIAGRAMSMITH_OUT": "<DIAGRAMSMITH_OUT>",
        "CHROME_PATH": "<CHROME_PATH>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

diagramsmith in other clients