vpp-mcp
vpp-mcp is an MCP server for reading, editing, verifying, and previewing Visual Paradigm .vpp projects without opening Visual Paradigm.
Inspect project info, classes, interfaces, enumerations, members, relationships, and class diagrams.
Read sequence diagrams: participants, VP-numbered messages, loop/alt/opt fragments, and refs.
Edit class models and diagrams in batches: add/change/remove classes, members, stereotypes, relationships, layout, routing, and diagram fragments.
Add or delete sequence diagrams from structured descriptions, binding messages to existing class operations.
Apply creational design patterns: Singleton, Builder, Factory Method, Abstract Factory, and Prototype.
Export class-diagram fragments to PlantUML.
Render class and sequence diagrams to PNG previews.
Verify structural integrity and write changes safely to a new file only, refusing files open in Visual Paradigm.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@vpp-mcp add the Singleton pattern to KatalogRestauracji, save as projekt-singleton.vpp"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
vpp-mcp: Claude + Visual Paradigm
An MCP server that lets Claude read and edit Visual Paradigm (.vpp) projects: class diagrams (classes, interfaces, enumerations, attributes, operations, relationships) and sequence diagrams. No need to open the application.
Built for a university Design Patterns course (AGH), where every diagram is made in Visual Paradigm Community Edition. It helps with completing a class diagram, drawing a dozen sequence diagrams, and with design-pattern studies, i.e. "before" and "after" versions of a class diagram.
Unofficial tool, not affiliated with Visual Paradigm. The file format was reverse-engineered from real projects and tested on Visual Paradigm Community Edition 18.1 (build 20260914). The server never modifies your file: it always writes an edited copy. Keep your own backup anyway.
Note: tool descriptions and error messages returned by the server are currently in Polish. Claude handles this without trouble and answers in your language.
What you can do with it
Example prompts for Claude:
"Show me which classes and relationships are in
C:\...\project.vpp.""Apply the Singleton pattern to the
DyspozytorDostawclass and save it asproject-singleton.vpp.""Add a Builder for
Zamowienieand create a 'fragment after changes' diagram.""Draw a sequence diagram for the Place order use case based on the methods in the class diagram."
"Export the
Zamowienie,PlatnoscandBramkaPlatnosciclasses to PlantUML, I need a snippet for my report."
Tool | What it does |
| Project summary: diagrams, number of classes, actors, use cases, whether the file is open in VP. |
| Classes with attributes and operations in UML notation, the relationships of a class, its position on the diagram. |
| Generalizations, realizations, dependencies and associations with multiplicities and roles. |
| Participants, messages numbered as in VP (1, 1.1, ...), loop/alt/opt fragments with guards. |
| A fragment of the class diagram as PlantUML. |
| A batch of changes to the class model and class diagram: new classes, interfaces, enumerations and abstract classes (with a shape on the diagram), attributes and operations (also |
| Creational patterns: Singleton, Builder, Factory Method, Abstract Factory, Prototype. A pattern is applied to existing classes: it adds roles (classes, interfaces, stereotypes), members and relationships, and optionally draws a "fragment after changes" diagram. The result is a description of the pattern roles and a list of changes. |
| Whole sequence diagrams from a description: actors, objects (including objects created mid-sequence and static calls), call, self, create, return, found, signal, loop/opt/alt fragments, |
| Deletes a sequence diagram, e.g. to regenerate it from scratch. |
| PNG preview of a class diagram drawn from the geometry stored in the file (classes with members, stereotypes, lines, diamonds, multiplicities, roles). It is not VP's renderer, but it uses the same positions, so you can judge the layout without opening the application. Needs Pillow (installed with the server). |
| PNG preview of a sequence diagram (lifelines, activations, numbered messages, loop/alt/opt fragments, ref). |
| Structural check of the file. |
Related MCP server: Obsidian Excalidraw MCP
How it works
A .vpp file is a SQLite database. Visual Paradigm stores every model and diagram element as one row whose DEFINITION column holds the element in VP's own text notation. There is no public specification, so the format was reverse-engineered from real projects (including files saved by VP Community Edition 18.1 and public .vpp projects from GitHub) and is written down in docs/.
Notation parser and serializer (
notation.py): turns a definition into a tree and back. It reproduces every definition written by VP byte for byte (dump(parse(s)) == s), so an edit touches only what it changes.roundtrip_okchecks this per definition (the smoke test runs it over every row of your project).Safe edit pipeline. The source is never modified. The server copies it to a temporary file next to
output_path, runs the operations in order, and moves the result into place only if every operation succeeded and the structural verifier passed. It also refuses to write to a file that VP has open (a.<name>.vpp.lcklock file next to it).Structural verifier (
verify.py): SQLite integrity check, every definition parses and is in canonical form, ID uniqueness, all references resolve, model-view links are consistent, the root element and diagram lists inPROJECT_INFO. These are the invariants that every file saved by VP satisfies, so a violation means an edit broke something.Automatic layout (
layout.py): VP draws a relationship as a straight line between the centres of two shapes, so a layout is scored on exactly that. A seeded simulated-annealing search (several restarts, positions snapped to a 10 px grid) minimizes a cost made of overlapping boxes, lines running through other classes, crossing lines, distance between related classes, and the overall size and aspect ratio. A subset of classes can be marked movable so new classes fit into an existing layout.Orthogonal routing (
layout.py): an A* search on a 10 px grid routes each relationship around the class boxes. Shorter edges are routed first, bends, crossings and overlaps with earlier routes are penalised, anchor points are spread along the box sides, and line ends are perpendicular to the border. An edge with no route falls back to a straight line.Creational patterns (
patterns.py): each pattern is a composition of the same edit operations thatvpp_edit_class_modelexposes (add class, add member, add relationship, set stereotype, layout), so it goes through the same verified pipeline.PNG previews (
render.py,render_seq.py): class and sequence diagrams drawn with Pillow from the geometry stored in the file.
flowchart LR
A[Request] --> B[Temp copy of source]
B --> C[Apply operations in order]
C -->|any error| X[Discard temp file, original untouched]
C --> D{Verifier passes?}
D -->|no| X
D -->|yes| E[Move to output_path]Safety
Every change goes to a new file (
output_path). The original stays untouched.Changes are made on a temporary file. The result is created only if all changes succeeded and the verifier found no errors.
The server will not write to a file that is open in VP. VP keeps a
.<name>.vpp.lckfile next to it while it is open.A method that is called by a message on a sequence diagram cannot be deleted.
After every change, open the file in VP and save it right away (Ctrl+S). VP will then rewrite it in its own way.
Installation
You need:
Python 3.10 or newer and git (instructions for each system below),
the Claude desktop app (Claude Desktop) or Claude Code.
Windows
1. Python and git
Download Python from python.org and tick "Add python.exe to PATH" in the installer. Check it with py --version or python --version.
Git is needed because the server is installed straight from the repository. Install Git for Windows or run winget install Git.Git.
2. Install the server
python -m pip install git+https://github.com/Nikodem5/vpp-mcpCheck: python -c "import vpp_mcp.server" should print no error.
3a. Add it to Claude Desktop
In the Claude app open Settings → Developer → Edit Config. This opens claude_desktop_config.json (on Windows in %APPDATA%\Claude\). Add the server under mcpServers:
{
"mcpServers": {
"visual-paradigm": {
"command": "python",
"args": ["-m", "vpp_mcp"]
}
}
}If you already have other servers, add only the "visual-paradigm": {...} entry next to them and mind the commas. Then quit and restart the Claude app. The server will show up in the tool list.
If Claude does not see the server, put the full path to Python instead of "python", e.g. "C:\\Users\\YOUR_NAME\\AppData\\Local\\Programs\\Python\\Python312\\python.exe". The path is printed by where python.
3b. Or add it to Claude Code
claude mcp add visual-paradigm -- python -m vpp_mcpmacOS
The simplest way is to install the server in a separate virtual environment. Homebrew's Python blocks pip install outside such an environment (externally-managed-environment error).
1. Python 3.10+ and git
Via Homebrew:
brew install python gitCheck the version with python3 --version.
2. Get and install the server
python3 -m venv ~/.vpp-mcp-venv
~/.vpp-mcp-venv/bin/python -m pip install git+https://github.com/Nikodem5/vpp-mcpCheck, which should print no error:
~/.vpp-mcp-venv/bin/python -c "import vpp_mcp.server"3a. Claude Code
claude mcp add visual-paradigm -- ~/.vpp-mcp-venv/bin/python -m vpp_mcp3b. Claude Desktop
Open Settings → Developer → Edit Config. The file is ~/Library/Application Support/Claude/claude_desktop_config.json. Use the full path to the environment's Python (~ is not expanded here), i.e. /Users/YOUR_NAME/.vpp-mcp-venv/bin/python:
{
"mcpServers": {
"visual-paradigm": {
"command": "/Users/YOUR_NAME/.vpp-mcp-venv/bin/python",
"args": ["-m", "vpp_mcp"]
}
}
}Then fully quit (Cmd+Q) and restart Claude Desktop.
Linux
The simplest way is to install the server in a separate virtual environment. The system Python (Debian/Ubuntu) blocks pip install outside such an environment (externally-managed-environment error).
Claude Desktop has no official Linux version, so on Linux you use Claude Code.
1. Python 3.10+ and git
# Debian/Ubuntu
sudo apt install python3 python3-venv python3-pip git
# Fedora
sudo dnf install python3 gitCheck the version with python3 --version.
2. Get and install the server
python3 -m venv ~/.vpp-mcp-venv
~/.vpp-mcp-venv/bin/python -m pip install git+https://github.com/Nikodem5/vpp-mcpCheck, which should print no error:
~/.vpp-mcp-venv/bin/python -c "import vpp_mcp.server"3. Add it to Claude Code
claude mcp add visual-paradigm -- ~/.vpp-mcp-venv/bin/python -m vpp_mcpGive paths to .vpp files in your system's format, e.g. C:\projects\project.vpp, /home/ania/projects/project.vpp or /Users/ania/projects/project.vpp.
Updating
Windows:
python -m pip install --upgrade --force-reinstall git+https://github.com/Nikodem5/vpp-mcpLinux and macOS:
~/.vpp-mcp-venv/bin/python -m pip install --upgrade --force-reinstall git+https://github.com/Nikodem5/vpp-mcpThen restart the Claude app.
Workflow
Save the project in VP, preferably close it.
Ask Claude for a change and give the full path to the
.vppfile. Claude saves the result under a new name, e.g.project-v2.vpp.Open the new file in VP, check it and save it right away (Ctrl+S).
Tidy up relationship lines and, if needed, message labels. The server draws simple edge-to-edge lines and the layout is approximate.
Messages on sequence diagrams must point to operations that exist in the receiver's class, its superclass or an interface. Matching is by name and number of arguments. If an operation is missing, Claude adds it to the class diagram first, which keeps the class diagram and sequence diagrams consistent.
Limitations
Visibility
+(public) and-(private) is supported. VP's codes for#and~have not been confirmed.Actors on sequence diagrams are separate elements with the same names as on the use case diagram. This is also how the sample VP projects look.
Use case, activity and state diagrams cannot be edited. The server only lists them.
A project with several class diagrams: by default the main diagram is edited (the only one, or the one with the most classes; on a tie the server asks for a name). Another one is selected with the
diagramparameter.A diagram is only a view of the model, so "before" and "after" cannot coexist in one file. Keep the "before" state as a separate copy of the file; fragments can be drawn in it (
add_class_diagram+add_to_diagram).Notes (UML comments) are not supported.
Tested on projects saved by VP Community Edition 18.1. Other versions share the same database format (
DB_VERSION20121026) but have not been checked in the application.
Design patterns
vpp_list_patterns describes the parameters of each pattern. Example (Builder):
{"pattern": "builder",
"params": {"product": "Zamowienie", "builder": "BudowniczyZamowienia",
"concrete_builder": "BudowniczyZamowieniaKlienta", "director": "KierownikZamowien",
"steps": ["+dodajPozycjeZKoszyka(koszyk : Koszyk) : void", "+ustawUwagi(uwagi : String) : void"],
"clients": ["Klient"],
"fragment_diagram": "Wzorzec Budowniczy: fragment po zmianach",
"fragment_context": ["Koszyk", "PozycjaZamowienia", "Adres"]}}fragment_folder puts the fragment diagram into a Model folder. Placement of new classes can be set in positions ({"Class": [x, y]}), and "after" sequence diagrams are generated with vpp_add_sequence_diagrams and replace_existing. A typical flow for a patterns assignment: a "before" copy (with a diagram fragment), the pattern applied to a second copy, sequence diagrams, screenshots from VP.
Testing
CI runs python -m pytest -q on Ubuntu, Windows and macOS with Python 3.10 and 3.13. Unit tests that do not need a project file (e.g. the orthogonal router in tests/test_route.py) run everywhere. Tests that need a real project saved in VP (patterns, PNG renderers) are skipped unless you point them at one with VPP_SAMPLE:
VPP_SAMPLE=project.vpp python -m pytest tests/test_patterns.py -qThe pattern tests expect a project with classes named as in tests/test_patterns.py.
Smoke test on your own project
git clone https://github.com/Nikodem5/vpp-mcp
cd vpp-mcp
python -m pip install -e .
python tests/smoke_test.py "C:\path\to\project.vpp"The test only reads your file. It checks the parser and the verifier, then creates a copy in a temporary directory with two example classes and a small sequence diagram. It prints the path to the copy at the end so you can open it in VP.
Project layout
File | Role |
| Parser and serializer of the text format in which VP stores the model. Reproduces every definition from VP-saved files byte for byte. |
| Reading: classes, members, types, relationships, diagrams. |
| Writing the class model and class diagram. |
| Automatic class layout (simulated annealing) and orthogonal line routing (A*). |
| Creational patterns (Singleton, Builder, Factory Method, Abstract Factory, Prototype) built from |
| Sequence diagrams: generator, deletion, description. |
| Structural verifier: references, ID uniqueness, model-view links, lists, canonical serialization. |
| PNG previews of class and sequence diagrams (Pillow). |
| MCP server (FastMCP, stdio). |
| Format documentation: the |
Contributing
Bug reports, feature requests and pull requests are welcome, see CONTRIBUTING.md.
License
MIT, see LICENSE.
Available Tools
14 toolsvpp_add_sequence_diagramsB
Dodaje diagramy sekwencji do kopii projektu. Dodaje całe diagramy sekwencji (każdy jako osobny diagram). Każdy diagram: {"name":"SD13 Reklamacja", "participants":[{"actor":"Klient"}, {"name":"klient","class":"Klient"}, {"name":"zamowienie","class":"Zamowienie"}, {"name":"","class":"Klient"} /* ':Klient' = wywołanie statyczne /, {"name":"platnosc","class":"Platnosc","created":true} / tworzony w trakcie /], "items":[ {"type":"call","from":"Klient","to":"klient","operation":"anulujZamowienie(zamowienie)"}, {"type":"self","on":"zamowienie","operation":"czyMoznaAnulowac()"}, {"type":"create","from":"zamowienie","to":"platnosc","constructor":"Platnosc(...)" / opcjonalnie /}, {"type":"return","from":"zamowienie","to":"klient","label":"true"}, {"type":"found","to":"dyspozytor","operation":"przydzielKuriera(dostawa)"}, {"type":"signal","from":"bramka","to":"System płatności","label":"żądanie autoryzacji"}, {"type":"loop","guard":"dla każdej pozycji","items":[...]}, {"type":"opt","guard":"status == W_DOSTAWIE","items":[...]}, {"type":"alt","operands":[{"guard":"można anulować","items":[...]},{"guard":"else","items":[...]}]}, {"type":"ref","diagram":"SD04 Opłać zamówienie","covers":["Klient","zamowienie"]} / może być na najwyższym poziomie (np. początek przepływu «include») albo wewnątrz loop/opt/alt */ ]} Uczestników wskazuje się nazwą aktora albo nazwą obiektu (':Klasa' gdy name puste). Operacja: nazwa(arg1, arg2) — argumenty to tylko etykiety, liczy się nazwa i liczba argumentów; metoda musi istnieć w klasie odbiorcy lub jej nadklasie/interfejsie. Zwroty (return) muszą wracać do obiektu, który jest aktywny (wywołał). replace_existing=true najpierw usuwa diagramy o tych nazwach. Opcjonalne pole "folder" w opisie diagramu ("folder":"Diagramy sekwencji") to nazwa Modelu (folderu w Model Explorer), w którym ma leżeć diagram; brakujący folder powstaje na najwyższym poziomie, "Rodzic/Dziecko" wskazuje folder zagnieżdżony, a nazwa występująca w kilku folderach wymaga takiej ścieżki. Bez "folder" diagram trafia na najwyższy poziom projektu.
Inputs: diagrams (required), output_path (required), source_path (required), overwrite_output, +1 more. Returns: result
vpp_apply_patternA
Wzorce kreacyjne jako gotowe zmiany modelu klas (wynik do NOWEGO pliku, oryginał bez zmian).
singleton: Singleton. {"class":"DyspozytorDostaw"}: prywatny konstruktor, statyczne pole -instance i statyczna metoda +getInstance(). Opcjonalnie: "instance_field", "accessor", "drop_parameters":true (usuwa z metod innych klas parametry typu tej klasy, bo klienci biorą instancję przez getInstance()).
builder: Budowniczy (Builder). {"product":"Zamowienie","builder":"BudowniczyZamowienia","concrete_builder":"BudowniczyZamowieniaKlienta","director":"KierownikZamowien","steps":["+dodajPozycjeZKoszyka(koszyk : Koszyk) : void","+ustawUwagi(uwagi : String) : void"],"concrete_constructor":["klient : Klient","adres : Adres"],"product_constructor":"+Zamowienie(klient : Klient, adresDostawy : Adres)","product_operations":["+dodajPozycje(pozycja : PozycjaZamowienia) : void"],"clients":["Klient"]}. Powstają: interfejs budowniczego (kroki + operacja wyniku), konkretny budowniczy (realizacja, «create» produktu), kierownik (asocjacja do budowniczego, operacja konstruująca). Opcjonalnie: result_operation, director_operation, concrete_attributes, mark_product (domyślnie true).
factory_method: Metoda wytwórcza. {"product":"BramkaPlatnosci","concrete_products":["BramkaPlatnosciOnline"],"creator":"FabrykaBramek","factory_method":"utworzBramke","concrete_creators":["FabrykaBramekOnline"]}. Wytwórca abstrakcyjny z abstrakcyjną metodą wytwórczą i konkretni wytwórcy tworzący konkretne produkty.
abstract_factory: Fabryka abstrakcyjna. {"factory":"FabrykaPlatnosci","products":[{"name":"BramkaPlatnosci","method":"utworzBramke"},{"name":"Platnosc2","method":"utworzPlatnosc"}],"families":[{"name":"FabrykaOnline","products":{"BramkaPlatnosci":"BramkaPlatnosciOnline","Platnosc2":"PlatnoscOnline"}}],"clients":["Zamowienie"]}. Brakujące produkty konkretne są tworzone i podpinane do produktu abstrakcyjnego.
prototype: Prototyp. {"class":"Zamowienie","prototype":"Prototyp","clone_method":"klonuj","clients":["Klient"]}: interfejs z operacją klonowania, klasa go realizuje i dostaje +klonuj(). Wspólne parametry (params): "diagram" (na którym diagramie rysować nowe klasy; domyślnie główny), "positions" ({"Klasa":[x,y]}), "stereotypes" (true: role wzorca jako stereotypy klas, domyślnie true), "language" ("pl"/"en", nazwy ról), "fragment_diagram" (nazwa nowego diagramu klas z samym wzorcem, do studium), "fragment_context" (dodatkowe klasy na tym diagramie) i "fragment_folder" (Model/folder w Model Explorer, w którym ma leżeć fragment_diagram; brakujący zostanie utworzony). Wynik zawiera listę zmian i mapę ról. Żeby pokazać stan 'przed', zrób fragment_diagram w KOPII pliku sprzed wzorca (diagram jest widokiem modelu, więc w jednym pliku nie da się zachować 'przed' obok 'po').
Inputs: params (required), pattern (required), output_path (required), source_path (required), +1 more. Returns: result
vpp_delete_sequence_diagramB
Usuwa diagram sekwencji (diagram, jego ramkę, uczestników, komunikaty, fragmenty) w kopii projektu. Odmówi, jeśli inny diagram odwołuje się do niego przez ref.
Inputs: name (required), output_path (required), source_path (required), overwrite_output. Returns: result
vpp_edit_class_modelA
Zmiany w modelu klas i na diagramie klas; wynik do NOWEGO pliku (oryginał bez zmian). Lista zmian wykonywanych po kolei, wszystkie albo żadna. Każda zmiana to obiekt z polem "op":
{"op":"add_class","name":"FabrykaZamowien","kind":"class|abstract class|interface|enumeration", "attributes":["-licznik : int"], "operations":["+utworz(klient : Klient) : Zamowienie"], "literals":["A","B"], "static_members":["licznik"], "abstract_operations":["utworz"], "stereotypes":["Builder"], "x":100, "y":200, "near":"Zamowienie", "diagram":""} (bez x, y klasa trafia obok klasy z pola near albo, gdy go nie ma, w wolne miejsce pod diagramem)
{"op":"set_stereotype","class":"DyspozytorDostaw","stereotypes":["Singleton"]} (pusta lista usuwa stereotypy użytkownika)
{"op":"add_attribute","class":"Klient","text":"-email : String [0..1]","static":false}
{"op":"add_operation","class":"Klient","text":"+zaloguj(email : String, haslo : String) : boolean","static":false,"abstract":false}
{"op":"change_operation","class":"Menu","name":"dodajDanie","text":"+dodajDanie(nazwa : String, cena : double) : Danie"} (zachowuje ID metody, więc komunikaty w diagramach sekwencji dalej na nią wskazują)
{"op":"change_attribute","class":"Danie","name":"cena","text":"-cena : double"}
{"op":"remove_member","class":"Klient","name":"dodajAdres"} (odmówi, jeśli metodę wywołuje komunikat)
{"op":"add_literal","class":"StatusZamowienia","literal":"REKLAMOWANE"}
{"op":"add_relationship","kind":"generalization|realization|dependency|association|directed|aggregation|composition", "source":"Klient","target":"Użytkownik", "source_multiplicity":"1","source_role":"klient", "target_multiplicity":"0..*","target_role":"zamowienia","stereotype":"use"} generalization: source=podklasa, target=nadklasa; realization: source=klasa, target=interfejs; dependency: source używa target (opcjonalny stereotype np. use/create); aggregation/composition: source=całość (romb przy source); directed: strzałka przy target.
{"op":"remove_relationship","id":""}
{"op":"move_class","class":"Koszyk","x":400,"y":120} (przelicza linie relacji tej klasy)
{"op":"auto_layout","diagram":"Fragment","classes":["Nowa"]} (automatyczny układ: linie nie przechodzą przez klasy ani się nie krzyżują, powiązane klasy blisko siebie. Bez "classes" układa wszystkie klasy diagramu, z "classes" przesuwa tylko je) Domyślnie (route=true) po ułożeniu klas linie są prowadzone ortogonalnie (jak auto_route).
{"op":"auto_route","diagram":"Fragment"} (same linie: łamane prostokątne ze zgięciami omijające klasy, wyloty prostopadłe do krawędzi, rozsunięte wzdłuż boków, etykiety krotności/ról obok końców linii; klasy zostają w miejscu)
{"op":"fit_class","class":"Koszyk"} (dopasowuje rozmiar pudełka do treści)
{"op":"add_class_diagram","name":"Singleton: po zmianach"} (nowy, pusty diagram klas, np. fragment do studium wzorca) Opcjonalnie "folder":"Diagramy klas" - nazwa Modelu (folderu w Model Explorer), w którym ma leżeć diagram; brakujący folder powstaje na najwyższym poziomie, "Rodzic/Dziecko" wskazuje folder zagnieżdżony (bez "folder" diagram leży na najwyższym poziomie).
{"op":"add_to_diagram","diagram":"Singleton: po zmianach","classes":["DyspozytorDostaw","Kurier"], "relationships":true,"positions":{"Kurier":[400,40]},"columns":3} (rysuje ISTNIEJĄCE klasy na tym diagramie jako drugi widok tego samego elementu modelu i, przy relationships=true, wszystkie relacje modelu między narysowanymi klasami; bez positions klasy układają się w siatkę) Typy: int, double, boolean, void, char, long, float, byte, short, nazwy klas z projektu, dowolny tekst (String, LocalDateTime), generyki np. List. Widoczność: + publiczna, - prywatna. Gdy projekt ma kilka diagramów klas, zmiany bez pola diagram trafiają na ten z największą liczbą klas (główny).
Inputs: changes (required), output_path (required), source_path (required), overwrite_output. Returns: result
vpp_export_plantumlB
Eksport (fragmentu) diagramu klas do PlantUML, np. do studium wzorca: fragment 'przed' i 'po' zmianie. classes = lista nazw klas (domyślnie wszystkie); relacje tylko między wybranymi klasami. diagram = nazwa diagramu klas: eksportuje klasy z tego diagramu (np. z diagramu-fragmentu wzorca).
Inputs: path (required), classes, diagram, with_members. Returns: result
vpp_get_classB
Szczegóły jednej klasy: rodzaj, składowe, wszystkie relacje, w których uczestniczy, i położenie na diagramach klas.
Inputs: name (required), path (required). Returns: result
vpp_get_sequence_diagramC
Opis diagramu sekwencji: uczestnicy od lewej, komunikaty z numerami VP (1, 1.1, ...), rodzaj, nadawca, odbiorca, operacja; fragmenty (loop/alt/opt) z warunkami; refs - użycia innych diagramów (ref) z miejscem: frame albo operand.
Inputs: name (required), path (required). Returns: result
vpp_list_classesB
Lista klas, klas abstrakcyjnych, interfejsów i enumeracji. with_members=true dodaje atrybuty, metody i wartości enumeracji w notacji UML (np. '-email : String', '+zaloguj(email : String, haslo : String) : boolean').
Inputs: path (required), with_members. Returns: result
vpp_list_patternsB
Wzorce, które potrafi zastosować vpp_apply_pattern, z opisem i parametrami.
Inputs: no named parameters. Returns: result
vpp_list_relationshipsB
Relacje w notacji PlantUML-podobnej: generalizacje (--|>), realizacje (..|>), zależności (..> «stereotyp»), asocjacje z licznościami i rolami (--, -->, o--, *--). Każda ma id (potrzebne do usuwania). class_name zawęża do relacji danej klasy.
Inputs: path (required), class_name. Returns: result
vpp_project_infoB
Podsumowanie projektu .vpp: diagramy (nazwa, typ), liczba klas/interfejsów/enumeracji, aktorzy, przypadki użycia, liczba relacji, czy plik jest otwarty w VP.
Inputs: path (required). Returns: result
vpp_render_diagramA
Rysuje diagram klas do PNG z geometrii zapisanej w pliku .vpp (klasy ze składowymi, stereotypy, linie relacji ze strzałkami, rombami, licznościami, rolami). To nie jest renderer Visual Paradigm, ale pokazuje te same pozycje i rozmiary, więc wystarcza do oceny układu: nakładania, linie przez klasy, przecięcia, tłok. Zwraca opis i obraz. diagram: nazwa (domyślnie główny, czyli z największą liczbą klas); output_png: gdzie zapisać (domyślnie katalog tymczasowy); scale: np. 0.5 dla dużych diagramów; crop: [x0, y0, x1, y1] w współrzędnych diagramu. Wymaga Pillow.
Inputs: path (required), crop, scale, diagram, +1 more.
vpp_render_sequenceA
Rysuje diagram sekwencji do PNG z geometrii zapisanej w pliku .vpp (linie życia, aktywacje, komunikaty z numerami i sygnaturami, fragmenty loop/alt/opt z warunkami, ref). To nie jest renderer Visual Paradigm, ale pokazuje te same pozycje, więc wystarcza do oceny układu: gdzie leżą fragmenty, czy etykiety się mieszczą, jak szeroki jest diagram. Zwraca opis i obraz. diagram: nazwa diagramu sekwencji; output_png: gdzie zapisać (domyślnie katalog tymczasowy); scale: np. 0.6 dla dużych diagramów. Wymaga Pillow.
Inputs: path (required), diagram (required), scale, output_png.
vpp_verifyB
Strukturalna kontrola pliku .vpp (odwołania, ID, powiązania model–widok, listy). Pliki zapisane przez VP przechodzą ją zawsze.
Inputs: path (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
The tools divide cleanly into read (list_classes, get_class, list_relationships, get_sequence_diagram, project_info), write (edit_class_model, add_sequence_diagrams, delete_sequence_diagram, apply_pattern), visualization (render_diagram, render_sequence, export_plantuml) and verification. The only mild confusions are render_diagram vs export_plantuml (both present a class diagram, one as geometry-PNG, one as text) and get_sequence_diagram vs render_sequence (text vs image of the same diagram); the descriptions do distinguish them. No two tools appear to do the same thing.
All tools share a vpp_ prefix and snake_case, and nearly all follow verb_noun (list_patterns, get_class, render_sequence, add_sequence_diagrams, delete_sequence_diagram). The only deviations are the noun-only vpp_project_info and the bare verb vpp_verify, which are still unambiguous and readable.
14 tools is well within the sweet spot and every tool earns its place: the heavy editing surface is consolidated into a single op-based vpp_edit_class_model rather than one tool per operation, and the pattern library is exposed via list_patterns + apply_pattern instead of one tool per pattern. Read, write, render and verify concerns are each covered by a small, coherent set.
The lifecycle is largely covered: inspect project/classes/relationships/sequence diagrams, mutate the class model and relationships, add/delete sequence diagrams, apply patterns, render and structurally verify. Notable gaps: there is no remove_class (only remove_member) and no delete of a class diagram, and sequence diagrams can only be replaced wholesale (delete + re-add) rather than incrementally edited. These are workable but will occasionally force awkward delete-and-recreate workflows.
Maintenance
Related MCP Connectors
Manage SysML2 projects; check, evaluate, verify, query, document and diagram models.
Work with your DealSharp negotiation projects, documents and tools from Claude.
Render, verify, describe, and safely edit Mermaid diagrams through MCP.
Read and edit DB Planner database schemas, diagrams and board layouts as an AI agent.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables generating PlantUML diagrams directly from Claude Desktop, with tools to render, save, and obtain URLs or ASCII art.-
- AlicenseNot gradedqualityBmaintenanceEnables AI clients to inspect and make targeted, revision-checked edits to Excalidraw class diagrams stored in a local Obsidian vault, including adding, moving, rewiring, resizing, and deleting shapes, text, and arrows. It supports low-level design review by summarizing classes and relationships, and confines access to a configured folder while backing up drawings before each change.MIT
- AlicenseNot gradedqualityBmaintenanceLets Claude Code and other agents generate Chen-notation ER diagrams from SQL DDL or SQLAlchemy sources, then read the model, apply edits, re-layout, check for crossings and missing columns, and export PNG/SVG/draw.io. Changes made by the agent refresh any open graphical editor in real time.MIT
- AlicenseNot gradedqualityCmaintenanceEnables local control of Vitech GENESYS from Codex, Claude Code, or Claude Desktop, including exploring models, cloning template projects, creating entities, relations and diagrams, and exporting views as PNG.MIT