gridform-mcp
v1.0.0Model Context Protocol server for the Gridform poster engine — generate, render, and translate Swiss-style posters from any MCP client.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_layouts List poster layouts
List or search the Swiss-style layout library (returns ids, names, and tags). Use an id with create_poster.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
query | string | Filter by id, name, or tag (e.g. "photo", "editorial"). |
list_looks List looks
List the one-tap aesthetic presets ("Looks") — palette + type + motion. Use an id with create_poster.
create_poster Create a poster
Generate a poster from text content. Returns the reusable document JSON plus a rendered image. Pure + deterministic (same inputs + seed ⇒ same poster). No key.
| Parameter | Type | Description |
|---|---|---|
content | object | Text per slot (title, headline, subhead, metaA, metaB, image2, image3, image4, image5, caption, logo, footer, dateline, index, body, byline, source), e.g. { "title": "We're Hiring", "subhead": "Join t… |
format | string | Render format (default png). |
layoutId | string | A layout id from list_layouts; omit to pick one from the seed. |
look | string | A look id from list_looks (sets palette/fonts/motion). |
ratio | string | Aspect ratio (default 3:4 portrait). |
scale | number | PNG scale vs the artboard (default 2). |
seed | integer | Determinism seed. |
render_poster Render a poster document
Render a poster document (as returned by create_poster / compose_poster) to PNG or SVG. Supports a transparent sticker crop. No key.
| Parameter | Type | Description |
|---|---|---|
document | A poster document object (from create_poster). | |
format | string | |
scale | number | |
transparent | boolean | Omit the background for a transparent PNG/SVG sticker. |
list_formats List formats
List the artboard formats (Paper · Social · Screen · Photo) you can resize to. Use an id with resize_poster / batch_render. No key.
| Parameter | Type | Description |
|---|---|---|
category | string | Filter by category. |
list_palettes List palettes
List the built-in palettes and curated themes (paper / ink / muted / accent). No key.
list_fonts List fonts
List (and optionally search) the typeface families — id, category, weights, variable. No key.
| Parameter | Type | Description |
|---|---|---|
query | string | Filter by id, name, category, or note. |
list_vibes List vibes
List the one-tap mood "vibes" and the mood-vector dimensions they steer. No key.
resize_poster Resize a poster
Adapt a poster document to a new format / ratio / custom size, reflowing the layout to the new aspect (set stretch:true to keep the grid). Returns the new document + a render. No key.
| Parameter | Type | Description |
|---|---|---|
document | A poster document (from create_poster). | |
format | string | |
formatId | string | A format id from list_formats. |
height | integer | Custom height px (pair with width). |
orientation | string | |
ratio | string | A built-in ratio. |
scale | number | |
stretch | boolean | Keep the grid and just re-project (default: adapt the layout). |
width | integer | Custom width px (pair with height). |
export_pdf Export a print-ready PDF
Render a poster document to a print-ready PDF at a physical size + DPI, with optional crop / registration marks. No key.
| Parameter | Type | Description |
|---|---|---|
cropMarks | boolean | Add trim + registration marks in a 10mm bleed margin. |
document | A poster document (from create_poster). | |
dpi | integer | Raster density (default 300). |
widthMm | number | Physical width in mm; height follows the aspect (default long edge 297mm). |
export_jpg Export a JPEG
Render a poster document to a JPEG (smaller web file; always opaque). No key.
| Parameter | Type | Description |
|---|---|---|
document | A poster document (from create_poster). | |
quality | integer | JPEG quality (default 90). |
scale | number | Scale vs the artboard (default 2). |
batch_render Batch render to many formats
Adapt a poster document to a list of formats / sizes and render them all in one call (e.g. IG Square + Story + A4 + 16:9). Returns each variant document + image. Up to 24 targets. No key.
| Parameter | Type | Description |
|---|---|---|
targets * | array | Each target is a formatId, a ratio, or width+height. |
document | A poster document (from create_poster). | |
format | string | Output format for every target (default png). |
scale | number | Raster scale (default 1.5, to keep the batch light). |
poster_from_text Poster from text
Paste any text (a title plus notes) and get a finished poster — layout, look, and copy chosen automatically. No key.
| Parameter | Type | Description |
|---|---|---|
text * | string | Freeform text — the first strong line becomes the title. |
format | string | |
scale | number |
generate_layout Generate a layout
Synthesize a brand-new, content-fit layout (not a library pick) and apply it. Deterministic by seed. No key.
| Parameter | Type | Description |
|---|---|---|
document | ||
format | string | |
scale | number | |
seed | integer |
bento_poster Bento composition
Arrange the poster into a best-of-N bento grid (content-aware unless smart:false). Deterministic by seed. No key.
| Parameter | Type | Description |
|---|---|---|
document | ||
format | string | |
scale | number | |
seed | integer | |
smart | boolean | Content-aware by default; false = a raw random grid. |
tries | integer | Best-of-N quality budget (default 9). |
resonate Mood-match the design
Read the mood of the copy and apply a matched palette, type pairing, scale, and motion. An optional vibe (bold, calm, warm, cool, editorial, vintage, minimal, luxe, playful) pushes the mood. No key.
| Parameter | Type | Description |
|---|---|---|
document | ||
format | string | |
scale | number | |
seed | integer | |
vibe | string | One of: bold, calm, warm, cool, editorial, vintage, minimal, luxe, playful. |
shuffle_poster Shuffle the style
Best-of-N re-roll of the current layout style — a tasteful upgrade. Vary the seed for different results. No key.
| Parameter | Type | Description |
|---|---|---|
document | ||
format | string | |
scale | number | |
seed | integer |
surprise_poster Surprise me
A full escape — a new layout and a fresh style. Deterministic by seed. No key.
| Parameter | Type | Description |
|---|---|---|
document | ||
format | string | |
scale | number | |
seed | integer |
explore_variations Explore variations
A graded, diverse shortlist of variations in a direction (surprise · bold · calm · warm · cool · mono · editorial · image · minimal). No key.
| Parameter | Type | Description |
|---|---|---|
count | integer | |
direction | string | |
document | ||
scale | number | |
seed | integer |
morph_posters Morph two posters
Interpolate two documents at t in [0,1] (or N evenly-spaced steps) — a blended layout, palette, and type scale. No key.
| Parameter | Type | Description |
|---|---|---|
documentA | ||
documentB | ||
scale | number | |
steps | integer | |
t | number |
art_direct Art-direct (never worse)
Elevate the whole composition (focal hierarchy, type-as-image, accent, polish) to the best variation that is never worse than the original. No key.
| Parameter | Type | Description |
|---|---|---|
document | ||
format | string | |
scale | number | |
seed | integer | |
strength | string |
critique_poster Critique a poster
Score a document (contrast / hierarchy / alignment / balance, 0–100) and locate its issues. No key.
| Parameter | Type | Description |
|---|---|---|
document |
harmonize_palette Harmonize a palette
Build a four-role palette (paper / ink / muted / accent) from one hex + a harmony scheme (complementary · analogous · triadic · split). Pass a document to apply it. No key.
| Parameter | Type | Description |
|---|---|---|
baseHex * | string | A hex colour, e.g. "#1D34D8". |
dark | boolean | |
document | Apply the palette to this document (omit to just return the palette). | |
format | string | |
scale | number | |
scheme | string |
compose_poster Compose a poster from a brief (AI)
Use Anthropic to write the copy, choose a layout, and pick a palette from a one-line brief, then render it. Needs an Anthropic API key.
| Parameter | Type | Description |
|---|---|---|
brief * | string | What the poster is for, e.g. "a jazz night at a downtown loft". |
apiKey | string | Anthropic API key (or set ANTHROPIC_API_KEY). |
format | string | |
model | string | |
scale | number |
write_copy Write poster copy (AI)
Generate on-brand copy variants of a given kind. Needs an Anthropic API key.
| Parameter | Type | Description |
|---|---|---|
context * | string | The brief / context for the copy. |
kind * | string | headline | subhead | tagline | cta | caption | hashtags | concept |
apiKey | string | |
count | integer | |
model | string |
translate_poster Translate a poster (AI)
Translate every text line of a poster document into one or more Latin-script languages. Returns a localized document per language. Needs an Anthropic API key.
| Parameter | Type | Description |
|---|---|---|
languages * | array | Target languages, e.g. ["Spanish","French"]. Latin-script only. |
apiKey | string | |
document | A poster document (from create_poster). | |
model | string |
design_poster Design a poster from a brief (AI)
Like compose_poster, but the AI also picks the typeface, type scale, and a motion preset — a complete design from a one-line brief. Needs an Anthropic API key.
| Parameter | Type | Description |
|---|---|---|
brief * | string | What the poster is for. |
apiKey | string | |
format | string | |
model | string | |
scale | number |
brief_to_campaign Brief to campaign (AI)
A one-line brief becomes a fully-designed base, then N on-brand compositional variations (same palette + type, distinct layouts). Returns each variation + its document. Needs an Anthropic API key.
| Parameter | Type | Description |
|---|---|---|
brief * | string | |
apiKey | string | |
count | integer | How many variations (default 4). |
model | string | |
scale | number | |
seed | integer |
critique_and_fix Critique and fix (AI)
Score the poster, tighten its lead line with the AI, then apply the engine never-worse art-direction. Returns the before/after scores + renders + the fixed document. Needs an Anthropic API key.
| Parameter | Type | Description |
|---|---|---|
apiKey | string | |
document | ||
model | string | |
scale | number | |
strength | string |