Back to Browse

Diacraft MCP Server

Developer ToolsLow Risk10.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

Draw and edit diagrams, and open and save VSDX, ODG and DiaCraft files, from an AI agent.

About

Draw and edit diagrams, and open and save VSDX, ODG and DiaCraft files, from an AI agent.

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (0 strong, 2 medium validity signals). No known CVEs in dependencies. Imported from the Official MCP Registry.

13 files analyzed · No issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

How to Install

Install command not verified. See the repository for install instructions.

View repository

Documentation

View on GitHub

From the project's GitHub README.

DiaCraft

DiaCraft — diagramming software, with an engraved octopus connecting diagram shapes

Watch the 7-minute tour on YouTube, or the 55-second Short. Subscribe on YouTube for the next ones.

DiaCraft is an open-source, pure-Rust diagramming application: stencils and masters, ShapeSheet formulas, smart connectors, the VSDX file formats, draw.io diagrams, and the other diagram formats people commonly use alongside them. It targets macOS, Windows, Linux and the web, and everything a person can do can also be driven by an agent through a CLI and an MCP server. An agent's files can be kept to the folders you grant (--automation-read-root and --automation-write-root, for the MCP server and the app's control channel: docs/mcp.md); with none given it reaches any file you can.

DiaCraft opens and saves Visio drawings, stencils and templates (.vsdx, .vsdm, .vssx, .vssm, .vstx, .vstm), opens draw.io diagrams (.drawio, .dio) as new drawings, opens and saves OpenDocument drawings and templates (.odg, .otg, .fodg) and its own .diacraft files, and exports a page as PNG, SVG or PDF. A draw.io diagram brings its pages, shapes, connectors, text and data (pictures and stencil shapes are not read yet), and DiaCraft saves it as a VSDX, OpenDocument or .diacraft file, never as a .drawio file.

Status: 0.2.5, an early release. Foundations are in place: a window laid out like a diagramming app (ribbon, Shapes window, rulers and grid, page tabs, status bar, File view) that opens on an empty drawing, a .vsdx file, a draw.io diagram or an OpenDocument drawing (.odg, .fodg) (diacraft FILE, or File, Open) and draws every page of it, a command engine, a control channel, a CLI and an MCP server. It can draw a small diagram by hand (drop shapes from the Shapes window, move and resize them, join them with connectors, type their labels, colour them, set their fonts, turn, flip, align and reorder them) and save it as .diacraft, .vsdx or .odg, and it opens the file again (a drawing that came from a VSDX, OpenDocument or .diacraft file is saved in that file's format unless another is chosen, and a draw.io diagram is saved with Save As); many of the window's other controls are drawn and not yet working. DiaCraft's own format, .diacraft, has a public specification, and the engine opens and saves it through the command line, the MCP server and the control channel (a new drawing is a .diacraft drawing, which keeps no file's bytes: its first save is .diacraft, a Save As to a VSDX type writes it from the model, and a .vsdx that was opened is saved as a .vsdx; the window's file dialogs offer the format first, and it is the default of the 0.2 release). diacraft-cli convert FILE --out PATH writes a drawing as another type by the extension of PATH (the engine's own Save As for a drawing type, .png, .svg or .pdf for a picture: docs/cli.md). See ROADMAP.md. The Shapes gallery uses a compact stencil chooser, a filter for the active stencil and uniform square cards with centered graphite previews and name-only hover tooltips in both light and dark themes. The interface uses neutral surfaces, a quieter grid and regular open interface fonts when available. The app uses its original octopus icon and a matching cover on File Home (artwork and provenance).

The built-in catalogue contains sixteen stencils and 174 masters: Basic Shapes, Basic Flowchart, Decorative Shapes, Arrow Shapes, basic Gane-Sarson, the Cross-Functional Flowchart Shapes, the Organization Chart Shapes, UML Class, UML Use Case, UML Sequence, BPMN Shapes, C4 Model, Network Devices, Computers and Devices, Crow's Foot Database Notation and Chen's Database Notation, with thirteen templates on File, New (Basic Diagram, Basic Flowchart, Cross-Functional Flowchart, Organization Chart, UML Class, UML Use Case, UML Sequence, BPMN Diagram, C4 Model Diagram, Data Flow Model (Gane-Sarson), Basic Network Diagram, Crow's Foot Database Notation and Chen's Database Notation); the nine of the second batch open with their template or from More Shapes. Every master saves and reopens in a .vsdx, and in a drawing that came from an .odg (they are written there as the outlines they draw, and read back as the session had them). The ShapeSheet window shows the cells of a shape, a page or the document, edits them, and adds and deletes their rows and sections, and commands set any cell and add and delete rows and sections. A shape, a page and a master carry alt text, typed in the Format Shape pane's Alt Text tab and Page Setup's, checked in the Accessibility pane that Review, Check Accessibility opens, set and checked by commands (shape.alt_text, page.alt_text, master.alt_text, review.check_accessibility) and written by an SVG export as each shape's title and description. The shape operations are Union, Combine, Fragment, Intersect, Subtract, Join, Trim, Offset and Fit Curve; Reverse Ends swaps a connector's ends (Ctrl+Alt+R); Ctrl+Alt+K doubles and Ctrl+Alt+Shift+K halves the connection points of a shape's edges, with every connector kept glued; a right-to-left paragraph is mirrored and edited right to left; and the inside of a hollow line end takes the shape's fill. An .odg that DiaCraft writes carries its dashes, its connectors' glue and its connection points to other programs.

