Skip to main content
Glama
printful-mcp
by jwlpt45

printful-mcp

Open-source Model Context Protocol server for the official Printful REST API. It is generic: no store is hard-coded, and the private token stays in the environment.

create_order always creates a draft. It sends confirm=false and drops any confirm flag. Printful charges the store payment method and starts fulfillment only when you call confirm_order with confirm set to true.

Author: Bootheel Faith Co. License: MIT.

Repository and homepage: https://github.com/jwlpt45/printful-mcp

Logo: https://raw.githubusercontent.com/jwlpt45/printful-mcp/main/assets/logo.png

Setup

Requires Node.js 20 or newer.

  1. In the Printful Developer Portal, create a private token. A store-level token is enough for one store. An account-level token can see every store; set PRINTFUL_STORE_ID to the store you want (list them with list_stores).

  2. Export the token in the environment that launches the server. Do not commit it, and do not paste it into chat logs.

export PRINTFUL_API_TOKEN="your-private-token"
# Optional. Required for account-level tokens on store-specific calls.
export PRINTFUL_STORE_ID="your-store-id"
  1. Run the server over stdio:

npx -y printful-mcp

From a checkout:

npm install
npm run build
npm start

MCP client config

{
  "mcpServers": {
    "printful": {
      "command": "npx",
      "args": ["-y", "printful-mcp"],
      "env": {
        "PRINTFUL_API_TOKEN": "your-private-token"
      }
    }
  }
}

Add "PRINTFUL_STORE_ID": "your-store-id" inside env when the token is account-level. The same block is in .mcp.json and in .cursor-plugin/plugin.json, .codex-plugin/plugin.json, and .claude-plugin/plugin.json.

The server never writes the token to logs. Errors that echo it are redacted.

Related MCP server: printful-mcp-server

Draft orders

Tool

What it does

estimate_order_costs

Prices a shipment. Creates nothing.

create_order

Saves a draft. Never confirms.

confirm_order

Submits that draft for fulfillment. Requires confirm: true. This can charge the store.

cancel_order

Cancels a draft or pending order when Printful allows it.

Give create_order your own external_id so a retry after a timeout cannot create a second draft.

Printful allows about 120 requests per minute on the general API, and much less for mockup generation and sync-product writes. A 429 includes how many seconds to wait. This server retries once when that wait is 5 seconds or less. Longer lockouts are returned as an error so the caller can wait and try again.

Tools

Tool

API

list_stores

GET /stores

search_catalog

GET /products, then a local text filter (the v1 catalog list has no search parameter)

get_product

GET /products/{id}

get_variants

Product variants, or GET /products/variant/{id}

get_shipping_rates

POST /shipping/rates

estimate_order_costs

POST /orders/estimate-costs

create_order

POST /orders?confirm=false

confirm_order

POST /orders/{id}/confirm

cancel_order

DELETE /orders/{id}

get_order

GET /orders/{id}

list_orders

GET /orders

list_sync_products

GET /sync/products

create_sync_product

POST /store/products from catalog variant ids, a print-file URL, and a placement

upload_file

POST /files by URL

create_mockup_task

POST /mockup-generator/create-task/{product_id}

get_mockup_task

GET /mockup-generator/task?task_key=

Example draft

Recipient fields below are fictional.

{
  "shipping": "STANDARD",
  "recipient": {
    "name": "Jane Doe",
    "address1": "Address line 1",
    "city": "Sample City",
    "state_code": "CA",
    "country_code": "US",
    "zip": "00000"
  },
  "items": [
    {
      "variant_id": 4012,
      "quantity": 1,
      "files": [{ "type": "front", "url": "https://example.com/art.png" }]
    }
  ]
}

Pass that object to estimate_order_costs, then to create_order. Stop there until someone explicitly agrees to pay. Then call confirm_order with { "order_id": 44, "confirm": true }.

Skills

  • skills/publish-print-on-demand-product/ — catalog variant, print file, mockup, sync product.

  • skills/place-printful-order/ — estimate, draft, then confirm only after an explicit yes.

Development

Tests mock HTTP with MSW. They do not call Printful.

npm test
npm run build

License

MIT, Copyright 2026 Bootheel Faith Co. See LICENSE.

Available Tools

16 tools
cancel_orderCancel orderA
Destructive

Cancel a draft or pending Printful order. Charged amounts are returned by Printful when the order is eligible.

Inputs: order_id (required).

confirm_orderConfirm draft orderA
Destructive

Submit an existing DRAFT order for fulfillment. This charges the store payment method. confirm must be the boolean true. Do not call this unless a person explicitly asked to place and pay for the order.

