MCP Kroki Server
@tkoba1974
About MCP Kroki Server
MCP server to convert a diagram to picture using kroki.io
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-kroki": {
"command": "npx",
"args": [
"-y",
"@tkoba1974/mcp-kroki"
]
}
}
}Tools
2Generate a URL for a diagram using Kroki.io. This tool takes Mermaid diagram code or other supported diagram formats and returns a URL to the rendered diagram. The URL can be used to display the diagram in web browsers or embedded in documents.
Download a diagram image to a local file. This tool converts diagram code (such as Mermaid) into an image file and saves it to the specified location. Useful for generating diagrams for presentations, documentation, or other offline use. Includes an option to scale SVG output.
Overview
What is MCP Kroki Server?
MCP Kroki Server is an MCP server that converts diagram markup (e.g., Mermaid, PlantUML) into SVG, PNG, PDF, or JPEG images using the Kroki.io API. It is designed for developers using MCP-compatible clients like Claude Desktop who need to generate and download diagrams programmatically.
How to use MCP Kroki Server?
Install via git clone and npm, or run with npx. Add the server to your MCP client configuration (e.g., Claude Desktop) and then call the generate_diagram_url or download_diagram tools with the diagram type and content. The server sends the diagram to Kroki.io for rendering.
Key features of MCP Kroki Server
- Generate diagram URLs for embedding or sharing
- Download diagrams as SVG, PNG, PDF, or JPEG files
- Support for Mermaid, PlantUML, Graphviz, and more
- Optional scale parameter for adjusting diagram size
Use cases of MCP Kroki Server
- Render Mermaid diagrams directly in Claude Desktop conversations
- Download diagrams for inclusion in documentation or reports
- Integrate diagram generation into automated workflows or CI pipelines
- Use multiple diagram formats from a single server tool
FAQ from MCP Kroki Server
What diagram types are supported?
Mermaid, PlantUML, Graphviz, and many other formats supported by Kroki.io.
What output formats are available?
SVG, PNG, PDF, JPEG. For URL generation, base64 is also an option.
How does the scale parameter work?
The scale parameter (default 1.0, minimum 0.1
Frequently asked questions
What diagram types are supported?
Mermaid, PlantUML, Graphviz, and many other formats supported by Kroki.io.
What output formats are available?
SVG, PNG, PDF, JPEG. For URL generation, base64 is also an option.
How does the scale parameter work?
The scale parameter (default 1.0, minimum 0.1
Basic information
More Other MCP servers
Codelf
unbugA search tool helps dev to solve the naming things problem.
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.

EverArt
modelcontextprotocolModel Context Protocol Servers
Comments