Server data from the Official MCP Registry
HTML to print-ready CMYK PDF/X-4, PDF/X-1a, PDF/X-3 or TIFF, with K-only greys. Made by Marmalade.
About
HTML to print-ready CMYK PDF/X-4, PDF/X-1a, PDF/X-3 or TIFF, with K-only greys. Made by Marmalade.
Security Report
Valid MCP server (0 strong, 2 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry.
9 files analyzed · 1 issue found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"marmalade-open-press": {
"command": "npx",
"args": [
"-y",
"marmalade-open-press@1.2.0"
]
}
}
}Some servers take additional arguments. See the repository for details.
Documentation
View on GitHubFrom the project's GitHub README.
Marmalade Open Press
Marmalade Open Press, made by Marmalade, is a Node.js tool that turns an HTML page into a print-ready CMYK PDF/X-4, with K-only greys and clean blacks on the black plate alone.
It prints the page with Chromium, converts every colour and image through your printer's ICC profile, and keeps grey and black text on the black plate, with a little cyan, magenta and yellow underneath if you ask for it. With Ghostscript installed it also writes PDF/X-1a, PDF/X-3 and CMYK TIFF pages, for printers who ask for something older.
Command line · Library · Colour · Output formats · How it works · Recipes · AI assistants · Limits · Docker · Roadmap · Comparison with other tools · Changelog · Contributing · Releasing · Security
Marmalade turns a family's week into a printed magazine. This is a small part of what we learned about paper, opened to everyone.
The plates
All the text is on the black plate.

On the cyan, magenta and yellow plates only the page tint and the orange word are left.

