Create the reading copy
The assistant passes Markdown, code, JSON, or CSV to the local renderer. The PDF is saved without overwriting an existing file.
create_printable_pdfpreview_pdfCodeprint MCP
Ask your assistant to create local PDFs from the work that matters. Preview the result or approve the exact settings before anything reaches your printer.
Architecture plans, research summaries, migration guides, and runbooks collect across chats and tabs. You read half on screen, move on, and lose the mental context that made the document useful.
Step away from the screen. Read with a pen. Ask your MCP client for a printable PDF, inspect the result, or prepare a local print job whose destination and settings remain visible before submission.
PDF creation, printer inspection, and physical submission stay separate so the assistant cannot blur a preview into a print action.
The assistant passes Markdown, code, JSON, or CSV to the local renderer. The PDF is saved without overwriting an existing file.
create_printable_pdfpreview_pdfRead the printers configured by the operating system, then check paper, duplex, and color support before preparing a job.
list_printersget_printer_capabilitiesPrepare returns the exact file, printer, and settings with a five-minute, single-use token. Submit is a separate action after approval.
prepare_print_jobsubmit_print_joblist_print_jobscancel_print_jobOne core rendering engine powers three workflows without sending documents through a Codeprint cloud.
An immediate editor and print preview for everyday use.
PDF rendering and confirmed CUPS printing from the terminal.
The same local capabilities exposed safely to AI assistants.
Powered by @codeprint/core
The preview uses the exact saved PDF bytes, not a separate HTML approximation. Every paper page is shown in full.
Ask for a reading copy in Markdown, code, JSON, or CSV. Codeprint renders and saves it locally.
An MCP Apps client can show page navigation and an exact PDF preview. Other clients can read the PDF resource.
Keep the PDF, request changes, or review a prepared print job. Previewing never submits a physical job.
Preview availability depends on the client’s MCP Apps support. The viewer needs no CDN, analytics script, or Codeprint account. Generated resources stay available for this server session, subject to its memory limit.
The MCP server runs locally and requires Node.js 22.12 or newer. Install the released npm package.
In Claude Desktop, open Settings → Developer → Edit Config. Add this entry, save, and restart Claude.
{
"mcpServers": {
"codeprint": {
"command": "npx",
"args": ["-y", "@codeprint/mcp"]
}
}
}Claude Desktop setup documentation. You can also set CODEPRINT_OUTPUT_DIR to choose a different local PDF folder.
Codeprint has no document upload service, API key, analytics event, localhost bridge, or cloud print queue. PDF bytes are created on your machine and physical jobs go to the printer service already configured by your operating system.
Works without a Codeprint account
Add the local server, create a reading copy, and keep physical printing behind a visible approval step.
npx -y @codeprint/mcp