Skip to main content
Glama
diagram-studio-mcp

diagram-studio-mcp

by 0PValencia

@0pvalencia/diagram-studio-mcp

MCP para renderizar diagramas (Mermaid, Graphviz, PlantUML, D2) vía Kroki.

Cursor / Claude / VS Code

Local (recomendado si clonas el repo)

{
  "mcpServers": {
    "diagram-studio": {
      "command": "node",
      "args": ["/ABSOLUTE/PATH/TO/diagram-studio-mcp/dist/cli.js"]
    }
  }
}

Tras clonar: npm install && npm run build.

npx (sin clonar)

{
  "mcpServers": {
    "diagram-studio": {
      "command": "npx",
      "args": ["-y", "@0pvalencia/diagram-studio-mcp"]
    }
  }
}

Si abres este repo en Cursor y usas npx, hace falta npm install && npm run build para que el bin local exista. Sin eso, npx falla con diagram-studio-mcp: not found y el MCP se queda cargando.

Related MCP server: dgmo-mcp

Install / run

npx -y @0pvalencia/diagram-studio-mcp

Local

npm install
npm run build
npm start

Tools

  • render_diagram — source + engine → PNG/SVG

  • list_engines

Opcional: KROKI_URL (default https://kroki.io).

Opcional: KROKI_URL (default https://kroki.io).

License

MIT

Available Tools

2 tools
list_enginesListar enginesB

Engines soportados y URL de Kroki.

Inputs: no named parameters.

render_diagramRenderizar diagramaA

Renderiza source con Kroki. Engines: mermaid, graphviz (DOT), plantuml, d2, erd. Devuelve path del archivo y base64 (recortado en text si es grande).

Inputs: source (required), engine, format, outputPath.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools have entirely distinct roles: rendering diagrams versus listing supported engines. No overlap in purpose.

    Naming Consistency5/5

    Both tools follow a clear verb_noun pattern (render_diagram, list_engines), making the API predictable.

    Tool Count3/5

    With only two tools, the server feels minimal but appropriate for a narrow scope; however, it borders on thin for a typical server.

    Completeness4/5

    The core rendering capability is present alongside engine information, but additional conveniences like validation or format conversion are absent.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      MCP server for rendering 35+ diagram types — sequence, flowchart, ER, C4, gantt, mindmap, infra, and more — to SVG/PNG with browser preview. Local rendering with palette/theme support and shareable diagrammo.app URLs.
      14
      573 npm
      3
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      MCP server that generates Mermaid diagrams with live browser preview, supports real-time rendering and SVG/PNG export.
      13
      -