pacxio

AI packaging design to print files via MCP: parametric FEFCO & ECMA box, pouch and bottle label dielines + 3D fold preview (MIT, local), plus cloud vector restoration, CMYK print PDFs and factory packs (free during early access).

Documentation

pacxio

Packaging, from a prompt — parametric CAD dielines, 3D folding & print-ready factory files.

PyPI version License: MIT MCP Registry Glama MCP

Open-source Python parametric packaging engine and MCP server for Claude Code, Codex, Antigravity, WorkBuddy and any stdio MCP client. Generate editable dielines (DXF R12, CF2, vector PDF, SVG) and interactive 3D fold previews locally for most FEFCO and ECMA box styles, flexible pouches and bottle/cup labels, then use the pacxio cloud service (free during early access) for artwork layout, concept-to-vector restoration, specialty-paper white underlays, finish plates, preflight and factory delivery packs.

Website · Online Generator · Structure Library · Guides · Install · Docs · Examples · PyPI


See it in action

A 51-second walkthrough: a brief in your coding agent, design choices, the dieline approval and the local packaging workbench.

https://github.com/user-attachments/assets/a0312f38-b2d6-444b-a0ae-4d56e6c51edf

Watch on pacxio.dev · Try the free browser dieline generator (no install) →

Try locally in 10 seconds (no account required)

Generate a parametric FEFCO 0427 mailer dieline and 3D fold preview right from your terminal with uv:

uvx pacxio structures preview 0427 --L 280 --W 210 --H 60 --out preview/

Or connect from any stdio MCP client via the Official MCP Registry (dev.pacxio/pacxio):

uvx pacxio mcp serve

Made with pacxio

pacxio Dieline Tee

FEFCO 0427 mailer · 280 × 210 × 60 mm

A mailer for pacxio's own T-shirt: a blue-to-coral gradient, a silver-foil mark, and a design carried across the back and base. The concept sets the direction; final artwork is rebuilt as vectors on the dieline and previewed on the folded 3D structure.

ConceptFolded 3D preview
pacxio Dieline Tee conceptpacxio Dieline Tee folded 3D preview
Open viewDieline proof
Open FEFCO 0427 mailer showing the inside and closurepacxio Dieline Tee artwork on its dieline

See the full gallery, including concepts, 3D views and dieline proofs →

Install in your AI agent

Paste one line into Claude Code, Codex, Antigravity or WorkBuddy (inside a project folder):

Read pacxio.dev/install to install pacxio

Or install manually with uv:

uv tool install pacxio
pacxio setup --agent claude-code --yes   # or --agent codex | --agent antigravity
pacxio mcp doctor

For WorkBuddy (run inside your project folder):

pacxio setup --agent workbuddy --scope user --yes
pacxio mcp doctor --client workbuddy

Restart your agent after setup, then try a brief:

Make a T-shirt mailer, 280 × 210 × 60 mm.
Show me the dieline and folding 3D before we work on the artwork.

Full installation guide →

Open-source core and cloud service

On your machine · this repository · MITOn the pacxio cloud service · free during early access
Parametric dielines for most FEFCO & ECMA box styles, flexible pouches and bottle/cup labelsArtwork composition, typography and one-command concept-to-vector restoration (pacxio restore run)
Lossless lines-and-arcs dieline export: DXF R12, CF2, vector PDF and SVGCloud neural background removal (BiRefNet-lite) and 300 ppi CMYK preparation
Interactive 3D folding preview (including metallic, holographic, pearl, black & textured stocks)Layered CMYK print PDF, specialty-paper white ink underlays and named spot finish plates (foil, spot UV, emboss)
Local visual workbench (127.0.0.1), workflow Skill and stdio MCP server30+ prepress preflight checks, specification sheet and factory delivery pack

The client routes cloud commands automatically. Run pacxio login to connect your account. Cloud commands send the required job files to the service and return previews, reports and delivery files to your local job folder.

How the open-source core and cloud service work → · Privacy

Command line

Find matching structures from a brief, build a job, and open the local workbench:

pacxio structures suggest --use ecommerce --no-tape --material corrugated --json
pacxio job init jobs/demo --fefco 0427 --L 280 --W 210 --H 60 --material flute_e
pacxio studio start jobs/demo --open
pacxio next jobs/demo

Every command accepts --json and returns {ok, command, job, artifacts, data, errors, warnings}. Errors include a suggested fix. Messages default to English; set PACXIO_LANG=zh for Chinese.

Browse the command guide → · Packaging & prepress guides →

Production checks

  • Print text is typeset by the engine and outlined. AI-generated print images must not contain text.
  • Concepts guide the design. Final artwork is rebuilt from confirmed flats before it goes on the dieline.
  • You approve the proof. Dieline approval is a user step; your agent must leave it to you.
  • Preflight errors block export. Fix them before generating factory files.
  • Dielines use lines and arcs. DXF R12 and CF2 do not contain Bézier curves.
  • Cut and crease lines use named spot colors and overprint. They are never drawn in Registration.
  • Check each structure's verification status. Structural allowances, seal widths and clearances are initial values unless calibrated — always order a physical proof before the first production run.

Development

uv sync
uv run pytest
uv run ruff check .
uv run mypy
uv run pacxio env check

Tests that need the closed-source package are skipped in an open-source-only installation. Fonts and ICC profiles are not bundled in this repository.

Automatic updates & diagnostics

Automatic updates apply only to a standard, unpinned uv tool install pacxio from PyPI. pip, pinned versions, editable/source installs and custom-source installations remain manual. Eligible installations check in the background when MCP starts. A verified update is used on a later startup; your current session keeps its version. Set PACXIO_AUTO_UPDATE=0 to turn automatic updates off.

Check the running and prepared versions locally with pacxio update status --json, or ask your agent to call pacxio_update_status.

To migrate an older install:

uv tool upgrade pacxio
pacxio setup --yes

Restart your agent afterward. Setup updates every supported agent found on your machine; add --agent codex, --agent claude-code, --agent antigravity or --agent workbuddy to target one. To replace a running Workbench, run pacxio studio stop <job> and then pacxio studio start <job> --open.

License and contact

The code in this repository is licensed under MIT. Cloud features are provided as a separate service.

Website · Documentation · Guides · Terms · support@pacxio.dev