Printify MCP

Printify MCP

Enables AI assistants to run a print-on-demand store by creating products on Printify, pricing from production cost, publishing to Shopify and its sales channels, and generating ad creative from mockups.

Category
访问服务器

README

Printify MCP

An MCP server for running a print-on-demand store from an AI assistant: create products on Printify, price them from their production cost, publish them, push them to every Shopify sales channel, and render ad creative from the product mockups.

Fork of TSavo/printify-mcp, substantially extended. See Differences from upstream.

Why it exists

The Printify API alone gets you about two thirds of a working pipeline. The gaps that this fills, each found by hitting it in production:

  • Prices are hand-typed. Printify reports each variant's production cost, but nothing derives a price from it. set_prices does, in margin, markup or fixed mode, rounding upward so rounding never eats the target margin.
  • Publishing reaches one channel. Printify publishes to Shopify's Online Store publication and stops. TikTok, Google & YouTube, Pinterest, Shop and POS stay unpublished until something else pushes them. publish_to_sales_channels does that.
  • Printify guesses the product type wrong. A flask arrives typed "Mug", a candle as "Home Decor". Downstream channels map their taxonomy from that field. set_product_category derives it from Shopify's own category.
  • Ad creative is manual. create_product_carousel and create_product_ads build vertical posts from the product's real mockups.

Install

git clone https://github.com/<you>/printify-mcp.git
cd printify-mcp
npm install
npm run build
cp .env.example .env      # then fill in PRINTIFY_API_KEY

Register it with your MCP client. For Claude Code:

{
  "mcpServers": {
    "printify": {
      "type": "stdio",
      "command": "node",
      "args": ["/absolute/path/to/printify-mcp/dist/index.js"]
    }
  }
}

The server resolves .env from its own package directory, not the working directory, so it works no matter where the host launches it from.

Only PRINTIFY_API_KEY is required. Shopify and Replicate credentials unlock the sales-channel and image-generation tools respectively; without them those tools refuse with setup instructions rather than failing obscurely.

Tools

Shops and catalogget_printify_status, list_shops, switch_shop, get_blueprints, get_blueprint, get_print_providers, get_variants, get_defaults, set_default

Productslist_products, get_product, create_product, update_product, delete_product, publish_product, unpublish_product, get_product_mockups, upload_image

Pipelinecreate_and_publish runs create → price → publish → fan out to sales channels → fix category in one call, reporting each stage separately so a partial failure tells you exactly how far it got.

Pricingset_prices (margin / markup / fixed, dryRun to preview)

Sales channels (Shopify credentials)list_sales_channels, publish_to_sales_channels, get_channel_sales, list_channel_products

Categories (Shopify credentials)suggest_product_category, set_product_category, audit_product_categories

Creativecreate_product_carousel (numbered 1080×1920 photo slides), create_product_ads (three vertical video variants; needs ffmpeg on PATH)

Ordersget_orders, get_order, get_orders_by_day, get_orders_by_hour, get_orders_by_month, get_orders_in_range

Webhookslist_webhooks, create_webhook, delete_webhook

Images (Replicate)generate_image, generate_and_upload_image

Docshow_to_use with a topic (pipeline, product_creation, blueprints, print_providers, variants, images, publishing, image_generation) returns the reference an agent should read before guessing.

Notes worth knowing

  • Never publish a product twice. Publishing an already-published product creates a second channel listing and orphans the first — no Printify link, still purchasable, unfulfillable. publish_product refuses unless republish is passed.
  • external.id is not reliably a Shopify product ID. Immediately after publishing it can carry a printify.me handle. The channel tools wait until it points at the configured store; pass shopifyProductId to skip the lookup.
  • Errors are real errors. No tool returns empty or placeholder data to paper over a failed request. A bad API key fails loudly at startup rather than quietly serving fabricated shops.
  • Creative is built from product photography and text — no generative model touches it, so the output carries no AI provenance metadata.

Differences from upstream

Added: order history and range queries, cost-based pricing, Shopify sales-channel publishing, channel sales reporting, product-category correction, photo carousels and video ads, tags/key features/sales-channel properties on create, print placement (x/y/scale/angle plus image stacking), duplicate-title guard, and the create_and_publish pipeline.

Fixed: list_products passed (limit, page) into a (page, limit) signature; the products list silently returned an empty page on failure; a rejected API key produced two fake shops and reported success; update_product forwarded camelCase variant keys the API ignores, so price updates reported success and changed nothing; publish_product sent a partial payload where Printify requires all seven flags.

Requirements

Node 18+. ffmpeg on PATH for create_product_ads (the carousel tool does not need it).

License

ISC, as upstream. See LICENSE — copyright TSavo, retained for the original work.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选