To try what exists: cargo run --release -p diacraft. The web build (apps/diacraft-web) runs the same window in a browser tab: cargo xtask site --web builds it with trunk into a folder of its own, the root of the app's own site, beside the folder of the website's pages (the module is 17.35 MiB, in three parts of at most 8 MiB where Cloudflare Pages allows a file 25 MiB, and the splash picture, the cover and the licence list are fetched when they are shown), and the site's "Open DiaCraft in your browser" page says what it leaves out. It opens, saves and exports files on the reader's computer (the file chooser or a drop, a download or a write to the file the reader chose) and sends nothing anywhere; it refuses in words a drawing too large for the browser's memory, and has no printer, only a PDF (docs/website.md, "The web app").

Install

From the first release (0.2), each version has downloads for Linux, Windows and macOS on the project's GitHub releases page, with a SHA256SUMS.txt file to check them against: an installer and an archive for each system, for Intel/AMD (x86_64) and for ARM64 where there is one. Each holds the app (diacraft) and the command line tool (diacraft-cli), the licences (DiaCraft's own, and those of the libraries it is built from), and an archive has a README.txt that says how to start them. The downloads are not signed in 0.2, so Windows and macOS ask you to confirm the first time you open the app (how). Each release also has six MCP bundles, diacraft-mcp-<version>-<system>-<cpu>.mcpb, one for each build below: DiaCraft's MCP server for an app that installs MCP servers (docs/mcp.md, "Installing it from a bundle or a directory").

SystemDownloadNeeds
Linux, Intel/AMD (x86_64) and ARM64diacraft-<version>-linux-<arch>.AppImage (make it executable and run it), .deb (sudo apt install ./file.deb on Debian and Ubuntu, which also installs the shell completions and manual pages of the command line), .rpm (from 0.2.4; sudo dnf install ./file.rpm on Fedora, which installs them too) or .tar.gz (unpack it, run ./diacraft, or run ./install.sh to add it to your application menu); <arch> is x86_64 or aarch64glibc 2.35 or newer on either CPU (Ubuntu 22.04, Debian 12), Wayland or X11, a Vulkan or OpenGL driver
Windows, Intel/AMD (x64) and ARM64diacraft-<version>-windows-<arch>.msi, with <arch> x64 or arm64: an installer for you alone, no administrator rights, with a Start menu shortcut, diacraft-cli on your PATH and DiaCraft in "Open with" for .diacraft, .vsdx and .odg; or -portable.zip: unpack it and double-click diacraft.exeWindows 10 or 11, a DirectX 12, Vulkan or OpenGL driver
macOS, Apple silicon and Inteldiacraft-<version>-macos-<arch>.dmg: drag DiaCraft.app onto Applications; or .zip; <arch> is arm64 (Apple silicon) or x86_64 (Intel)macOS 11 or newer

To build from source instead: cargo build --release --locked -p diacraft -p diacraft-cli (Rust 1.100.1 is what CI uses; on Linux the window-system and font development packages that .github/workflows/ci.yml lists). diacraft-cli --version and diacraft --version print the version. diacraft-cli --help lists what the command line does (in colour and wrapped to the window at a terminal, plain in a pipe; --color and NO_COLOR decide), diacraft-cli completions bash|zsh|fish|powershell|elvish writes the completion script of your shell and diacraft-cli man a manual page (docs/cli.md says where each goes). How a release is made and signed: docs/releasing.md.

How it is built

Most of DiaCraft's code and documentation is written by AI coding agents, and the human maintainer decides what is built, in what order, and what ships. The agents follow the rules in AGENTS.md: behaviour comes only from public documentation and public sample files, never from taking apart the proprietary apps whose files DiaCraft opens; lints refuse unsafe, unwrap, expect and panic in shipped code; the file readers are fuzzed; more than 260 properties are proved with Kani; and a full gate of more than 12,000 tests passes before anything is pushed. Code copied from other projects is listed in docs/provenance.md and every asset in ATTRIBUTION.md; the branding art is AI-assisted, as NOTICE says.

DiaCraft is written from public information only. Nothing from another vendor's program is used (no binaries, stencils, templates, fonts or help files), and no code under a copyleft licence is copied. The desktop application whose files DiaCraft opens and saves, which the docs call the reference app, is never taken apart: how it behaves comes from its public documentation and public sample files, and claims about that stay marked unverified. The files DiaCraft writes are being tested by opening them in the reference app, in LibreOffice Draw and in draw.io. If a DiaCraft file does not open as you expect in one of them, a public issue saying what happened helps a lot.

The architecture and standards follow the storytold craft apps, and some of their permissively licensed code is reused with attribution (docs/provenance.md).

DiaCraft is an independent project. The trademarks it names, and the owners it is not affiliated with or endorsed by, are in NOTICE.

How to build it, run the checks and send a change: CONTRIBUTING.md.

License

Code and original assets are licensed under either of MIT or Apache-2.0, at your option.

The libraries DiaCraft is built from have licences of their own, and those licences ask that their notices travel with the programs. They are in THIRD-PARTY-LICENSES.txt: every crate the app and the command line are built from on Linux, Windows and macOS, the licence DiaCraft uses it under, and each licence text. cargo xtask licenses makes the file and cargo xtask licenses --check keeps it current. Every download carries it beside NOTICE and ATTRIBUTION.md (the fonts and the pictures), and the window shows it under File, About, Third-party licences. The web build has a list of its own, THIRD-PARTY-LICENSES-WEB.txt, which the web app's window shows.

Reviews

No reviews yet

Be the first to review this server!