Inputs: confirm (required), order_id (required).

create_mockup_taskCreate mockup taskA

Start an asynchronous Printful mockup task for a catalog product. This endpoint is tightly rate limited (about 2 to 10 calls per minute). Poll get_mockup_task with the returned task_key. On 429, wait the reported seconds before retrying.

Inputs: file_url (required), product_id (required), variant_ids (required), width, +2 more.

create_orderCreate draft orderA

Create a Printful order as a DRAFT only. This tool always sends confirm=false, ignores any confirm flag, and never charges the store. Fulfillment happens only if you later call confirm_order with confirm set to true. Prefer a unique external_id so a retry cannot duplicate the draft.

Inputs: items (required), recipient (required), shipping, external_id.

create_sync_productCreate sync productB

Create a sync product from one or more catalog variant ids, a print-file URL, and a placement (front, back, default, or another Printful file type). The same file URL is applied to every variant.

Inputs: name (required), file_url (required), variant_ids (required), placement, +2 more.

estimate_order_costsEstimate order costsA
Read-only

Estimate item, print, shipping, and tax costs without creating an order. Call this before create_order. Nothing is charged.

Inputs: items (required), recipient (required), shipping, external_id.

get_mockup_taskGet mockup taskA
Read-only

Read a mockup generation task. When status is completed, result.mockups contains image URLs. If status is pending, wait and call again.

Inputs: task_key (required).

get_orderGet orderA
Read-only

Get one Printful order by id, including status, costs, and shipments.

Inputs: order_id (required).

get_productGet catalog productB
Read-only

Get one Printful catalog product, including its variants, by catalog product id.

Inputs: product_id (required).

get_shipping_ratesGet shipping ratesB
Read-only

Calculate Printful shipping options for catalog or warehouse items. country_code is required. state_code is required for US, CA, and AU. These rates can differ from estimate_order_costs when store shipping settings apply.

Inputs: items (required), recipient (required), locale, currency.

get_variantsGet catalog variantsA
Read-only

Get variants for a catalog product, or one variant by variant id. Pass product_id or variant_id, not both.

Inputs: product_id, variant_id.

list_ordersList ordersA
Read-only

List orders for the current store. Filter by status (for example draft, pending, fulfilled, canceled). limit max is 100.

Inputs: limit, offset, status.

list_storesList storesA
Read-only

List Printful stores visible to the private token. Use a store id from this list as PRINTFUL_STORE_ID when the token is account-level.

Inputs: no named parameters.

list_sync_productsList sync productsB
Read-only

List sync products in the connected store. status can be all, synced, unsynced, ignored, imported, discontinued, or out_of_stock.

Inputs: limit, offset, search, status.

search_catalogSearch catalogA
Read-only

Search the Printful product catalog. The v1 catalog endpoint has no text query, so this loads the catalog (optionally by category_id) and filters title, brand, model, and type locally. Results are paged with offset and limit (default 20, max 100).

Inputs: limit, query, offset, category_id.

upload_fileUpload file by URLA

Add a file to the Printful file library by URL. If the same URL already exists, Printful returns the existing file. Processing is asynchronous; status starts as waiting and later becomes ok or failed. Deprecated .ai, .psd, and .tiff sources are rejected by Printful.

Inputs: url (required), type, visible, filename.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 16 tools

    Disambiguation4/5

    Most tools have clearly distinct resource+action targets, and descriptions explicitly warn about overlaps (confirm_order requires explicit human intent, get_shipping_rates vs estimate_order_costs are explained). Minor confusion remains between get_product and get_variants (the latter also fetches a single variant and get_product already returns variants), and between the two cost-estimation tools. Overall an agent can reliably pick the right tool.

    Naming Consistency5/5

    All 16 names are snake_case with a consistent verb_noun pattern (list_, get_, create_, confirm_, cancel_, estimate_, search_, upload_). The convention is uniform across every resource type, so the pattern is completely predictable.

    Tool Count4/5

    16 tools is on the heavier side but each maps to a genuine Printful domain operation (catalog, files, mockups, sync products, stores, shipping, order lifecycle). Nothing feels redundant, though a couple of read tools (get_product/get_variants) could be consolidated.

    Completeness4/5

    Order lifecycle is fully covered (create draft, confirm, cancel, get, list) and catalog/files/mockups/shipping are all present. The main gap is the sync product lifecycle: create and list exist but there is no get_single, update, or delete/ignore sync product tool, which will force awkward workarounds for managing existing products.

    Maintenance

    ActivitySlowing
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers