© 2026 UML Forge. All rights reserved.

AI-generated diagrams may contain errors — review before production use.

FeedbackTermsPrivacy
UML Forge
DocsLog inGet started free
Docs›Getting Started

Getting Started

Connect UML Forge to your coding agent and generate your first diagram in under five minutes.

1

Create a free account and get your API key

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, go to your dashboard → API Keys → Create key. Copy the key that appears — it is shown only once.

Keep your API key private. Do not commit it to a public repository. If it is ever exposed, delete it from the dashboard and create a new one.
2

Install uv (if you don't have it already)

UML Forge is distributed as a Python package and runs via uvx — a tool that installs and runs Python packages in isolated environments with no setup required. You only need to install it once.

macOS / Linux

bash
curl -LsSf https://astral.sh/uv/install.sh | sh

Windows (PowerShell)

powershell
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"

After installing, restart your terminal and verify with uvx --version.

3

Add UML Forge to your coding agent

UML Forge connects to your coding agent via the Model Context Protocol (MCP). Find your agent below, copy the configuration block, replace uf_live_your_key_here with your actual API key, and save the file.

Restart your agent after saving — it needs to reload its MCP server list.

Claude Code~/.claude/settings.json (or run /mcp add in the CLI)
{
  "mcpServers": {
    "umlforge": {
      "command": "uvx",
      "args": ["umlforge"],
      "env": {
        "UMLFORGE_API_KEY": "uf_live_your_key_here"
      }
    }
  }
}
CursorCursor → Settings → MCP Servers
{
  "mcpServers": {
    "umlforge": {
      "command": "uvx",
      "args": ["umlforge"],
      "env": {
        "UMLFORGE_API_KEY": "uf_live_your_key_here"
      }
    }
  }
}
Windsurf~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "umlforge": {
      "command": "uvx",
      "args": ["umlforge"],
      "env": {
        "UMLFORGE_API_KEY": "uf_live_your_key_here"
      }
    }
  }
}
ClineCline → MCP Servers → Add Server
{
  "mcpServers": {
    "umlforge": {
      "command": "uvx",
      "args": ["umlforge"],
      "env": {
        "UMLFORGE_API_KEY": "uf_live_your_key_here"
      }
    }
  }
}
Claude Code shortcut: Instead of editing the file manually, run /mcp inside Claude Code and follow the prompts to add a new MCP server. It writes the configuration for you.
4

Verify the connection

Open a conversation in your coding agent and ask it to list its available tools. You should see all 13 UML Forge tools beginning with umlforge_.

If the tools do not appear, the most common causes are:

  • You did not restart the agent after saving the configuration
  • The API key in the config still says uf_live_your_key_here — replace it with your real key
  • uvx is not installed or not on your PATH — run uvx --version in your terminal to check
5

Generate your first diagram

Not sure which tool to use? Start with umlforge_suggest — describe what you want to achieve in plain English and it will recommend the right tool with all parameters pre-filled and ready to run:

prompt
Use umlforge_suggest with:
task_description: "I want to diagram how a user places an order —
the request goes through an API gateway, hits the Order Service,
calls Stripe for payment, then sends a confirmation email."

Or call a tool directly. Here is a typical first call:

prompt
Use umlforge_api_sequence with:
services: "API Gateway, Order Service, Payment Service, Notification Service"
user_journey: "User places an order — payment is processed and a confirmation email is sent"

Every tool returns a ```mermaid diagram rendered inline in your agent. You can also paste the code block into GitHub, Notion, or any Markdown editor to view and share it.

6

Upgrade to Pro for unlimited diagrams and Guided Mode

The free plan includes 5 diagrams per month. Pro users get unlimited diagrams and unlock Guided Mode — before generating, UML Forge asks 3 targeted questions about your system. The answers are used to produce significantly more accurate and detailed diagrams, especially for complex architectures.

After upgrading, enable Guided Mode by adding one line to your MCP configuration:

json
{
  "mcpServers": {
    "umlforge": {
      "command": "uvx",
      "args": ["umlforge"],
      "env": {
        "UMLFORGE_API_KEY": "uf_live_your_key_here",
        "UMLFORGE_GUIDED_MODE": "true"
      }
    }
  }
}

Restart your agent after adding the line.

Upgrade to Pro →

What to read next

How-to Articles →
Step-by-step guides for security, architecture, ERD, onboarding, and more.
Tool Reference →
All 13 tools listed with descriptions and example use cases.