artwork-preflight-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@artwork-preflight-mcp check examples/04-low-res.png against the die-cut-sticker-3in preset"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
artwork-preflight-mcp
An MCP server that tells an agent whether a customer's artwork can actually be printed.
Print shops lose time in the same place every day: a file arrives, it looks fine on screen, and only at the proof stage does someone notice it is 900 px wide, has no bleed, or hides a logo 2 mm from the cut line. Those checks are mechanical. This server exposes them as tools, so an agent can answer "what is wrong with this file, and what should we tell the customer" before a human opens it.
It reads files. It never modifies artwork and never places an order.
$ npx artwork-preflight-mcp # speaks MCP over stdioWhat it checks
Check | Fails when |
| pixels per inch of the finished piece fall below the product minimum |
| artwork is a different shape from the product, so fitting it means cropping |
| artwork is exactly trim size, so any cut movement shows white |
| inset content sits closer to the edge than the cut tolerance allows |
| the file has alpha but the product prints on solid stock |
| file is RGB and the press runs CMYK |
| the file declares no resolution, so bleed cannot be confirmed |
| the declared resolution implies a size this product is not, and was ignored |
Errors block printing. Warnings are things the customer should know before approving a proof.
Related MCP server: Vellum
Tools
Tool | Scope | What it returns |
|
| pixel size, declared dpi, colour space, ICC profile, alpha, content box |
|
| every issue found against a print product, each with a severity |
|
| the print products this server knows, with their physical requirements |
|
| per issue: one message for the customer, one action for the operator |
A fix names the number to change:
{
"code": "resolution",
"customerMessage": "At die-cut sticker, 3 x 3 in this file needs to be at least 971 x 971 px. Yours is 300 x 300 px. Send the original artwork, a vector file, or order a smaller size.",
"operatorAction": "Do not upscale. Upscaled raster art prints soft and the customer blames the press."
}Try it
examples/ holds five files covering the cases that actually arrive. Point the server at that
folder and run the checks below - the expected result is what you should see, verbatim.
PREFLIGHT_ROOT=./examples node dist/index.jsFile | Preset | Expected |
|
| ok - one |
|
| ok - no issues at all |
|
| error |
|
| error |
|
| ok, with a |
|
| ok - 3000 px tagged 96 dpi; the tag is ignored, 927 dpi effective |
|
| error |
|
| errors |
That last row is the point of presets: a file is not "good" or "bad" on its own, only against something you are about to print it on.
A full report looks like this (04-low-res.png, abbreviated):
{
"preset": "die-cut-sticker-3in",
"ok": false,
"effectiveDpi": 93,
"sizeIntent": "unknown",
"issues": [
{
"code": "missing-density",
"severity": "warning",
"message": "The file declares no resolution, so we cannot tell whether bleed was included. Resolution below is measured against the finished size."
},
{
"code": "resolution",
"severity": "error",
"message": "Effective resolution is 93 dpi, below the 300 dpi this product needs.",
"detail": { "requiredWidthPx": 971, "actualWidthPx": 300 }
}
]
}The examples are committed so the server can be tried without setting anything up, and
regenerated with npm run examples - every one of them states its defect in code, in
scripts/make-examples.mjs, next to the numbers that cause it.
Install
npm install
npm run buildClaude Code / Claude Desktop config:
{
"mcpServers": {
"preflight": {
"command": "node",
"args": ["/absolute/path/to/artwork-preflight-mcp/dist/index.js"],
"env": {
"PREFLIGHT_ROOT": "/absolute/path/to/incoming-artwork",
"PREFLIGHT_SCOPES": "inspect,check,fix",
"PREFLIGHT_AUDIT_LOG": "/var/log/preflight-audit.jsonl"
}
}
}
}Variable | Default | Meaning |
| current directory | every file path is resolved inside this directory |
| all | which tools get registered at all |
| unset | JSONL file to append one line per call |
Design notes
Read-only, by construction. No tool writes, converts or flattens anything. A preflight service that silently "fixes" a customer's file is how you end up printing 5,000 stickers with a background someone's code guessed at.
Scopes decide registration, not permission. A tool outside PREFLIGHT_SCOPES is never
listed, so the model cannot call it and be refused - it does not exist in that session.
Refusing a tool the model can see is a prompt-injection surface; not having it is not.
Paths are resolved inside one root. Without that, a server that takes a file path from a model is a general-purpose file reader wearing a print-shop hat.
The audit log counts, it does not copy. Each line records tool, file name, duration and issue count. Artwork contents and full paths stay out: an audit trail that copies the customer's file is not an audit trail, it is a second copy.
A full-bleed design is not a safe-area error. Content touching all four edges is deliberate - that is what bleed is for. Only an inset design that is inset too little gets flagged. Most naive preflight rules get this wrong and train people to ignore warnings.
A declared resolution is a hint, not a fact. 72 and 96 dpi are what editors write when
nobody set anything, and a 3000 px logo tagged 96 dpi is not a low-resolution file - it is an
untagged one. So the dpi in a file is trusted only when it implies a size this product could
plausibly be (trim, or trim plus bleed). Otherwise it is ignored, sizeIntent says unknown,
and resolution is measured as pixels per inch of the finished piece. Every millimetre figure
quoted to a customer comes from a resolution we believed; quoting "your logo is 794 mm wide"
from a meaningless tag destroys trust in the whole report.
Shape is reported as shape. When artwork does not match the product's proportions, the
answer is aspect-mismatch, not a size in millimetres. Cropping or padding changes someone's
design, so the server names the conflict and stops.
Test fixtures are generated; examples are committed. A folder of bad3.png files tells
nobody what is wrong with them six months later, so test/fixtures.ts builds each test case
with the defect named in code. The files in examples/ are the exception: a reader should be
able to clone and run something immediately, and scripts/make-examples.mjs keeps them
reproducible rather than mysterious.
Limits
Raster formats only. SVG, PDF and AI files are the other half of a real preflight service and are not handled here; vector artwork should never fail a resolution check to begin with.
Colour handling is coarse: the server reports the colour space and whether an ICC profile is present. It does not soft-proof, check ink coverage, or predict a specific shift.
Spot colours, overprint and trapping are out of scope.
The content box comes from trimming uniform borders, so a design on a busy photographic background will report no inset even when its text is close to the edge.
Presets are hard-coded in
src/domain/presets.ts. A real deployment would read them from the product catalogue.
Development
npm run typecheck
npm testTests generate their fixtures into a temp directory and run entirely offline.
License
MIT
Available Tools
4 toolscheck_print_readinessCheck print readinessARead-only
Check an artwork file against a print product and return every problem found, each with a severity. Errors block printing; warnings are things the customer should know before approving a proof.
Inputs: file (required), preset (required).
inspect_artworkInspect artworkARead-only
Read the technical properties of an artwork file: pixel size, declared resolution, colour space, ICC profile, transparency and where the visible content sits. Reports what the file says; makes no judgement about whether it can be printed.
Inputs: file (required).
list_presetsList print presetsARead-only
List the print products this server knows how to check, with their physical requirements.
Inputs: no named parameters.
suggest_fixesSuggest fixesARead-only
Turn the problems found in an artwork file into concrete actions - one message written for the customer and one for whoever handles the job internally. Suggests only; it never modifies the file.
Inputs: file (required), preset (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct role: inspect_artwork reads raw file properties, check_print_readiness validates against a product, list_presets enumerates available products, and suggest_fixes generates recommendations. There is no overlap or ambiguity between them.
All four tool names follow a consistent verb_noun pattern: inspect_artwork, check_print_readiness, list_presets, suggest_fixes. The naming convention is uniform and predictable.
With four tools, the server is tightly scoped to the preflight workflow. Each tool earns its place, covering the essential operations without unnecessary bloat or missing coverage.
The domain is artwork preflight, and the set covers the full workflow: inspect raw properties, check against a specific product, discover available products, and get recommended fixes. There are no obvious dead ends or missing operations for a non-mutating preflight service.
Maintenance
Related MCP Connectors
Finds what's broken in your product, explains why, and fixes it from your agent.
Preflight QA for AI-agent deliverables with structured verdicts and repair guidance.
Pre-press for DTF and textile printing: check whether an image prints well at a given size, remove backgrounds with clean edges, upscale to print size at 300 dpi, knock out colors, make halftones for dark garments and nest designs on gang sheets, plus print sizes by garment and advice on print techniques. Works in any language. Sign in with OAuth (or use a PigmentaLab API key); the free plan includes daily credits.
Checks AI-made flyers, cards and posters will print right. Fixes proportions and broken QR codes.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables programmatic document proofing for print, with real ink coverage measurement and waste page detection, letting agents decide what to print before any sheet is produced.ISC
- AlicenseAqualityDmaintenanceEnables AI assistants to inspect generated .docx and .pdf files before delivery, extracting structural, typographic, spacing, and language facts so formatting errors can be caught automatically.6MIT
- AlicenseAqualityBmaintenanceEnables an AI agent to design, lay out, proof and print badges, business cards, flyers, photos and sublimation transfers on real paper printers with millimetre-accurate output, packing mixed items onto shared sheets with crop marks. It also remembers named print profiles, including printer, paper, tray, media type, quality and calibration settings.10MIT
- AlicenseNot gradedqualityCmaintenanceEnables agents to run checklist-driven e-commerce image quality inspection with auditable local rules, returning pass/needs-work/fail verdicts, actionable fixes, SKU consistency checks, report files, threshold advice from reviewer overrides, and token cost estimates.MIT