diagram-studio-mcp
Allows rendering Mermaid diagrams as PNG or SVG images via Kroki.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@diagram-studio-mcp Create a Mermaid flowchart showing the order process"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@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 faltanpm install && npm run buildpara que el bin local exista. Sin eso,npxfalla condiagram-studio-mcp: not foundy el MCP se queda cargando.
Related MCP server: dgmo-mcp
Install / run
npx -y @0pvalencia/diagram-studio-mcpLocal
npm install
npm run build
npm startTools
render_diagram— source + engine → PNG/SVGlist_engines
Opcional: KROKI_URL (default https://kroki.io).
Opcional: KROKI_URL (default https://kroki.io).
License
MIT
Available Tools
2 toolslist_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
Scored across 2 tools
The two tools have entirely distinct roles: rendering diagrams versus listing supported engines. No overlap in purpose.
Both tools follow a clear verb_noun pattern (render_diagram, list_engines), making the API predictable.
With only two tools, the server feels minimal but appropriate for a narrow scope; however, it borders on thin for a typical server.
The core rendering capability is present alongside engine information, but additional conveniences like validation or format conversion are absent.
Maintenance
Related MCP Connectors
Render, verify, describe, and safely edit Mermaid diagrams through MCP.
Collaborative whiteboard MCP server — create objects, connectors, C4 diagrams, and manage boards
MCP server for progressive tool usage at any scale (see https://klavis.ai)
Focused MCP server for OpenAI image/audio generation (v2.0.0). Wraps endpoints via HAPI CLI.
Related MCP Servers
- AlicenseBqualityBmaintenanceA Model Context Protocol (MCP) server that converts Mermaid diagrams to PNG images.1289 npm234MIT
- AlicenseAqualityBmaintenanceMCP 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.14573 npm3MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for rendering Mermaid diagrams and generating source-code diagrams, with tools to render text/files and produce dependency/class diagrams.55 npmMIT
- FlicenseNot gradedqualityDmaintenanceMCP server that generates Mermaid diagrams with live browser preview, supports real-time rendering and SVG/PNG export.13-