Archform

v0.2.2
io.github.himanshu-mamgain/archform Checked 2 days ago Published 1 month ago

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

Values you need

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

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add archform -- npx -y --package=@archform/mcp@0.2.2 archform-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "archform": {
      "args": [
        "-y",
        "--package=@archform/mcp@0.2.2",
        "archform-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "archform": {
      "args": [
        "-y",
        "--package=@archform/mcp@0.2.2",
        "archform-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "archform": {
      "args": [
        "-y",
        "--package=@archform/mcp@0.2.2",
        "archform-mcp"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.archform]
command = "npx"
args = ["-y", "--package=@archform/mcp@0.2.2", "archform-mcp"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: list_formats, render_diagram, validate_diagram.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json