Diagrams MCP
io.github.mskry/diagrams-mcp-serverGenerate cloud architecture diagrams, flowcharts, and sequence diagrams.
Tools · 9
Render a mingrammer/diagrams Python snippet to PNG and return the image. The code must be a complete Python script using `from diagrams import ...` imports and a `with Diagram(...)` context manager b…
List all available diagram providers (aws, gcp, azure, k8s, onprem, etc.). Use list_providers -> list_services -> list_nodes to browse available node types for a specific provider.
List service categories for a provider (e.g. 'aws' -> ['compute', 'database', ...]). Args: provider: Provider name from list_providers (e.g. 'aws', 'gcp', 'k8s').
List available node classes for a provider.service combo. Args: provider: Provider name (e.g. 'aws', 'gcp', 'k8s'). service: Service category (e.g. 'compute', 'database', 'network'). Returns…
Search for diagram nodes by keyword across all providers and services. For targeted browsing when you know the provider, use list_providers -> list_services -> list_nodes instead. Args: query: S…
Render a Mermaid diagram definition and return the image with metadata. The definition should be valid Mermaid syntax (e.g. flowchart, sequence, class, ER, state, or Gantt diagram). Returns a list o…
Render a PlantUML diagram definition and return the image. The definition should be valid PlantUML syntax wrapped in @startuml/@enduml (sequence, class, component, activity, state, deployment, etc.).…
Find cross-provider equivalents for a diagram node by infrastructure role. Given a node name (e.g. 'EC2', 'Lambda', 'ComputeEngine'), returns the infrastructure role category it belongs to and the eq…
List all infrastructure role categories with their mapped nodes. Use this to browse all available equivalence mappings, or to disambiguate node names when find_equivalent reports ambiguity. Returns …
Resources · 5
Diagram constructor reference — parameters, defaults, and usage.
diagrams://reference/diagram
Edge constructor reference — parameters, operators, and styling.
diagrams://reference/edge
Cluster constructor reference — parameters, nesting, and styling.
diagrams://reference/cluster
Mermaid diagram syntax reference — common diagram types and examples.
diagrams://reference/mermaid
PlantUML diagram syntax reference — common diagram types and examples.
diagrams://reference/plantuml
Prompts · 4
Guide the user through building a cloud architecture diagram
Guide creation of a sequence or flow diagram
Walk through multi-cloud service comparison
Minimal-friction path: describe what to visualize and the best engine is picked automatically
Similar MCP servers embedding-nearest
How to use
Add to your Claude Desktop / Cursor / Cline MCP config:
{
"mcpServers": {
"diagrams_mcp": {
"url": "https://diagrams-mcp-production.up.railway.app/mcp",
"transport": "streamable-http"
}
}
}