gridform-mcp

v1.0.0
gridform-mcp Checked 3 days ago Published 5 months ago

Model 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.

ParameterTypeDescription
limitinteger
querystringFilter 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.

ParameterTypeDescription
contentobjectText 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…
formatstringRender format (default png).
layoutIdstringA layout id from list_layouts; omit to pick one from the seed.
lookstringA look id from list_looks (sets palette/fonts/motion).
ratiostringAspect ratio (default 3:4 portrait).
scalenumberPNG scale vs the artboard (default 2).
seedintegerDeterminism 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.

ParameterTypeDescription
documentA poster document object (from create_poster).
formatstring
scalenumber
transparentbooleanOmit 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.

ParameterTypeDescription
categorystringFilter 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.

ParameterTypeDescription
querystringFilter 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.

ParameterTypeDescription
documentA poster document (from create_poster).
formatstring
formatIdstringA format id from list_formats.
heightintegerCustom height px (pair with width).
orientationstring
ratiostringA built-in ratio.
scalenumber
stretchbooleanKeep the grid and just re-project (default: adapt the layout).
widthintegerCustom 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.

ParameterTypeDescription
cropMarksbooleanAdd trim + registration marks in a 10mm bleed margin.
documentA poster document (from create_poster).
dpiintegerRaster density (default 300).
widthMmnumberPhysical 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.

ParameterTypeDescription
documentA poster document (from create_poster).
qualityintegerJPEG quality (default 90).
scalenumberScale 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.

ParameterTypeDescription
targets *arrayEach target is a formatId, a ratio, or width+height.
documentA poster document (from create_poster).
formatstringOutput format for every target (default png).
scalenumberRaster 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.

ParameterTypeDescription
text *stringFreeform text — the first strong line becomes the title.
formatstring
scalenumber

generate_layout Generate a layout

Synthesize a brand-new, content-fit layout (not a library pick) and apply it. Deterministic by seed. No key.

ParameterTypeDescription
document
formatstring
scalenumber
seedinteger

bento_poster Bento composition

Arrange the poster into a best-of-N bento grid (content-aware unless smart:false). Deterministic by seed. No key.

ParameterTypeDescription
document
formatstring
scalenumber
seedinteger
smartbooleanContent-aware by default; false = a raw random grid.
triesintegerBest-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.

ParameterTypeDescription
document
formatstring
scalenumber
seedinteger
vibestringOne 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.

ParameterTypeDescription
document
formatstring
scalenumber
seedinteger

surprise_poster Surprise me

A full escape — a new layout and a fresh style. Deterministic by seed. No key.

ParameterTypeDescription
document
formatstring
scalenumber
seedinteger

explore_variations Explore variations

A graded, diverse shortlist of variations in a direction (surprise · bold · calm · warm · cool · mono · editorial · image · minimal). No key.

ParameterTypeDescription
countinteger
directionstring
document
scalenumber
seedinteger

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.

ParameterTypeDescription
documentA
documentB
scalenumber
stepsinteger
tnumber

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.

ParameterTypeDescription
document
formatstring
scalenumber
seedinteger
strengthstring

critique_poster Critique a poster

Score a document (contrast / hierarchy / alignment / balance, 0–100) and locate its issues. No key.

ParameterTypeDescription
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.

ParameterTypeDescription
baseHex *stringA hex colour, e.g. "#1D34D8".
darkboolean
documentApply the palette to this document (omit to just return the palette).
formatstring
scalenumber
schemestring

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.

ParameterTypeDescription
brief *stringWhat the poster is for, e.g. "a jazz night at a downtown loft".
apiKeystringAnthropic API key (or set ANTHROPIC_API_KEY).
formatstring
modelstring
scalenumber

write_copy Write poster copy (AI)

Generate on-brand copy variants of a given kind. Needs an Anthropic API key.

ParameterTypeDescription
context *stringThe brief / context for the copy.
kind *stringheadline | subhead | tagline | cta | caption | hashtags | concept
apiKeystring
countinteger
modelstring

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.

ParameterTypeDescription
languages *arrayTarget languages, e.g. ["Spanish","French"]. Latin-script only.
apiKeystring
documentA poster document (from create_poster).
modelstring

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.

ParameterTypeDescription
brief *stringWhat the poster is for.
apiKeystring
formatstring
modelstring
scalenumber

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.

ParameterTypeDescription
brief *string
apiKeystring
countintegerHow many variations (default 4).
modelstring
scalenumber
seedinteger

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.

ParameterTypeDescription
apiKeystring
document
modelstring
scalenumber
strengthstring