Archform

Registre officiel Outils de développement

Render and validate diagrams as code: Mermaid, PlantUML, C4, Graphviz, D2 and more.

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

NPM package @archform/mcp
Claude Code
claude mcp add archform -e 'KROKI_URL=<KROKI_URL>' -- npx -y @archform/mcp@0.2.2
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "archform": {
            "command": "npx",
            "args": [
                "-y",
                "@archform/mcp@0.2.2"
            ],
            "env": {
                "KROKI_URL": "<KROKI_URL>"
            }
        }
    }
}

Variables d'environnement

  • KROKI_URL Kroki server used for rendering. Defaults to the public https://kroki.io; set it to a self-hosted instance to keep diagram source private.

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. Archform
  2. Quick start
  3. Development
  4. Releasing
  5. License

Archform

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.

PackageDescription
@archform/mcpMCP server that renders and validates Mermaid, PlantUML, C4, Graphviz, D2, Structurizr, BPMN and Excalidraw diagrams

Quick start

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_URL to a self-hosted Kroki to keep it private.

Development

Requires Node.js 22+ and pnpm (corepack enable).

pnpm install
pnpm lint && pnpm typecheck && pnpm test && pnpm build

Releasing

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.

License

MIT

Questions fréquentes

Qu'est-ce que Archform ?

Render and validate diagrams as code: Mermaid, PlantUML, C4, Graphviz, D2 and more.

Comment installer Archform ?

Il s'exécute sur votre machine. Dans Claude Code : claude mcp add archform -e 'KROKI_URL=<KROKI_URL>' -- npx -y @archform/mcp@0.2.2. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour Archform ?

Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.

Archform est-il open source ?

Oui. Son code est sur GitHub sous licence MIT.

Qui maintient Archform ?

Il est publié par himanshu-mamgain. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.