API & MCP

Everything a person can do on TrueType & Variable Font Builder, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

TrueType & Variable Font Builder

Paste a Lumina font project (glyph outlines with Light and Bold masters, kerning, ligatures) or a Grid Font Builder project and get an installable TrueType font. Variable fonts get fvar, gvar, avar, STAT and HVAR tables. The font is read back and every outline, character mapping, checksum and master is verified.

Inputs of TrueType & Variable Font Builder
FieldTypeDefaultDescription
source (required)textarea"{\"format\":\"lumina-font\",\"version\":1,\"familyName\":\"Lumina Starter\",\"dFont project JSON (lumina-font or lumina-grid-font)
outputselect (variable, static)"variable"Font type
masterinteger1Master for a static font (1 = first)
gridKerningselect (project, auto)"project"Grid font kerning. Only for Grid Font Builder projects. Suggested pairs close open combinations such as L·T, T·A or L·V towards the font's typical gap, in whole grid units; your own pairs are kept.
overlapsselect (keep, remove)"keep"Overlapping contours. Font Foundry’s Remove overlaps for every glyph. Glyphs whose masters would no longer match are left unchanged and listed. In variable fonts the merged outlines are cut from the original curves in the same order in every master.
directionselect (keep, correct)"keep"Contour direction. Font Foundry’s Correct direction for every glyph, after removing overlaps. The nesting of the first master decides; every master is reversed the same way.
sampletext—Sample text for the preview
datetext—Creation date written into the font (optional, YYYY-MM-DD)

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "lumina-font-builder": { "type": "http", "url": "https://luminafontbuilder.usefulweb.site/mcp" }
  }
}