Skip to content
Grok

diagramsmith for Grok

io.github.zune2004/diagramsmith

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

client:Grok transport:stdio runtime:npm

Install diagramsmith in Grok

.mcp.json (in your project root)

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>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

diagramsmith in other clients