1. Conduid
  2. Browser
  3. io.github.diagrammo/dgmo-mcp
MCP server · Browser

io.github.diagrammo/dgmo-mcp

Render 29 diagram and chart types to SVG/PNG with browser preview and HTML reports.

Unclaimed browser
37Low

Scored 6 months ago · breakdown

About io.github.diagrammo/dgmo-mcp

io.github.diagrammo/dgmo-mcp is an MCP server in the Browser category: render 29 diagram and chart types to SVG/PNG with browser preview and HTML reports.

Install

Claude Code
claude mcp add io-github-diagrammo-dgmo-mcp -- npx -y @diagrammo/dgmo-mcp
npx
npx -y @diagrammo/dgmo-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (9)

check_app_installedReport whether the desktop app is installed

Parameters not published.

generate_reportBuild a polished **multi-section HTML report** with ToC and optional source

Parameters not published.

get_examplesFetch worked examples for a chart type

Parameters not published.

get_language_referenceGet DGMO syntax documentation for accurate generation

Parameters not published.

list_chart_typesList all supported chart types, marking the beta ones

Parameters not published.

preview_diagramRender one or more diagrams and open an **HTML preview** in the browser

Parameters not published.

render_diagramRender DGMO markup to **SVG or PNG**

Parameters not published.

suggest_chart_typeSuggest the chart types that fit a description

Parameters not published.

validate_diagramCheck markup and report parse errors, without rendering

Parameters not published.

Ask AI

✦

Ask AI about io.github.diagrammo/dgmo-mcp

Powered by Claude · Grounded in docs

I know everything about io.github.diagrammo/dgmo-mcp. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

@diagrammo/dgmo-mcp

MCP server for rendering DGMO diagrams. Works with Claude Desktop, Claude Code, and any MCP-compatible AI tool.

Tools

Tool Description
render_diagram Render DGMO markup to SVG or PNG
share_diagram Generate a shareable diagrammo.app URL
open_in_app Open diagram in Diagrammo desktop app (falls back to browser if app not installed)
list_chart_types List all supported chart types
get_language_reference Get DGMO syntax documentation
preview_diagram Render one or more diagrams and open an HTML preview in the browser
generate_report Generate a polished HTML report with multiple diagrams, ToC, and optional source

preview_diagram

Renders one or more DGMO diagrams to SVG and opens a self-contained HTML page in the default browser. The page includes a light/dark theme toggle and responsive SVG layout.

Parameter Type Default Description
diagrams [{ title?, dgmo }] (required) One or more diagrams to preview
theme 'light' | 'dark' 'light' Color theme for rendered SVGs
palette string 'nord' Color palette
include_source boolean false Show DGMO source in collapsible blocks

A single diagram renders as a simple preview page. Multiple diagrams produce a report-style layout with a table of contents (when >3 sections). If some diagrams fail to render, successful ones are shown with error placeholders for the failures.

generate_report

Generates a polished multi-section HTML report and optionally opens it in the browser. Includes a title, optional subtitle, auto-generated table of contents, per-section descriptions, and a timestamp footer. Suitable for bundling project analysis into a shareable document.

Parameter Type Default Description
title string (required) Report title
subtitle string — Optional subtitle
sections [{ title, description?, dgmo }] (required) Report sections, each with a diagram
theme 'light' | 'dark' 'light' Color theme for rendered SVGs
palette string 'nord' Color palette
include_source boolean false Show DGMO source in collapsible blocks
open boolean true Open the report in the browser

Setup

Claude Code

Add to your project's .claude/settings.local.json:

{
  "mcpServers": {
    "dgmo": {
      "command": "npx",
      "args": ["-y", "@diagrammo/dgmo-mcp"]
    }
  }
}

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "dgmo": {
      "command": "npx",
      "args": ["-y", "@diagrammo/dgmo-mcp"]
    }
  }
}

Restart Claude Desktop after saving. The tools appear automatically.

Development

pnpm install
pnpm build
pnpm typecheck

To iterate against an unpublished @diagrammo/dgmo checked out in ../dgmo, override the npm-resolved dep with a workspace symlink after install:

pnpm install
pnpm link ../dgmo   # symlink node_modules/@diagrammo/dgmo → ../dgmo
pnpm --filter @diagrammo/dgmo build   # ensure dist/ is up to date

pnpm install will undo the link, so re-run pnpm link ../dgmo if deps change.

Releasing

Releases are tag-driven via .github/workflows/release.yml:

  1. Bump the version in all three files (must match exactly — workflow verifies):
    • package.json → version
    • manifest.json → version
    • server.json → version and packages[0].version
  2. Commit and tag:
    git commit -am "Release vX.Y.Z"
    git tag vX.Y.Z
    git push && git push --tags
    
  3. The workflow runs typecheck + build, publishes to npm with provenance, bundles the .mcpb, publishes to the MCP registry via GitHub OIDC, and attaches the .mcpb to a GitHub release.

Required secrets

  • NPM_TOKEN — npm granular access token scoped to @diagrammo/* write. Settings → Secrets and variables → Actions → New repository secret.

MCP registry auth uses GitHub OIDC automatically (no token needed) because the repo is in the diagrammo org and the server namespace is io.github.diagrammo/*.

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About io.github.diagrammo/dgmo-mcp

How do I install io.github.diagrammo/dgmo-mcp?

Run claude mcp add io-github-diagrammo-dgmo-mcp -- npx -y @diagrammo/dgmo-mcp, then add the server to your MCP client's configuration.

Is io.github.diagrammo/dgmo-mcp safe to use with an AI agent?

Its trust score is 37 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is io.github.diagrammo/dgmo-mcp still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.