Listed from the MCP registry; nobody on Odel publishes it.
Render and validate diagrams as code: Mermaid, PlantUML, C4, Graphviz, D2 and more.
Runs on your machine from its package; the steps are below.
At most: creates or changes data: records, files, settings.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
npx -y @archform/mcp
MCP client config
{
"mcpServers": {
"archform": {
"command": "npx",
"args": [
"-y",
"@archform/mcp"
]
}
}
}Diagrams as code for AI assistants.
This diagram was drawn by Archform. Connect it to your assistant and ask, for example, "Draw a C4 context diagram of a URL shortener."
This is the monorepo for the @archform npm scope.
| Package | Description |
|---|---|
@archform/mcp | MCP server that renders and validates Mermaid, PlantUML, C4, Graphviz, D2, Structurizr, BPMN and Excalidraw diagrams |
claude mcp add archform -- npx -y @archform/mcp
See packages/mcp for Claude Desktop, Cursor, VS Code and ChatGPT setup.
By default diagram source is sent to the public kroki.io service for rendering. Set
KROKI_URLto a self-hosted Kroki to keep it private.
Requires Node.js 22+ and pnpm (corepack enable).
pnpm install
pnpm lint && pnpm typecheck && pnpm test && pnpm build
Bump version in both packages/mcp/package.json and packages/mcp/server.json in a pull request. When it merges to main, the Publish workflow publishes the new version to npm (trusted publishing, with provenance) and to the MCP Registry. Pushes that don't change the version publish nothing.