Skip to content
Agentmart
Submit a tool

Diagrams MCP Server

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

Connector by mohammad-emad-dev · GitHub account verified by the MCP Registry

IndexedMITLocal (stdio)★ 1
Write a review

Install

Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.

npx agentmarket install connector/mohammad-emad-dev-diagrams-mcp-server

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list, install config and code. Checked Oct 26, 2026.

Tools
11 read · 2 write · 2 delete
Secrets
None asked for
Install scripts
None found
Runs as
Node.js package

Tools by what they do 15

Read from the source code; the running server may list different tools.

Read 11 · Look things up without changing anything.

  • diagrams_check_consistency
  • diagrams_diff
  • diagrams_export
  • diagrams_generate
  • diagrams_generate_sequence
  • diagrams_get
  • diagrams_list
  • diagrams_list_templates
  • diagrams_render
  • diagrams_scaffold
  • diagrams_template

Write 2 · Create, change, send or run things.

  • diagrams_create
  • diagrams_save_export

Delete 2 · Delete, drop, revoke or wipe things.

  • diagrams_delete
  • diagrams_update

Secrets and settings it asks for

Other settings (environment variables or headers).

  • ALLOW_REMOTE_PLANTUML
  • DIAGRAMS_DIR
  • DISABLE_REMOTE_PLANTUML
  • PLANTUML_SERVER_URL
  • PROJECT_ROOT

Network hosts it talks to 2

  • github.com · found in code
  • plantuml.com · found in code

Files it touches

  • Your home directory (~)
  • Any path the agent passes to its tools

Tools (15)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • diagrams_check_consistencyCheck Diagram-to-Code Consistencyread-only

    Compare class/interface/component names mentioned in a PlantUML or Mermaid diagram against identifiers that actually exist in the codebase, to catch documentation drift. This is a heuristic, text-based check (not a full semantic/AST analysis): it extracts entity names from class/interface/enum/component declarations in the diagram, then searches source files under the project root for a matching identifier as a whole word. It flags names that appear in the diagram but were not found anywhere in the scanned code — a signal the diagram may be outdated, or the code was renamed/removed/not yet bu…

  • diagrams_createCreate New Diagram

    Create a new PlantUML or Mermaid diagram file under the diagrams root. The diagram type is inferred from the file extension in relative_path: - .puml or .plantuml -> PlantUML - .mmd or .mermaid -> Mermaid This tool refuses to overwrite an existing file — use diagrams_update for that. Intermediate directories in relative_path are created automatically. Performs a basic, dependency-free syntax check before writing (not full validation): PlantUML must include @startuml/@enduml boundaries; Mermaid must start with a known diagram declaration. Clearly invalid or empty sources are rejected wit…

  • diagrams_deleteDelete Diagramcan change or delete data

    Delete a single PlantUML or Mermaid diagram file from the diagrams root. This is destructive and cannot be undone — the file is removed from disk. To replace content instead, use diagrams_update. To remove then recreate with different content, delete first, then use diagrams_create. Args: - relative_path (string): Path to the diagram relative to the diagrams root, as returned by diagrams_list Returns: JSON with schema: { "relative_path": string, "deleted": true } Examples: - Use when: "Remove the outdated order-flow diagram" -> relative_path="system/order-flow.puml" - D…

  • diagrams_diffDiff Two Diagramsread-only

    Description is built at runtime.

  • diagrams_exportExport Diagram as a Self-Contained HTML Fileread-only

    Description is built at runtime.

  • diagrams_generateGenerate a Class Diagram from Coderead-only

    Description is built at runtime.

  • diagrams_generate_sequenceGenerate a Sequence Diagram from Coderead-only

    Description is built at runtime.

  • diagrams_getGet Diagram Sourceread-only

    Retrieve the raw source text of a single PlantUML or Mermaid diagram, in full or as an explicit character window. Args: - relative_path (string): Path to the diagram relative to the diagrams root, as returned by diagrams_list - offset (number, optional): Zero-based character offset where the returned window starts (default: 0) - max_chars (number, optional): Maximum characters to return from offset (1-100000). Omit to return the full source Returns: JSON with schema: { "relative_path": string, "type": "plantuml" | "mermaid", "content": string, // full source, or t…

  • diagrams_listList Architecture Diagramsread-only

    List all PlantUML and Mermaid diagram files stored under the project's diagrams directory. This tool scans the configured diagrams root recursively and returns every file with a recognized diagram extension (.puml, .plantuml, .mmd, .mermaid). It does NOT create, modify, or render diagrams — read-only. Args: - type_filter ('plantuml' | 'mermaid' | 'all'): Restrict results to one diagram type (default: 'all') - offset (number, optional): Zero-based number of matching diagrams to skip (default: 0) - limit (number, optional): Maximum diagrams to return (1-500). Omit to return every remaini…

  • diagrams_list_templatesList Available Diagram Templatesread-only

    Description is built at runtime.

  • diagrams_renderRender Diagram to Imageread-only

    Description is built at runtime.

  • diagrams_save_exportSave Diagram Export as HTML File

    Description is built at runtime.

  • diagrams_scaffoldScaffold TypeScript or JavaScript Classes from a Diagramread-only

    Description is built at runtime.

  • diagrams_templateInstantiate a Diagram Skeletonread-only

    Description is built at runtime.

  • diagrams_updateUpdate Existing Diagramcan change or delete data

    Replace the full content of an existing PlantUML or Mermaid diagram file. This performs a full-content replace, not a partial edit — pass the complete new diagram source. To create a new diagram, use diagrams_create (or set create_if_missing=true here). Performs a basic, dependency-free syntax check before writing (not full validation): PlantUML must include @startuml/@enduml boundaries; Mermaid must start with a known diagram declaration. Clearly invalid or empty sources are rejected without overwriting the existing file. Args: - relative_path (string): Path to the diagram, relative to t…

Signals

Stars
1
Forks
0
Open issues
3
Last commit
Oct 19, 2026 (9 days ago)
Last release
Oct 19, 2026 (9 days ago)

From GitHub (fetched Oct 24, 2026).

Details

Registry name
io.github.mohammad-emad-dev/diagrams-mcp-server
Version
0.11.0
Auth
No auth
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026
Cite this page

Diagrams MCP Server. Agent Mart. https://agentmart.dev/connectors/mohammad-emad-dev-diagrams-mcp-server (last updated 2026-10-24)