Archyne
MCP server by archyne Verified · npm:archyne
Archyne is a visual editor for Mermaid diagrams that keeps drawings and Mermaid code in two-way sync. It lets LLMs generate and modify diagrams as plain text, and the output opens on the canvas.
Install Archyne
Built from the published package, never by AI.
claude mcp add archyne -- npx -y archyneRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"archyne": {
"args": [
"-y",
"archyne"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"archyne": {
"args": [
"-y",
"archyne"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"archyne": {
"args": [
"-y",
"archyne"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add archyne -- npx -y archyne{
"mcpServers": {
"archyne": {
"args": [
"-y",
"archyne"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add archyne npx -y archyneGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the archyne block.
About
Archyne is a draw.io-style editor for Mermaid diagrams with two-way sync to Mermaid code. You can drag, connect and rename shapes on a canvas, or edit the Mermaid text, and each side updates the other. Because the document is standard Mermaid, LLMs can generate, read and modify diagrams as plain text, and anything they produce opens on the canvas.
It runs entirely on your own machine, in a browser, as a desktop app, or inside VS Code, with no server or accounts. It can be started with npx archyne, and it can import PlantUML, Graphviz DOT, SQL DDL, draw.io, Visio, Lucidchart and Excalidraw files. It suits anyone working with Mermaid in Markdown or .mmd files who wants a visual editor.
Written from the project's README and checked against it.
What you need
- Node.js, for npm and npx commands
- VS Code, for the Archyne extension
- Windows, macOS or Linux, for desktop builds
Try asking
- Generate a Mermaid flowchart of my login process and open it in Archyne
- Read this .mmd file and explain the sequence it describes
- Modify the Mermaid code in this diagram to add a database node
Good to know
- Desktop builds are not yet code-signed, so Windows warns and macOS needs an xattr command
- Diagram families without a visual editor, such as gantt and pie, open read-only
- Imports are lossy, and anything that cannot come across is counted
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Edit Mermaid diagrams visually
- Let an LLM generate diagrams as text
- Convert PlantUML or draw.io files to Mermaid
Alternatives to Archyne
All alternatives →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
Compare with GitDiagram, mockserver or XcodeBuildMCP
Archyne: common questions
Does Archyne send my diagrams anywhere?
No. The source says Archyne runs entirely on your own machine and nothing leaves it. There is no backend and no accounts.
Can Archyne edit Mermaid blocks inside Markdown files?
Yes, in VS Code a Mermaid block inside Markdown gets an Open on canvas action. The diagram is edited in place and the rest of the document is left alone.
Does importing a file overwrite the original?
No. The source says the original file is never touched, and Save on an import becomes Save-as into a new .mmd file.
How do I install Archyne?
In Claude Code run claude mcp add archyne -- npx -y archyne. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Archyne the official server?
Archyne is published by npm:archyne from its verified domain in the official MCP Registry.
Is Archyne free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Archyne safe to use?
It scores 81 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Archyne?
Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.
Does Archyne work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