Both pictures are the same crop of the example poster. They are made by node scripts/separations.js, which needs Ghostscript (gs) on the path.
Install
You need Node 22 or later. From npm:
npm install marmalade-open-press
npx playwright install chromium
Then npx open-press runs the command line, and import { render, convert } from 'marmalade-open-press' the library. Chromium is needed only to draw a page: convert works on a PDF you already have without it.
Or from a clone:
git clone https://github.com/easthillcc/marmalade-open-press.git
cd marmalade-open-press
npm install
npx playwright install chromium
From the clone, run it as npx open-press or node bin/open-press.js. The examples below write open-press for short.
There is also a Dockerfile, for a Chromium and a Ghostscript that are the same every time. The image is built from the repository, not published to a registry: see Docker.
Quick start
open-press page.html page.pdf --profile printer.icc --bleed 3 --check
From the library:
import { render, convert } from 'marmalade-open-press';
const { pdf, report } = await convert(await render('page.html', { bleed: 3 }), { profile: 'printer.icc', bleed: 3 });
Without --profile a stand-in profile is used, and the tool says so. The printer's own profile is the one that counts.
Use it with an AI assistant
An assistant can run the press for you. The package has an MCP server, which gives an assistant one tool, html_to_print_pdf, and a skill, which teaches one the command line. Either will do, and neither is needed to use the tool by hand. Both run the package through npx, so there is nothing to install first except Chromium, once.
claude mcp add open-press -- npx -y marmalade-open-press@latest mcp
codex mcp add open-press -- npx -y marmalade-open-press@latest mcp
Claude Desktop, and any other client that reads an mcpServers block:
{
"mcpServers": {
"open-press": {
"command": "npx",
"args": ["-y", "marmalade-open-press@latest", "mcp"]
}
}
}
Gemini CLI reads the same block from ~/.gemini/settings.json. Codex keeps the server in ~/.codex/config.toml. To keep the server to one folder, add "env": { "OPEN_PRESS_ROOT": "..." } to the block.
Then ask for the file in your own words, such as "make a print-ready PDF of flyer.html with 3 mm of bleed and printer.icc". The skill in skills/open-press is a short manual for an assistant. These lines copy it into place from the npm package, with no clone:
cd "$(mktemp -d)"
tar -xzf "$(npm pack --silent marmalade-open-press@latest)"
mkdir -p ~/.claude/skills ~/.codex/skills
cp -R package/skills/open-press ~/.claude/skills/
cp -R package/skills/open-press ~/.codex/skills/
Where the package is installed, the folder is at node_modules/marmalade-open-press/skills/open-press. AI assistants has every argument, the Claude Code scopes, a note for your project's AGENTS.md and how to confine the server.
Command line
open-press <input.html|url> <output.pdf> [options]
| Option | What it does |
|---|---|
--profile <file.icc> | The printer's CMYK output profile. Without it, a stand-in profile is used and the tool says so. |
--underlay <c,m,y> | Percentages of cyan, magenta and yellow kept under every grey and black, such as 3,2,2. Default 0,0,0. |
--colours <file.json|classic> | A colour table, from a JSON file or a preset name. See Colour. |
--bleed <mm> | Bleed on every side. Sets the TrimBox. A page that names its own size already includes it; a page that names none is printed on A5 plus the bleed. Default 0. See Page size and bleed. |
--format <x4|x1a|x3|tiff> | The output format. Default x4. The others need Ghostscript. See Output formats. |
--dpi <n> | With --format tiff, the resolution of the pages. With x1a and x3, the resolution of a page that had to be flattened. Default 300. |
--check | Prints a report: what was converted, the trim size and the bleed, the lowest image resolution, and warnings. See What --check prints. |
--json | Prints the whole report as one JSON object on standard output. See The report as JSON. |
--version | Prints the version. |
--help | Prints the usage. |
Exit codes:
0: done.1: with--check, RGB is left in the file.2: wrong usage, the conversion failed, Chromium is not installed, or the format needs Ghostscript and it is not installed.
Warnings never change the exit code.
The report as JSON
--json prints the report as one JSON object on standard output, for a script or an assistant to read. Everything else goes to the error stream. A run that fails prints ok: false, exitCode: 2, an error sentence and a code that a program can read. The command line has an example and every field.
Output formats
PDF/X-4 is the house dish, and most printers now eat it without complaint. Some still order from an older menu. For them there is --format.
| Format | What comes out |
|---|---|
x4 | PDF/X-4, in PDF 1.6. The default, and the only one that needs nothing else installed. |
x1a | PDF/X-1a:2001, in PDF 1.3. CMYK only, no transparency. |
x3 | PDF/X-3:2002, in PDF 1.3. No transparency. |
tiff | One CMYK TIFF per page, 8 bits per ink, LZW compressed, with the output profile inside. |
The three that are not x4 are cooked by Ghostscript, a separate program that you install yourself. For x1a and x3, a page that uses transparency anywhere (an opacity, a box-shadow, an rgba() colour) becomes one picture of itself, text included. Send PDF/X-4 if the printer takes it. Output formats has how to install Ghostscript, what flattening costs and the order of preference.
Library
The package has two layers, and each works alone: render draws a page, and convert turns any RGB PDF into a CMYK PDF/X-4. A third step, exportAs, writes the older formats.
import { render, convert, loadColourTable } from 'marmalade-open-press';
const rgb = await render('poster.html', { bleed: 3 });
const colours = await loadColourTable('classic');
const { pdf, report } = await convert(rgb, {
profile: 'printer.icc',
underlay: [3, 2, 2],
colours,
bleed: 3,
});
render(input, options)takes an HTML file path, a URL or markup, and returns an RGB PDF drawn by Chromium at the exact page size.convert(pdfBytes, options)takes any RGB PDF and returns{ pdf, report }. Theprofileis a path or the profile's bytes.exportAs(pdf, format, options)writes the PDF/X-4 as PDF/X-1a, PDF/X-3 or TIFF pages, with Ghostscript.findTransparency(pdf)says which pages use transparency, without Ghostscript.loadColourTable(nameOrPath)returns a checked colour table.OpenPressErrorandERROR_CODES: every failure the tool explains has a stablecode.
The library has every option, the reports, a shared browser for many PDFs, the error codes, and marmalade-open-press/convert, the colour step on its own. TypeScript declarations ship with the package.
Limits
Every tool has a list of things it will not do. This is ours, and it is shorter than most. The five that matter most:
- For PDF/X-1a and PDF/X-3, a page that uses transparency becomes one image, text included.
- Converted images are stored as lossless raw CMYK. The files are larger than the JPEGs they came from.
- Only an
@pagerule without a selector sets the exact size. Other ways to size a page keep Chromium's rounding. - A mesh shading, a shading with a background and any gradient function other than the ones Chromium writes are left in RGB, and the report names them.
- The file is PDF/X-4, PDF/X-1a or PDF/X-3 in structure, but it is not a certificate. The printer's preflight has the last word.
Limits has the whole list, and the roadmap says what is not proven yet.
Why Marmalade made it
Marmalade is an app for families. During the week, everyone adds a few moments: a photo, a line about the day. At the end, Marmalade turns them into a small magazine and sends it to the family's door, printed on paper.
A screen and a press want different things. A browser draws in red, green and blue. A press wants ink: CMYK, a PDF/X file, an output profile, and black text that sits on the black plate alone. A browser gives you none of that, and a plain colour conversion treats a grey as four inks.
So we wrote the step in between, and made it general enough to be useful to anyone who prints from the web: a menu, a poster, a zine, a book of recipes. It is small, it is MIT licensed, and it is yours to use.
A review
A browser prints in red, green and blue, which suits a screen and ruins a press. A screen mixes light. A press mixes ink, and ink is the more expensive opinion. Send a browser's RGB PDF to a printer and the printer's machine has to guess what you meant, and it usually guesses in favour of more ink.
The worst offence is grey text printed in four colours when black would do. A grey built from cyan, magenta, yellow and black has four plates to go wrong instead of one. When the plates drift, and they always drift a little, the letters grow a fuzzy halo, like a photocopy that has been on holiday. Then there is black text on a tinted page. Knock the tint out from under the letters and, when the plates move by a fraction of a millimetre, a hairline of bare paper shows around every letter. Nobody ordered that white outline. It is still there.
This tool is the kitchen that gets it right. Greys and blacks go to the black plate, everything else goes through the printer's profile, and nothing is left to the printer's guesswork. It does not improvise. With --check it prints a report at the end that says what it could not manage, which is more than most kitchens will admit to.
Those who already print with Puppeteer or Playwright are halfway to the table. page.pdf() serves a perfectly good RGB PDF and has no colour option, which is a very fine dish with no one to season it. convert takes that PDF, from whatever drew it, and does the rest.
Verdict, grudgingly: approve. Put the napkin down. The rest is the manual.
What it writes into your files
Every PDF names the program that made it, as all PDF software does. Open Press writes itself as the Producer, in the document information and in the XMP metadata: Marmalade Open Press <version> (https://marmalade.family). A page drawn by render also names it as the Creator, next to Chromium: Marmalade Open Press <version>, with Chromium. A PDF that you give to convert keeps its own Creator. A TIFF page names it in its Software tag, next to Ghostscript.
That is all. There is no mark on the page, no tracking and no network request of its own: the only thing fetched is the page you ask it to open, with whatever that page loads. The lines are yours to change, and we would be glad if you left them.
Licence
MIT. Copyright 2026 East Hill. See LICENSE and NOTICE.
If you copy, fork or vendor the code, a line in your README is welcome, though the licence does not ask for it:
Includes Marmalade Open Press, made by Marmalade (https://marmalade.family).
If you cite it in a paper or a post, CITATION.cff has the details.
Made by Marmalade, which turns a family's week into a printed magazine.
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Scrapling
Freeby D4Vinci · Developer Tools
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
Server Time
Freeby Modelcontextprotocol · Developer Tools
Current time lookup and conversion between IANA timezones
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
