MCP directory
DM

Diagrams MCP Server

by github.com/mohammad-emad-dev · v0.11.0 · updated Oct 19, 2026

Local-first MCP server for PlantUML and Mermaid diagrams with drift detection.

npm

Run it locally

Install the package and point your AI client at it.

Environment variables

  • 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.

More MCP servers