@plantuml/mcp-js
Pure Node.js MCP server that renders and validates PlantUML diagrams with zero Java and zero external server, powered by TeaVM. Exposes render_diagram, check_syntax and diagram_explain â just run npx @plantuml/mcp-js.
README
[!TIP] đ§Š New! Render PlantUML diagrams directly inside GitHub with our official browser extension â No server. No tokens. No tracking. Zero permissions but clipboard.
đŦ Want native PlantUML support in GitHub? Upvote and join the discussion: Support for PlantUML diagrams
[!TIP] đ¤ New! Give your AI assistant the power to render and check PlantUML diagrams with
@plantuml/mcp-jsâ a pure Node.js MCP server. No Java. No server. Justnpx @plantuml/mcp-js.
đą PlantUML
Generate UML diagrams from textual descriptions.
âšī¸ About
PlantUML is a component that allows you to create various UML diagrams through simple textual descriptions. From sequence diagrams to deployment diagrams and beyond, PlantUML provides an easy way to create visual representations of complex systems.
đī¸ Supported Diagram Types
- đ§Š UML Diagrams
- đ Non-UML Diagrams
- JSON (JavaScript Object Notation) data
- YAML (YAML Ain't Markup Language) data
- EBNF (Extended Backus-Naur Form)
- Regex (Regular Expression)
- Network diagram (nwdiag)
- Salt (Wireframe graphical interface or UI Mockups)
- Archimate diagram
- SDL (Specification and Description Language)
- Ditaa diagram
- Gantt diagram
- Chronology diagram
- MindMap diagram
- WBS (Work Breakdown Structure)
- Mathematical Notations (AsciiMath, JLaTeXMath)
- Entity Relationship (ER) diagram
- Chart diagram
- Files (files tree) diagram
đŖ Additional Features
- Hyperlinks and tooltips
- Rich text (Creole) with emoticons, unicode, and icons
- OpenIconic icons
- Sprite icons
đ Learn More
For a more detailed overview, visit PlantUML Official Website.
đĄ Security
See Security Policy and Security overview.
[!IMPORTANT] PlantUML is not affected by the log4j vulnerability.
đ Getting Started
Whether you're looking to use PlantUML as a standalone application or as a component in your own project, getting started is simple. Check out the official PlantUML setup guide for instructions on how to set up PlantUML on your system.
âī¸ Building from Source
To build PlantUML from source, you have two options:
- Using Gradle:
./gradlew jar - Using Ant:
ant
For prerequisites and detailed build instructions, see our BUILDING.md guide.
đ Building for the Browser (TeaVM)
PlantUML can be compiled to JavaScript with TeaVM to run entirely client-side in the browser, with no server required. To produce the JavaScript artifacts and use them in your own project:
git clone https://github.com/plantuml/plantuml.git
cd plantuml
chmod +x ./gradlew
./gradlew clean teavm -Pfast
cp ./build/generated/teavm/js/plantuml.js $YOUR_PROJECT/plantuml.js
cp ./build/generated/teavm/js/viz-global.js $YOUR_PROJECT/viz-global.js
The -Pfast flag skips the slow parts of a regular build (tests, Javadoc, JaCoCo) so you only get the TeaVM output. The viz-global.js file provides Viz.js (Graphviz) support for diagrams that rely on Dot layout.
The teavm task also copies the PlantUML stdlib bundles and a ready-to-use index.html demo into ./build/generated/teavm/js/.
For a live example of client-side rendering, see the JavaScript PlantUML Demo.
đ§ą Contributing
PlantUML is an open-source project, and we welcome contributions of all kinds. Whether you're helping us fix bugs, improve the docs, or spread the word, we appreciate your support. See our contributing guide for more information on how to get started.
For comprehensive and detailed documentation on using PlantUML, refer to the official Javadoc, available here. Please note that this documentation is a work in progress and may not be complete.
đ§âđ¤âđ§ Support and Community
đ License
PlantUML is licensed under several licenses; you can choose the one that suits you best:
For more information, please refer to the PlantUML license FAQ to help determine which license is appropriate for your use case.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.