DrawFather

Connect to DrawFather

Connect your coding agent to the hosted beta. The agent sends drawing source and edit requests to DrawFather. DrawFather renders the results on the server.

Before you start

You need:

You do not need to install DrawFather. Public signup is not open yet. This beta uses access keys rather than OAuth login.

Connect to the hosted beta

  1. Open your agent’s MCP settings.
  2. Add a remote server named drawfather.
  3. Set the server URL to https://mcp.drawfather.com/mcp.
  4. Add an Authorization header with the value Bearer YOUR_ACCESS_KEY. Replace YOUR_ACCESS_KEY with the key from your invitation.
  5. Save the settings and reconnect the server.
  6. Ask your agent to list DrawFather’s tools. Approve access when the client prompts you.

Choose your setup: Cursor, Codex, or Claude Code. Claude Desktop has separate limits.

Keep your key in private client settings or an environment variable. Do not put it in your repository, a URL, or an agent conversation.

Create your first drawing

Ask your agent:

Create a drawing named first-sketch with three steps: Ask, Sketch, Share. Check the drawing and show a preview. Download the .drawfather source and an SVG into my project’s docs/diagrams folder.

Check that both files exist in your project. Open the SVG and confirm that its labels match the source.

Change the drawing

Ask your agent:

Read first-sketch and its current revision. Rename Sketch to Revise. Keep the other steps in place. Download the updated source and SVG.

Open the new SVG. Confirm that the label changed and the other steps stayed in place.

Download source and exports

Hosted files are stored on DrawFather’s server. Ask your agent to retrieve them through MCP resources or authenticated downloads. A hosted file is not automatically copied into your repository.

Your agent controls where downloaded files are saved. Preview display and download support depend on the client. The hosted server cannot directly read your local folders or Git checkout.

Fix connection problems

Problem What to do
401 Unauthorized Check the access key and the Bearer prefix. If the error remains, ask your inviter to check access.
The client requires OAuth login Use a client that accepts a fixed Authorization header. OAuth is not available in this beta.
A file link fails in a browser Ask your agent to download it through its authenticated connection.
503 Busy Wait briefly, then retry. If an edit may have completed, read the current revision before sending it again.

The service is an early beta. Full hosted client acceptance, public onboarding, per-user quotas and capacity testing are still in progress. No uptime guarantee or commercial plan is published.

Local and self-hosted

Prefer to run DrawFather yourself? The local stdio server and container remain available. The source repository is temporarily private while we prepare the public release; the following commands require repository access. Local use needs Node.js 22 or newer. These instructions do not assume an npm package has been published.

Build the source

git clone https://github.com/its-imad/DrawFather.git
cd DrawFather
npm ci
npm run build

Keep this checkout: your client will launch its compiled dist/cli.js. Your shell and desktop client must be able to find the Node executable.

From the checkout, run:

node dist/cli.js setup --directory /absolute/path/project/drawings

Replace the placeholder with your own writable directory. The setup command prints client configuration; it does not automatically install a server into every agent application. Follow the MCP client guide to register the server in the client you actually use.

Use an absolute path to both dist/cli.js and the drawing directory. On Windows, use the full Windows path and escape backslashes in JSON, or use forward slashes where your client supports them. Desktop applications may need the absolute Node executable path when their environment cannot resolve node.

Make and inspect the first diagram

Ask the connected agent:

Discover DrawFather’s capabilities. Create a three-step process named first-sketch: Ask, Sketch, Share. Check its diagnostics, show a preview and export SVG and PNG. Tell me where the editable source and exports were saved.

Confirm that the .drawfather source exists and that the preview and exported labels agree. Then ask the agent to read the current revision, rename Sketch to Revise, preview the result and export again. Reading the revision first prevents a stale request from overwriting a newer edit.

Use a self-hosted container

Build the image from the source checkout and persist /data:

docker build -t drawfather:0.1.0 .
docker run --rm -i --mount type=volume,source=drawfather-data,target=/data drawfather:0.1.0

Use -i for stdio and omit a pseudo-terminal. The container contract explains client transport and persistence. A local Docker image tag is not a claim that a public container-registry image exists.

If the client cannot start the server

Check Node’s version, the compiled file’s absolute path, directory permissions and the client’s MCP status. Restart the client after configuration changes. In Cursor, enable the server if it initially appears disabled. See the tested client recipes for the relevant application.

The local engine does not require a DrawFather account, access key or model download. The controlling agent’s subscription, model and approval settings remain separate.

DrawFather source release 0.1.0 · Reviewed .

Read as Markdown · Verification records (repository access required)

The source repository is temporarily private. Repository links require access; examples on this website can be downloaded directly.