DrawFather

Drawing tools for your coding agent

Hand-drawn
diagrams.
As code.

Your agent creates and edits the drawing as code. DrawFather turns it into a hand-drawn diagram.

Editable JSON. Export SVG, PNG, JPG, WebP or PDF.
Hosted beta · invitation required.

Engine: ELv2 source-available.
Schema and examples: MIT.

DrawFather, a hand-inked don with a robotic hand, drawing a diagram with his pencil.
Edit the source. See the change.

“Add a cache.
Keep the database in place.”

API connects through Cache to Database. The database retains its original position.
Open full-size diagram ↗

Cache inserted. Database position preserved.

Rendered by DrawFather. See the agent’s edit request.

Your agent works with the drawing source

DrawFather is an MCP tool for diagrams as code. The drawing lives in a JSON file. Your agent can inspect the shapes, edit the text and connections, and render the image.

Read the documentation · Explore diagram types · Inspect source examples

Read the source.
Change the drawing.

A .drawfather file holds the shapes, text and connections. Your agent can read it, change one part, and render the result.

Keep the JSON in your project. Export the image when you need it.

A hand-drawn box labelled API, rendered from the complete JSON example beside it.
This image comes from the JSON shown here.
How the source file works
source-example.drawfather
{
  "type": "drawfather",
  "version": 1,
  "seed": 42,
  "sketch": "handwritten",
  "canvas": {
    "width": 520,
    "height": 240,
    "background": "#fffdf7"
  },
  "elements": [
    {
      "id": "api",
      "type": "rectangle",
      "x": 60,
      "y": 60,
      "width": 400,
      "height": 120,
      "text": "API",
      "fontSize": 32
    }
  ]
}

A complete JSON example. Download the source.

Draw systems, processes and ideas

Explore the examples

Swipe a diagram sideways to inspect it, or open its full-size SVG.

Hand-drawn OAuth sequence between Browser, Application and Identity provider.

Sequence diagrams

Message order, participants and activations.

Sequence source · Full-size SVG ↗
Build, Measure and Learn connected by curved sketch arrows.

Processes and cycles

Show how the next step connects.

Cycle source · Full-size SVG ↗
A launch mind map branching into documentation, real examples, community and feedback.

Mind maps

Organize ideas into editable branches.

Mind map source · Full-size SVG ↗

Connect your agent

Add the server URL and your access key to your agent’s MCP settings. With hosted access, you do not need to install DrawFather.

Already invited? Use the access key shared with you. Public signup is not open yet.

Follow the beta setup guide
Connect Cursor

Copy this entry into your private ~/.cursor/mcp.json. Replace YOUR_ACCESS_KEY with the key from your invitation. Enable DrawFather in Cursor’s MCP settings.

Cursor · MCP configuration
{
  "mcpServers": {
    "drawfather": {
      "url": "https://mcp.drawfather.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_ACCESS_KEY"
      }
    }
  }
}
Cursor setup guide ↗
Connect Codex

Set your access key in the terminal that starts Codex. Then copy this command into your terminal and start a new Codex session.

Codex · terminal command
codex mcp add drawfather --url https://mcp.drawfather.com/mcp --bearer-token-env-var DRAWFATHER_ACCESS_KEY
Codex key and setup guide ↗
Connect Claude Code

Set your access key in Claude Code’s terminal. Merge this entry into your project’s .mcp.json, then open /mcp in Claude Code to check the server.

Claude Code · MCP configuration
{
  "mcpServers": {
    "drawfather": {
      "type": "http",
      "url": "https://mcp.drawfather.com/mcp",
      "headers": {
        "Authorization": "Bearer ${DRAWFATHER_ACCESS_KEY}"
      }
    }
  }
}
Claude Code setup guide ↗
Claude Desktop

The direct hosted setup is not ready for Claude Desktop. This beta has no OAuth login, and hosted desktop support is still being checked.

See current desktop options ↗

Keep real access keys out of your repository. These are setup instructions; full hosted tests in each client are still in progress.

Prefer local or self-hosted?

The local engine and container remain available with repository access. The repository is temporarily private.

Local and container setup

Where are hosted drawings stored?

On DrawFather’s server in your private workspace. Ask your agent to download source and exports into your project. Read about storage.

Questions before you connect

Source files, setup and storage.

Read all answers ↗
What is DrawFather?

DrawFather is an MCP tool for hand-drawn diagrams as code. Your coding agent reads and edits a .drawfather JSON file. DrawFather renders the source as SVG, PNG, JPG, WebP or vector PDF. Use the hosted beta by invitation, or run the engine yourself.

Do I need to install DrawFather?

Not for the hosted beta. Connect a compatible MCP agent using the server URL and your private access key. Access is by invitation and public signup is not open yet. Local and self-hosted use requires an engine installation and, while the repository is private, repository access.

Can I edit the drawing after exporting it?

Yes. Keep the .drawfather JSON source. Your agent can change a shape, label or connection and render the image again. A PNG or JPG does not contain that editable drawing source.

Where are my drawings stored?

In the hosted beta, drawings, history and exports are stored on DrawFather’s server in your authenticated workspace. Ask your agent to download copies into your project. With the local engine, files stay in the directory you choose on a machine you control. Your agent provider has its own data settings in either mode.

Give your agent diagrams as code

Create the source. Change it in chat. Export the image.

Connect your agent