
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

An MCP server that lets AI assistants render Mermaid code as SVG or PNG, validate syntax, and suggest diagram improvements.
Sargoth Mermaid Renderer MCP Server is cataloged as an MCP server attributed to floor-licker. An MCP server that lets AI assistants render Mermaid code as SVG or PNG, validate syntax, and suggest diagram improvements. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Sargoth Mermaid Renderer MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It can render Mermaid code as SVG diagrams or as PNG images with scaling.
Yes, it connects by default to the Sargoth.xyz Mermaid API, or you can point it at a local or custom API endpoint.
README.md · 586eb4c866ca · Fetched 2026-11-13 12:33:21 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
AI-Powered Diagram Generation - From Natural Language to Professional Visuals
Seamlessly convert your ideas into stunning diagrams using AI. Simply describe your workflow, process, or system in plain English to your LLM assistant, and instantly get professional SVG/PNG diagrams rendered through our high-performance Mermaid engine.
The Perfect AI Workflow:
Model Context Protocol (MCP) is an open standard that enables AI assistants to securely connect to external data sources and tools. By creating an MCP server for our Mermaid renderer, we allow AI assistants to:
The MCP server exposes 4 powerful tools:
render_mermaid_svgGenerate SVG diagrams from Mermaid code with theme support.
Parameters:
code (required): Mermaid diagram codetheme (optional): Theme (modern, classic, dark, minimal)render_mermaid_pngGenerate PNG images from Mermaid code with scaling.
Parameters:
code (required): Mermaid diagram codetheme (optional): Theme (modern, classic, dark, minimal)scale (optional): PNG scale factor (1-4, default: 2)validate_mermaidValidate Mermaid syntax and analyze diagram complexity.
Parameters:
code (required): Mermaid diagram code to validatesuggest_mermaid_improvementsAnalyze Mermaid code and suggest improvements or fixes.
Parameters:
code (required): Mermaid diagram code to analyzediagram_type (optional): Expected diagram type for targeted suggestions# Install MCP server dependencies
pip install -r requirements.txt
chmod +x mcp_server.py
Using Production API (Recommended):
# Test with the live production API
python mcp_server.py
Using Local Development API:
# Start your local Mermaid API first
python ../app.py
# In another terminal, test the MCP server with local API
python mcp_server.py --api-url http://localhost:5000
Locate your Claude Desktop config file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonAdd the MCP server configuration:
For Production Use (Recommended):
{
"mcpServers": {
"mermaid-renderer": {
"command": "python",
"args": ["/absolute/path/to/mcp_server.py"]
}
}
}
For Local Development:
{
"mcpServers": {
"mermaid-renderer": {
"command": "python",
"args": ["/absolute/path/to/mcp_server.py", "--api-url", "http://localhost:5000"]
}
}
}
Restart Claude Desktop
Test the integration:
Production Configuration:
{
"command": "python",
"args": ["mcp_server.py"]
}
Local Development Configuration:
{
"command": "python",
"args": ["mcp_server.py", "--api-url", "http://localhost:5000"]
}
Once integrated, you can ask your AI assistant things like:
"Create a sequence diagram showing how a user logs into a web application"
"Check this Mermaid code for errors: ```graph TD A -> B```"
"Generate a flowchart for a CI/CD pipeline, then convert it to PNG format"
"Create a class diagram for a simple e-commerce system and explain each component"
You: "Can you create a state diagram for a simple traffic light system?"
AI Assistant: Uses render_mermaid_svg tool
stateDiagram-v2
[*] --> Red
Red --> Green : Timer
Green --> Yellow : Timer
Yellow --> Red : Timer
Red --> [*]
AI: "I've created an SVG diagram of a traffic light state machine! The diagram shows the three states (Red, Green, Yellow) and the timer-based transitions between them. Would you like me to convert this to PNG format or modify the design?"
The MCP server uses the production API at https://sargoth.xyz by default. No additional configuration is needed for most users.
MERMAID_API_URL: Override the API base URL (optional)python mcp_server.py --help
# Use production API (default)
python mcp_server.py
# Use local development API
python mcp_server.py --api-url http://localhost:5000
# Use custom API endpoint
python mcp_server.py --api-url https://sargoth.xyz
Production (Default):
Local Development:
python ../app.py--api-url http://localhost:5000Custom Deployment:
--api-url https://sargoth.xyzpip install -r requirements.txtpython --version (needs 3.8+)curl http://localhost:5000/healthThe server supports all themes available in your Mermaid renderer:
modern (default)classicdarkminimalWhile the MCP protocol processes tools individually, you can ask the AI to generate multiple diagrams in sequence.
Use the MCP server to automatically generate diagrams for:
This MCP server is part of the Sargoth Mermaid Renderer project. To contribute:
Same as the main Sargoth Mermaid Renderer project.
Ready to supercharge your AI assistant with diagram generation?
Install the MCP server and start creating beautiful visuals in your conversations! 🚀
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Sargoth Mermaid Renderer MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/sargoth-mcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.