DocsGetting Started

Getting Started

Set up UML Forge in your coding tool and generate your first diagram in under five minutes.

1

Create a free account

Sign up at umlforge.dev/signup. No credit card required — the free plan gives you 5 diagrams per month across all 13 tools.

After signing up, open the dashboard, go to API Keys, and create a key. Copy it — it is shown only once.

2

Create your config file

UML Forge reads its settings from ~/.umlforge/config.toml. Run these two commands in your terminal to create it:

bash
mkdir -p ~/.umlforge

cat > ~/.umlforge/config.toml << 'EOF'
api_key = "uf_live_your_key_here"
guided_mode = false
EOF

Replace uf_live_your_key_here with the key you copied from the dashboard. Set guided_mode = true if you are on the Pro plan.

3

Add UML Forge to your coding tool

UML Forge works through the Model Context Protocol (MCP). Add the connector configuration for your tool below. After saving, restart your tool to pick up the new server.

Claude Code~/.claude/settings.json (or add via /mcp in the CLI)
{
  "mcpServers": {
    "umlforge": {
      "command": "uvx",
      "args": ["uml-forge-mcp"]
    }
  }
}
CursorCursor → Settings → MCP Servers
{
  "umlforge": {
    "command": "uvx",
    "args": ["uml-forge-mcp"]
  }
}
Windsurf~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "umlforge": {
      "command": "uvx",
      "args": ["uml-forge-mcp"]
    }
  }
}
ClineCline → MCP Servers → Add Server
{
  "mcpServers": {
    "umlforge": {
      "command": "uvx",
      "args": ["uml-forge-mcp"]
    }
  }
}
Requires uv: The uvx command comes with uv. Install it with curl -LsSf https://astral.sh/uv/install.sh | sh (macOS/Linux) or powershell -c "irm https://astral.sh/uv/install.ps1 | iex" (Windows).
4

Generate your first diagram

Open a conversation in your coding tool and ask it to call a UML Forge tool. The simplest first call is umlforge_suggest — describe what you are building and it will recommend the right diagram type:

prompt
Use umlforge_suggest to recommend the best diagram type for:
"I'm designing the checkout flow for an e-commerce app —
user adds to cart, enters payment, Stripe processes it,
order is confirmed and emailed."

Or go directly to a diagram tool. Here is a typical first call:

prompt
Use umlforge_api_sequence with:
- endpoints: "POST /orders, POST /payments, GET /orders/{id}"
- services: "OrderService, PaymentService, NotificationService"
- auth_method: "JWT Bearer"
- include_error_flows: true

The tool returns a Mermaid diagram rendered inline. Copy the ```mermaid block into any Markdown editor, GitHub, or Notion to view it.

5

Upgrade to Pro for Guided Mode

Free users get all 13 tools. Pro users also unlock Guided Mode — before generating, UML Forge asks 3–5 clarifying questions about your system. The answers produce significantly more accurate diagrams, especially for complex systems.

To enable Guided Mode after upgrading, set the flag in your config file:

toml
# ~/.umlforge/config.toml
api_key = "uf_live_your_key_here"
guided_mode = true   # ← enable after upgrading to Pro