Diagrams MCP Server
by mohammad-emad-devio.github.mohammad-emad-dev/diagrams-mcp-serverv0.5.2
Local-first MCP server for PlantUML and Mermaid diagrams with drift detection.
context tax
queued
security
queued
cold start
queued
freshness
Active22d ago
Install Diagrams MCP server
Install in Claude Code
claude mcp add diagrams-mohammad-emad-dev -- npx -y diagrams-mcp-serverInstall in Cursor
{
"mcpServers": {
"diagrams-mohammad-emad-dev": {
"command": "npx",
"args": [
"-y",
"diagrams-mcp-server"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"diagrams-mohammad-emad-dev": {
"command": "npx",
"args": [
"-y",
"diagrams-mcp-server"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"diagrams-mohammad-emad-dev": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"diagrams-mcp-server"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"diagrams-mohammad-emad-dev": {
"command": "npx",
"args": [
"-y",
"diagrams-mcp-server"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| PROJECT_ROOT | — | — | Project root to attach to (defaults to the working directory). |
| DIAGRAMS_DIR | — | — | Diagrams directory, relative to PROJECT_ROOT unless absolute (default: diagrams). |
| PLANTUML_SERVER_URL | — | — | Override for the opt-in remote PlantUML fallback. |
| ALLOW_REMOTE_PLANTUML | — | — | Set to true to allow the remote PlantUML fallback when no local CLI is installed. |
| DISABLE_REMOTE_PLANTUML | — | — | Set to true to always disable the remote PlantUML fallback. |
Freshness
Active — last maintenance signal 22d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-18 · 22d ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-09-10 · 30d ago · official registry · v0.5.2
FAQ
›How do I install the Diagrams MCP server in Claude Code?
Run: claude mcp add diagrams-mohammad-emad-dev -- npx -y diagrams-mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Diagrams require an API key?
No required environment variables are declared in its published metadata.
›Can I use Diagrams as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Diagrams in the official MCP registry?
Yes, as io.github.mohammad-emad-dev/diagrams-mcp-server.