Dgmo MCP
Text-to-diagram MCP server that renders 40+ chart types locally to SVG or PNG
Dgmo MCP is a freemium MCP server for design and media. It runs locally on your machine and is started by your AI client.
- Pricing
- Freemium
- Platforms
- CLI, macOS, Linux
- Runs
- Locally
- Version
- 0.29.18
- Listing updated
Similar MCP servers
Install
Run in a terminal
claude mcp add dgmo-mcp -- npx -y @diagrammo/dgmo-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"dgmo-mcp": {
"command": "npx",
"args": [
"-y",
"@diagrammo/dgmo-mcp"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"dgmo-mcp": {
"command": "npx",
"args": [
"-y",
"@diagrammo/dgmo-mcp"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"dgmo-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@diagrammo/dgmo-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"dgmo-mcp": {
"command": "npx",
"args": [
"-y",
"@diagrammo/dgmo-mcp"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"dgmo-mcp": {
"command": "npx",
"args": [
"-y",
"@diagrammo/dgmo-mcp"
]
}
}
}Using several servers? Build one config file with the MCP config generator.
About Dgmo MCP
Diagrams are written in DGMO, a compact text markup that stays readable and diffable, so the assistant writes markup and the server turns it into an image. The README lists sequence diagrams, flowcharts, ER diagrams, C4 architecture and gantt charts among more than 40 chart types. Rendering happens on your machine, and the README says no diagram data leaves it.
Beyond rendering there are helper tools for checking markup, suggesting a chart type from a description, listing chart types, and pulling the language reference and worked examples so the model generates valid syntax. Sharing tools hand the result to Diagrammo's web editor or desktop app for refinement, and three space tools read and write diagrams in Diagrammo Cloud using a space API key set as DGMO_API_KEY in the environment.
It runs over stdio by default and can also be served as a streamable HTTP endpoint on 127.0.0.1:3333/mcp, in which case the four tools that open a browser or the desktop app are not offered.
Tools this server provides (14)
Taken from the project documentation; the running server may differ.
- render_diagram
- Render DGMO markup to SVG or PNG
- validate_diagram
- Check markup and report parse errors without rendering
- suggest_chart_type
- Suggest chart types that fit a description
- list_chart_types
- List supported chart types, marking beta ones
- get_language_reference
- Get DGMO syntax documentation
- get_examples
- Fetch worked examples for a chart type
- share_diagram
- Get a shareable diagrammo.app URL
- open_in_app
- Open the diagram in the Diagrammo desktop app
- check_app_installed
- Report whether the desktop app is installed
- preview_diagram
- Render diagrams and open an HTML preview in the browser
- generate_report
- Build a multi-section HTML report
- put_space_diagram
- Write a diagram into a Diagrammo Cloud space
- get_space_diagram
- Read a diagram from a Cloud space
- list_space_diagrams
- List every diagram in a Cloud space
What it does
- Local rendering
- Renders DGMO markup to SVG or PNG on your machine.
- Markup validation
- Reports parse errors without rendering.
- Chart type suggestions
- Recommends chart types that fit a description.
- Share and open in app
- Produces a diagrammo.app link or opens the diagram in the desktop app.
- HTML preview and reports
- Builds a browser preview or a multi-section HTML report with a table of contents.
- Cloud space storage
- Writes, reads and lists diagrams in a Diagrammo Cloud space.
- HTTP mode
- Can be served as a streamable HTTP endpoint instead of stdio.
Good for
- Turn a described auth flow into a sequence diagram
- Draw a service map as a C4 diagram in chat
- Chart a project plan as a gantt
- Assemble a multi-diagram HTML report
- Keep generated diagrams in a shared Cloud space
Pricing
Freemium
The MCP server is on npm; the README invites you to try Diagrammo free and Cloud spaces need an API key (plan prices not given)
Dgmo MCP FAQ
Does diagram data leave my machine?
The README says rendering is local; only the three space tools send diagrams to Diagrammo Cloud.
How do I authenticate the Cloud tools?
Set a space API key as DGMO_API_KEY in the server's environment, not as a tool argument.
How do I install Dgmo MCP?
Run npx -y @diagrammo/dgmo-mcp from your client config, or install the dgmo CLI and run dgmo install.
Can Dgmo MCP run over HTTP?
Yes, start it with --http; it listens on 127.0.0.1:3333/mcp by default.
Is Dgmo MCP free?
Dgmo MCP has a free plan, with paid plans for more usage or features.
How do I add Dgmo MCP to Claude Code?
Run this command in your terminal: claude mcp add dgmo-mcp -- npx -y @diagrammo/dgmo-mcp
What are the best alternatives to Dgmo MCP?
The closest alternatives to Dgmo MCP are REA, HyperFrames by HeyGen, Context7, Chrome DevTools MCP and Codebase Memory.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.


