Install dgmo into your AI tool in 30 seconds
Don't want to install anything? Point your model at
https://diagrammo.app/reference
— the canonical, single-URL DGMO grammar. The MCP setup below adds direct rendering, sharing, and validation tools on top.
1.Install
bash
brew install diagrammo/dgmo/dgmo && dgmo install claude-code Installs the /dgmo skill and configures the MCP server — no prompts. Restart Claude Code to activate.
1.Install
bash
brew install diagrammo/dgmo/dgmo && dgmo install claude-desktopConfigures the MCP server in Claude Desktop’s config automatically. Restart Claude Desktop to activate.
1.Install
bash
brew install diagrammo/dgmo/dgmo && dgmo install codex Installs the dgmo-diagramming skill at ~/.codex/skills/ and configures the MCP server. Restart Codex to activate.
1.Install
bash
brew install diagrammo/dgmo/dgmo && dgmo install cursor Wires the MCP server into ~/.cursor/mcp.json and drops a .cursorrules guide. Add --scope project for a single repo. Restart Cursor to activate.
2.Create a diagram
click to copy
What the MCP server gives your AI
The @diagrammo/dgmo-mcp
server registers ten tools with your AI client. The AI calls them
directly — you don't invoke them by name.
- suggest_chart_type
- — picks a chart type from a plain-English prompt
- render_diagram
- — renders DGMO to SVG or PNG
- share_diagram
- — generates a shareable diagrammo.app URL
- preview_diagram
- — opens an HTML preview in the browser
- open_in_app
- — opens in the Diagrammo desktop app (macOS)
- generate_report
- — bundles diagrams into an HTML report with a TOC
- validate_diagram
- — checks DGMO syntax without rendering
- list_chart_types
- — enumerates every supported type
- get_language_reference
- — returns syntax docs (optionally per type)
- get_examples
- — pulls real-world examples from the gallery
Fetching canonical DGMO grammar for an LLM? Point it at
https://diagrammo.app/reference.