SERVER

Diagrams

Rank #38,419

smithery/apetta/diagrams-mcp

A local/remote MCP server for generating infrastructure and architecture diagrams as code using the Python [diagrams](https://diagrams.mingrammer.com/) library ## Features **5 Diagram Tools** for infrastructure, architecture, and flowcharts: - **Infrastructure Diagrams** - 15+ providers (AWS, Azure, GCP, K8s, On-Prem, SaaS) - **500+ Node Types** - Compute, database, network, storage, security - **Custom Icons** - Web URLs (HTTPS) and local files - **Flowcharts** - 24 shapes for process diagrams - **Validation** - Dry-run before generation **Advanced Capabilities:** - Multiple output formats (PNG, PDF, JPG, DOT) - Cluster grouping with unlimited nesting - Edge styling (colours, labels, line styles) - Graphviz attribute customisation ## Installation **System Requirements:** - Graphviz must be installed: - macOS: `brew install graphviz` - Ubuntu/Debian: `sudo apt-get install graphviz` - Windows: Download from https://graphviz.org/download/ ### IDEs [![Install in VS Code](https://img.shields.io/badge/VS_Code-Install_diagrams-0098FF?style=flat-square&logo=visualstudiocode&logoColor=ffffff)](vscode:mcp/install?%7B%22name%22%3A%22diagrams%22%2C%22type%22%3A%22stdio%22%2C%22command%22%3A%22uvx%22%2C%22args%22%3A%5B%22diagrams-mcp%22%5D%7D) [![Install MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=diagrams&config=eyJjb21tYW5kIjoidXZ4IGRpYWdyYW1zLW1jcCJ9) ### Claude Desktop Add to your `claude_desktop_config.json`: **For published package:** ```json { "mcpServers": { "diagrams": { "command": "uvx", "args": ["diagrams-mcp"] } } } ``` **For local development:** ```json { "mcpServers": { "diagrams:local": { "command": "uv", "args": [ "--directory", "/ABSOLUTE/PATH/TO/diagrams-mcp", "run", "diagrams-mcp" ] } } } ``` ### Claude Code **Quick setup (CLI):** Published package: ```bash claude mcp add --transport stdio math -- uvx diagrams-mcp ``` **Team setup (project-level):** Add `.mcp.json` to your project root: ```json { "mcpServers": { "diagrams": { "command": "uvx", "args": ["diagrams-mcp"] } } } ``` **Verify installation:** ```bash claude mcp list ``` Or check in IDE: View → MCP Servers, or use `/mcp` command. ## Try It Once installed, try these prompts: - "Create an AWS 3-tier web application diagram with Route53, ELB, EC2 instances, and RDS" - "Generate a Kubernetes microservices architecture with ingress, services, and pods" - "Build a flowchart for a CI/CD pipeline with decision points" - "Create a diagram using a custom icon from my company logo URL" - "Show me all available AWS compute nodes" Map to tools: `create_diagram`, `create_diagram_with_custom_icons`, `create_flowchart`, `list_available_nodes`, `validate_diagram_spec` ## Tool Reference All tool parameters and descriptions are available in your IDE's autocomplete. ### Diagram Generation (3 tools) | Tool | Description | | ---------------------------------- | ------------------------------------------------------------ | | `create_diagram` | Full infrastructure/architecture diagrams with all providers | | `create_diagram_with_custom_icons` | Diagrams with custom node icons from URLs or local files | | `create_flowchart` | Simplified flowchart creation with 24 process shapes | ### Discovery & Validation (2 tools) | Tool | Description | | ----------------------- | ------------------------------------------------------------- | | `list_available_nodes` | Search 500+ available nodes by provider, category, or keyword | | `validate_diagram_spec` | Dry-run validation before generation | ## Custom Icons ### Web URL Icons - HTTPS-only (HTTP rejected) - 5MB file size limit - 5-second download timeout - Image format validation (PNG, JPG) - Automatic caching (~/.diagrams_mcp/icon_cache) ### Local File Icons - Path validation (file must exist) - Format validation - Sandboxed execution

1 release tag
2 GitHub stars
by apetta (2 servers)View repository ↗
Listed & last published
Nov 9, 2025
OVERVIEW

Diagrams is a Model Context Protocol (MCP) server published by apetta. It ranks #38,419 of 115,591 servers tracked on MCP Toplist, and its repository has 2 GitHub stars. Diagrams is listed across 2 registries — Smithery and Glama, with 1 release tag tracked from its GitHub repository. It was first listed on Nov 9, 2025 and most recently updated on Nov 9, 2025.

STANDING
#38,419of 115,591 tracked serversTop 50%

Ranks ahead of 77,172 of 115,591 servers on MCP Toplist.

CONNECT

Use Diagrams

No setupRuns out of the box

No credentials or required configuration declared — add it to your MCP client and go.

This server doesn't publish a machine-readable install config — see the repository README for install instructions.

BADGE

Show your rank

Maintain this server? Add the live rank badge to your README — it updates automatically as the leaderboard changes.

MCP Toplist: Top 50% of 115,591
Markdown
[![MCP Toplist](https://mcptoplist.com/badge/smithery%2Fapetta%2Fdiagrams-mcp.svg)](https://mcptoplist.com/server/smithery%2Fapetta%2Fdiagrams-mcp)
HTML
<a href="https://mcptoplist.com/server/smithery%2Fapetta%2Fdiagrams-mcp"><img src="https://mcptoplist.com/badge/smithery%2Fapetta%2Fdiagrams-mcp.svg" alt="MCP Toplist: Top 50% of 115,591" /></a>

Variants: append ?metric=score or ?metric=stars to the image URL.

REGISTRIES

Listed on 1 registry (1 delisted)

GlamaDelisted · last seen Jun 4, 2026
ORGANIZATION

apetta

Organization
Servers in org
2
Versions across org
4
MORE FROM THIS PUBLISHER

Other servers by apetta

View all apetta servers →
VERSIONS

GitHub releases (1)

No registry surfaces explicit version metadata for this server. The list below shows release tags from the linked GitHub repository.

VersionPublished
v1.0.0Nov 9, 2025
FAQ

Frequently asked questions

Who maintains Diagrams?
Diagrams is maintained by apetta, which publishes 2 MCP servers (4 total versions) tracked on MCP Toplist.
Is Diagrams listed on the Official MCP Registry?
Diagrams is not on the Official MCP Registry. It is listed on Smithery and Glama.
How many versions does Diagrams have?
No registry surfaces explicit version metadata for Diagrams; MCP Toplist tracks 1 release tag from its GitHub repository, most recently published on Nov 9, 2025.
Where can I find the source code for Diagrams?
The source code for Diagrams is hosted at github.com/apetta/diagrams-mcp.
EXPLORE