A Model Context Protocol (MCP) server for integrating AI assistants with Printify's print-on-demand platform.
- Overview
- Features
- Prerequisites
- Installation
- Configuration
- Usage
- Available Tools
- Workflow Examples
- Architecture
- API Documentation
- Troubleshooting
- Contributing
- License
The Printify MCP Server is a bridge between AI assistants (like Claude) and Printify's print-on-demand platform. It allows AI assistants to create and manage print-on-demand products, generate designs using AI, and handle all aspects of product management through the Model Context Protocol (MCP).
MCP is an open standard developed by Anthropic that standardizes how applications provide context to Large Language Models (LLMs). This server implements the MCP specification to expose Printify's functionality to AI assistants in a structured way.
This MCP server provides the following capabilities:
- Authentication: Initialize the Printify API client with your API key
- Shops: List and manage Printify shops
- Products: Create, read, update, delete, and publish products
- Catalog: Browse blueprints, print providers, and variants
- Images: Upload images to use in product designs
- Replicate Integration: Generate images using Replicate's Flux 1.1 Pro model
- Combined Workflow: Generate images with AI and upload them directly to Printify in one step
- In-Tool Documentation: Comprehensive documentation for all aspects of product creation
- Workflow Guidance: Step-by-step guides for creating products
- Generate Product Description: Generate compelling product descriptions based on product details
- Node.js (v18 or higher)
- npm (v7 or higher)
- Printify API key
- Replicate API token (for AI image generation)
- ImgBB API key (required if using the Flux 1.1 Pro Ultra model)
# Clone the repository
git clone https://github.com/tsavo/printify-mcp.git
cd printify-mcp
# Install dependencies
npm install
# Build the project
npm run buildYou have two options for configuring the environment variables needed by the server:
- Create a
.envfile in the root directory of the project with the following variables:
# Required for all functionality
PRINTIFY_API_KEY=your_printify_api_key
# Required if using the Flux 1.1 Pro Ultra model for image generation
# The Ultra model generates high-resolution images that are too large for direct base64 upload
IMGBB_API_KEY=your_imgbb_api_key
# Optional: If not provided, the first shop in your account will be used
PRINTIFY_SHOP_ID=your_shop_id
# Optional: Only needed if you want to use image generation features
REPLICATE_API_TOKEN=your_replicate_api_token
You can use the .env.example file as a template by copying it:
cp .env.example .env
# Then edit the .env file with your actual API keysAlternatively, you can set these variables directly in your system environment:
Windows (Command Prompt):
:: Required
set PRINTIFY_API_KEY=your_printify_api_key
:: Optional
set PRINTIFY_SHOP_ID=your_shop_id
:: Optional - only for image generation
set REPLICATE_API_TOKEN=your_replicate_api_tokenWindows (PowerShell):
# Required
$env:PRINTIFY_API_KEY = "your_printify_api_key"
# Optional
$env:PRINTIFY_SHOP_ID = "your_shop_id"
# Optional - only for image generation
$env:REPLICATE_API_TOKEN = "your_replicate_api_token"macOS/Linux:
# Required
export PRINTIFY_API_KEY=your_printify_api_key
# Optional
export PRINTIFY_SHOP_ID=your_shop_id
# Optional - only for image generation
export REPLICATE_API_TOKEN=your_replicate_api_tokenThe server will check for these environment variables at startup, regardless of whether they're set in a .env file or in the system environment.
- Log in to your Printify account
- Go to Settings > API
- Click "Create New API Key"
- Copy the API key and add it to your
.envfile
- Create an account on Replicate
- Go to your account settings
- Generate an API token
- Copy the token and add it to your
.envfile
npm startThis will start the MCP server using the stdio transport, which allows it to communicate with MCP clients like Claude Desktop. The server will automatically initialize the Printify API client using the API key from the environment variable.
npm run devThis will start the server in development mode with automatic reloading when files change.
There are three ways to use this MCP server with Claude Desktop:
-
Install the package globally:
npm install -g @tsavo/printify-mcp
-
Configure your environment variables using either a
.envfile in your current directory or system environment variables as described in the Configuration section. -
Configure Claude Desktop:
- Open Claude Desktop
- Go to Settings > MCP Servers
- Click "Add Server"
- Enter a name for the server (e.g., "Printify MCP")
- Select "Command" as the transport type
- Enter
printify-mcpas the command - No arguments are needed
- Click "Add Server"
-
Test the connection by asking Claude to check the Printify status:
Can you check the status of my Printify connection?The
printify-mcpcommand runs the same code as the original index.ts file, but packaged as an executable that can be run directly from the command line.
If you don't want to install the package globally, you can use npx:
-
Configure your environment variables as described in the Configuration section.
-
Configure Claude Desktop:
- Open Claude Desktop
- Go to Settings > MCP Servers
- Click "Add Server"
- Enter a name for the server (e.g., "Printify MCP")
- Select "Command" as the transport type
- Enter
npxas the command - Enter
@tsavo/printify-mcpas the arguments - Click "Add Server"
If you prefer to run the server in a Docker container, you have two options:
-
Make sure you have Docker installed on your system
-
Create a directory for your Printify MCP files:
mkdir printify-mcp cd printify-mcp -
Create a
.envfile with your API keys:PRINTIFY_API_KEY=your_printify_api_key PRINTIFY_SHOP_ID=your_shop_id (optional) REPLICATE_API_TOKEN=your_replicate_api_token IMGBB_API_KEY=your_imgbb_api_key (required for Flux 1.1 Pro Ultra model) -
Create a temp directory for temporary files:
mkdir temp
-
Run the Docker container (two options):
Option A: Using environment variables directly (Recommended)
# For Linux/macOS/Windows PowerShell: docker run -it --name printify-mcp \ -e PRINTIFY_API_KEY=your_printify_api_key \ -e PRINTIFY_SHOP_ID=your_shop_id_optional \ -v $(pwd)/temp:/app/temp \ tsavo/printify-mcp:latest # For Windows Command Prompt: docker run -it --name printify-mcp ^ -e PRINTIFY_API_KEY=your_printify_api_key ^ -e PRINTIFY_SHOP_ID=your_shop_id_optional ^ -v %cd%/temp:/app/temp ^ tsavo/printify-mcp:latest
Note: If you want to use the image generation features (generate-and-upload-image tool), add the Replicate API token:
-e REPLICATE_API_TOKEN=your_replicate_api_token \
Important: If you want to use the Flux 1.1 Pro Ultra model for image generation, you MUST also add the ImgBB API key:
-e IMGBB_API_KEY=your_imgbb_api_key \
Option B: Using a .env file
# For Linux/macOS: docker run -it --name printify-mcp \ -v $(pwd)/.env:/app/.env:ro \ -v $(pwd)/temp:/app/temp \ tsavo/printify-mcp:latest # For Windows PowerShell: docker run -it --name printify-mcp -v ${PWD}/.env:/app/.env:ro -v ${PWD}/temp:/app/temp tsavo/printify-mcp:latest # For Windows Command Prompt: docker run -it --name printify-mcp -v %cd%/.env:/app/.env:ro -v %cd%/temp:/app/temp tsavo/printify-mcp:latest
-
Configure Claude Desktop:
- Open Claude Desktop
- Go to Settings > MCP Servers
- Click "Add Server"
- Enter a name for the server (e.g., "Printify MCP Docker")
- Select "Command" as the transport type
- Enter
dockeras the command - Enter
exec -i printify-mcp node dist/index.jsas the arguments - Click "Add Server"
-
Make sure you have Docker and Docker Compose installed on your system
-
Clone this repository to your local machine:
git clone https://github.com/tsavo/printify-mcp.git cd printify-mcp -
Configure environment variables (two options):
Option A: Edit docker-compose.yml directly (Recommended) Open docker-compose.yml and uncomment/edit the environment variables:
environment: - NODE_ENV=production # Option 1: Set environment variables directly (recommended) - PRINTIFY_API_KEY=your_printify_api_key - PRINTIFY_SHOP_ID=your_shop_id_optional # Optional: Only needed if you want to use image generation features - REPLICATE_API_TOKEN=your_replicate_api_token # Required if using the Flux 1.1 Pro Ultra model for image generation - IMGBB_API_KEY=your_imgbb_api_key
Option B: Create a
.envfilePRINTIFY_API_KEY=your_printify_api_key PRINTIFY_SHOP_ID=your_shop_id (optional) # Optional: Only needed if you want to use image generation features REPLICATE_API_TOKEN=your_replicate_api_token # Required if using the Flux 1.1 Pro Ultra model for image generation IMGBB_API_KEY=your_imgbb_api_keyThen uncomment the .env volume mount in docker-compose.yml:
volumes: # Option 2: Mount a .env file for environment variables - ./.env:/app/.env:ro
-
Build and start the Docker container:
docker-compose up -d
-
Configure Claude Desktop:
- Open Claude Desktop
- Go to Settings > MCP Servers
- Click "Add Server"
- Enter a name for the server (e.g., "Printify MCP Docker")
- Select "Command" as the transport type
- Enter
dockeras the command - Enter
exec -i printify-mcp node dist/index.jsas the arguments - Click "Add Server"
-
Test the connection by asking Claude to check the Printify status:
Can you check the status of my Printify connection?
If you prefer to work with the source code directly without Docker:
-
Clone this repository to your local machine:
git clone https://github.com/tsavo/printify-mcp.git cd printify-mcp -
Install dependencies and build the project:
npm install npm run build
-
Configure your environment variables using either a
.envfile or system environment variables as described in the Configuration section. -
Get the full absolute path to the compiled JavaScript file:
Windows:
cd dist echo %CD%\index.js
macOS/Linux:
realpath dist/index.js
-
Configure Claude Desktop:
- Open Claude Desktop
- Go to Settings > MCP Servers
- Click "Add Server"
- Enter a name for the server (e.g., "Printify MCP")
- Select "Command" as the transport type
- Enter the path to Node.js as the command (e.g.,
node) - Enter the full absolute path to the built server as the arguments
- Click "Add Server"
-
Start the server:
npm start
Keep this terminal window open while you're using Claude Desktop.
In a conversation with Claude, you can test if the server is working by asking Claude to check the Printify status:
Can you check the status of my Printify connection?
Claude should use the get-printify-status tool to check the connection status. You can also ask Claude to list your Printify shops using the list-shops tool.
If you encounter any issues:
- Check the console output where you started the server for error messages
- Verify that your environment variables are set correctly
- Make sure the server is still running
- Confirm that the path to the server in Claude Desktop is correct
Get the current status of the Printify API client, including connection status and current shop.
List all available shops in your Printify account. The currently selected shop is marked with an arrow (→).
Switch to a different shop for subsequent API calls.
Parameters:
shopId(string): The ID of the shop to switch to
List products in your Printify shop.
Parameters:
page(number, optional): Page number (default: 1)limit(number, optional): Number of products per page (default: 10)
Get details of a specific product.
Parameters:
productId(string): Product ID
Create a new product in your Printify shop.
Parameters:
title(string): Product titledescription(string): Product descriptionblueprintId(number): Blueprint IDprintProviderId(number): Print provider IDvariants(array): Product variantsprintAreas(object, optional): Print areas for the product
Update an existing product in your Printify shop.
Parameters:
productId(string): Product IDtitle(string, optional): Product titledescription(string, optional): Product descriptionvariants(array, optional): Product variantsprintAreas(object, optional): Print areas for the product
Delete a product from your Printify shop.
Parameters:
productId(string): Product ID
Publish a product to your connected sales channel.
Parameters:
productId(string): Product IDpublishDetails(object, optional): Publish details
Get a list of available blueprints from the Printify catalog.
Parameters:
page(number, optional): Page number (default: 1)limit(number, optional): Number of blueprints per page (default: 10)
Get details of a specific blueprint.
Parameters:
blueprintId(string): Blueprint ID
Get a list of print providers for a specific blueprint.
Parameters:
blueprintId(string): Blueprint ID
Get a list of variants for a specific blueprint and print provider.
Parameters:
blueprintId(string): Blueprint IDprintProviderId(string): Print provider ID
Generate an image using Replicate's Flux models, process it with Sharp, and upload it to Printify in one operation. This tool combines AI image generation with Printify integration for a seamless workflow.
The tool performs four steps:
- Generates an image using Replicate's Flux models based on your text prompt
- Processes the image with Sharp to ensure it's a valid image with the correct format for Printify
- Uploads the processed image to your Printify account
- Cleans up temporary files to avoid disk space issues
Parameters:
prompt(string): Text prompt for image generationfileName(string): File name for the uploaded imagemodel(string, optional): Override the default model (e.g., "black-forest-labs/flux-1.1-pro-ultra")width(number, optional): Image width in pixels (default: 1024)height(number, optional): Image height in pixels (default: 1024)aspectRatio(string, optional): Aspect ratio (e.g., '16:9', '4:3', '1:1'). If provided, overrides width and heightoutputFormat(string, optional): Output format ("jpeg", "png", "webp") (default: "png")numInferenceSteps(number, optional): Number of inference steps (default: 25)guidanceScale(number, optional): Guidance scale (default: 7.5)negativePrompt(string, optional): Negative prompt (default: "low quality, bad quality, sketches")seed(number, optional): Random seed for reproducible generationraw(boolean, optional): Generate less processed, more natural-looking images (default: true for Flux 1.1 Pro Ultra)
Note: This tool requires the REPLICATE_API_TOKEN environment variable to be set with a valid Replicate API token. You can get a token from replicate.com.
Important: If you want to use the Flux 1.1 Pro Ultra model, you MUST also set the IMGBB_API_KEY environment variable. The Ultra model generates high-resolution images that are too large for direct base64 upload to Printify. You can get a free API key from api.imgbb.com.
Generate an image using Replicate's Flux models and save it to a local file without uploading to Printify. This tool is useful when you want to generate images for other purposes or when you want to review and potentially edit images before uploading them to Printify.
Parameters:
prompt(string): Text prompt for image generationoutputPath(string): Full path where the generated image should be savedmodel(string, optional): Override the default model (e.g., "black-forest-labs/flux-1.1-pro-ultra")width(number, optional): Image width in pixels (default: 1024)height(number, optional): Image height in pixels (default: 1024)aspectRatio(string, optional): Aspect ratio (e.g., '16:9', '4:3', '1:1'). If provided, overrides width and heightoutputFormat(string, optional): Output format ("jpeg", "png", "webp") (default: "png")numInferenceSteps(number, optional): Number of inference steps (default: 25)guidanceScale(number, optional): Guidance scale (default: 7.5)negativePrompt(string, optional): Negative prompt (default: "low quality, bad quality, sketches")seed(number, optional): Random seed for reproducible generationraw(boolean, optional): Generate less processed, more natural-looking images (Flux 1.1 Pro Ultra only)
Note: This tool requires the REPLICATE_API_TOKEN environment variable to be set with a valid Replicate API token. You can get a token from replicate.com.
Unlike the generate-and-upload-image tool, this tool doesn't require the ImgBB API key since it saves directly to a local file.
Upload an image to your Printify account. Supports three types of inputs:
- URLs (http:// or https://) - Direct upload to Printify
- Local file paths (e.g., c:\path\to\image.png) - Automatically converted using Sharp to ensure compatibility, then uploaded to Printify
- Base64 encoded image strings - Direct upload to Printify
Note on file formats:
- Supported formats: PNG, JPEG, and SVG
- Recommended resolution for JPEG/PNG files is 300 DPI
- For larger products (leggings, blankets, tapestries), 120-150 DPI is acceptable
- Some image files may not be compatible with Printify's API if they exceed size limits
- For files larger than 5MB, URL upload is recommended over base64 encoding
Parameters:
fileName(string): File nameurl(string): URL of the image to upload, path to local file, or base64 encoded image data
Generate a compelling product description.
Parameters:
productName(string): Name of the productcategory(string): Product categorytargetAudience(string, optional): Target audience for the productkeyFeatures(string, optional): Comma-separated list of key product features
To use the Printify features of this MCP server, you'll need a Printify API key. Here's how to get one and set it up:
-
Log in to your Printify account at printify.com
-
Go to My Profile > Connections
-
In the Connections section, you can generate your Personal Access Tokens
-
Store your API key securely, as it will only be visible immediately after generation
-
Create a
.envfile in the project root with the following content:PRINTIFY_API_KEY=your_api_key_here # Optional: Set a default shop ID # PRINTIFY_SHOP_ID=your_shop_id_here # For image generation with Replicate REPLICATE_API_TOKEN=your_replicate_token_here # Required if using the Flux 1.1 Pro Ultra model for image generation IMGBB_API_KEY=your_imgbb_api_key_hereThe server will automatically initialize the Printify API client using the API key from the environment variable. If you don't specify a shop ID, the server will use the first shop in your account as the default.
You can also set the environment variables directly:
# On Windows set PRINTIFY_API_KEY=your_api_key_here set REPLICATE_API_TOKEN=your_replicate_token_here set IMGBB_API_KEY=your_imgbb_api_key_here npm start # On macOS/Linux export PRINTIFY_API_KEY=your_api_key_here export REPLICATE_API_TOKEN=your_replicate_token_here export IMGBB_API_KEY=your_imgbb_api_key_here npm start
To use the image generation features of this MCP server, you'll need a Replicate API token. Here's how to get one:
- Create an account or log in at replicate.com
- Go to your account settings
- Generate an API token
- Add the token to your
.envfile as shown above
If you want to use the Flux 1.1 Pro Ultra model for image generation, you MUST have an ImgBB API key. The Ultra model generates high-resolution images that are too large for direct base64 upload to Printify, so we use ImgBB as an intermediary. Here's how to get an API key:
- Create an account or log in at imgbb.com
- Go to api.imgbb.com to get your API key
- Add the key to your
.envfile as shown above
Here's a complete example of creating a t-shirt with front and back designs:
// Step 1: Get blueprints and choose one
get-blueprints_printify()
// Selected blueprint ID 12 (Unisex Jersey Short Sleeve Tee)
// Step 2: Get print providers for this blueprint
get-print-providers_printify({ blueprintId: "12" })
// Selected print provider ID 29 (Monster Digital)
// Step 3: Get variants for this blueprint and print provider
get-variants_printify({ blueprintId: "12", printProviderId: "29" })
// Selected variant IDs 18100 (Black / S), 18101 (Black / M), 18102 (Black / L)
// Step 4: Generate and upload front image
const frontImage = await generate-and-upload-image_printify({
prompt: "A futuristic cityscape with neon lights and tall skyscrapers, horizon city logo design",
fileName: "horizon-city-front"
})
// Got image ID: 68032b22ae74bf725ed406ec
// Step 4b: Generate and upload back image
const backImage = await generate-and-upload-image_printify({
prompt: "A minimalist 'Horizon City' text logo with futuristic font, suitable for the back of a t-shirt",
fileName: "horizon-city-back"
})
// Got image ID: 68032b377e36fbdd32791027
// Step 5: Create the product
create-product_printify({
title: "Horizon City Skyline T-Shirt",
description: "Step into the future with our Horizon City Skyline T-Shirt. This premium unisex tee features a stunning futuristic cityscape with neon lights and towering skyscrapers on the front, and a sleek minimalist Horizon City logo on the back.",
blueprintId: 12,
printProviderId: 29,
variants: [
{ variantId: 18100, price: 2499 },
{ variantId: 18101, price: 2499 },
{ variantId: 18102, price: 2499 }
],
printAreas: {
"front": { position: "front", imageId: "68032b22ae74bf725ed406ec" },
"back": { position: "back", imageId: "68032b377e36fbdd32791027" }
}
})
// Product created with ID: 68032b43a24efbac6502b6f7// List products
list-products_printify()
// Get details of a specific product
get-product_printify({ productId: "68032b43a24efbac6502b6f7" })
// Update a product
update-product_printify({
productId: "68032b43a24efbac6502b6f7",
title: "Updated Horizon City Skyline T-Shirt",
description: "Updated description...",
variants: [
{ variantId: 18100, price: 2999 },
{ variantId: 18101, price: 2999 },
{ variantId: 18102, price: 2999 }
]
})
// Publish a product to external sales channels
publish-product_printify({
productId: "68032b43a24efbac6502b6f7",
publishDetails: {
title: true,
description: true,
images: true,
variants: true,
tags: true
}
})
// Delete a product
delete-product_printify({ productId: "68032b43a24efbac6502b6f7" })The Printify MCP server consists of three main components:
- MCP Server (
src/index.ts): Sets up the MCP server with various tools for interacting with Printify's API. - Printify API Client (
src/printify-api.ts): Handles communication with Printify's API using the official SDK. - Replicate Client (
src/replicate-client.ts): Integrates with Replicate's API to generate images for product designs.
The Docker setup consists of the following components:
-
Dockerfile: Defines how to build the Docker image
- Uses Node.js 22 Alpine as the base image for a small footprint
- Installs dependencies and builds the TypeScript code
- Sets up the environment and runs the server
-
docker-compose.yml: Defines the service configuration
- Sets up environment variables
- Mounts volumes for .env file and temp directory
- Configures stdin and tty for stdio transport
- Sets restart policy
-
Volumes:
.env: Mounted as a read-only volume for environment variablestemp: Mounted as a volume for temporary files (like generated images)
You can publish the Docker image to Docker Hub or any other container registry to make it available to others without requiring them to install Node.js or clone the repository.
-
Build the Docker image:
docker build -t tsavo/printify-mcp:latest . -
Log in to Docker Hub:
docker login
-
Push the image to Docker Hub:
docker push tsavo/printify-mcp:latest
Users can run the Printify MCP server without installing Node.js by using the Docker image directly:
-
Install Docker: Users need to have Docker installed on their system
-
Create a temp directory for temporary files:
mkdir -p temp
-
Run the Docker container (two options):
Option A: Using environment variables directly (Recommended)
docker run -it --name printify-mcp \ -e PRINTIFY_API_KEY=their_printify_api_key \ -e PRINTIFY_SHOP_ID=their_shop_id_optional \ -v $(pwd)/temp:/app/temp \ tsavo/printify-mcp:latestNote: If they want to use the image generation features (generate-and-upload-image tool), add the Replicate API token:
-e REPLICATE_API_TOKEN=their_replicate_api_token \
Important: If they want to use the Flux 1.1 Pro Ultra model for image generation, they MUST also add the ImgBB API key:
-e IMGBB_API_KEY=their_imgbb_api_key \
Option B: Using a .env file First, create a .env file with their API keys:
PRINTIFY_API_KEY=their_printify_api_key PRINTIFY_SHOP_ID=their_shop_id (optional) # Optional: Only needed if they want to use image generation features REPLICATE_API_TOKEN=their_replicate_api_token # Required if using the Flux 1.1 Pro Ultra model for image generation IMGBB_API_KEY=their_imgbb_api_keyThen run the container:
docker run -it --name printify-mcp \ -v $(pwd)/.env:/app/.env:ro \ -v $(pwd)/temp:/app/temp \ tsavo/printify-mcp:latest
-
Configure Claude Desktop:
- Open Claude Desktop
- Go to Settings > MCP Servers
- Click "Add Server"
- Enter a name for the server (e.g., "Printify MCP Docker")
- Select "Command" as the transport type
- Enter
dockeras the command - Enter
exec -i printify-mcp node dist/index.jsas the arguments - Click "Add Server"
This approach allows users to run the Printify MCP server without installing Node.js or any other dependencies - they only need Docker.
printify-mcp/
├── dist/ # Compiled JavaScript files
├── docs/ # Documentation
│ ├── index.ts.md # Documentation for index.ts
│ ├── printify-api.ts.md # Documentation for printify-api.ts
│ └── replicate-client.ts.md # Documentation for replicate-client.ts
├── node_modules/ # Node.js dependencies
├── src/ # Source code
│ ├── index.ts # Main MCP server
│ ├── printify-api.ts # Printify API client
│ └── replicate-client.ts # Replicate API client
├── temp/ # Temporary directory for generated images
├── .dockerignore # Files to exclude from Docker build
├── .env # Environment variables (not in repo)
├── .env.example # Example environment variables
├── .gitignore # Git ignore file
├── docker-compose.yml # Docker Compose configuration
├── Dockerfile # Docker build instructions
├── package.json # Node.js package configuration
├── package-lock.json # Node.js package lock
├── README.md # This file
└── tsconfig.json # TypeScript configuration
For detailed documentation of the codebase, see the following files:
If you see the error "Printify API client is not initialized", check that:
- The
PRINTIFY_API_KEYenvironment variable is set correctly in your.envfile - The API key is valid and has the correct permissions
If you see the error "Replicate API client is not initialized", check that:
- The
REPLICATE_API_TOKENenvironment variable is set correctly in your.envfile - The API token is valid and has the correct permissions
If you encounter errors when creating a product, check that:
- The blueprint ID and print provider ID are valid
- The variant IDs are valid for the selected blueprint and print provider
- The image IDs in print areas are valid and accessible
- All required fields are included in the request
If you encounter errors when uploading an image, check that:
- The image is a valid format (PNG, JPEG, etc.)
- The image is not too large (maximum size is 10MB)
- If using a URL, it is publicly accessible
- If using a local file, it exists and is readable
If you're using the Docker setup and encounter issues:
- Container not starting: Check Docker logs with
docker logs printify-mcp - Environment variables not working: If using a .env file, make sure it's in the same directory as your docker-compose.yml file or the directory where you run the
docker runcommand. If setting environment variables directly with-e, check for typos in variable names - Permission issues with temp directory: The temp directory is mounted as a volume, ensure it has the correct permissions
- Connection issues from Claude: Make sure the Docker container is running with
docker psand that you've configured Claude Desktop correctly - Image not found: If using the Docker Hub image directly, make sure you've pulled it with
docker pull tsavo/printify-mcp:latest
To restart the Docker container when using docker-compose:
docker-compose down
docker-compose up -dTo restart the Docker container when using docker run:
docker stop printify-mcp
docker rm printify-mcp
docker run -it --name printify-mcp -v $(pwd)/.env:/app/.env:ro -v $(pwd)/temp:/app/temp tsavo/printify-mcp:latestFor Windows users using PowerShell with the Docker image directly:
docker run -it --name printify-mcp -v ${PWD}/.env:/app/.env:ro -v ${PWD}/temp:/app/temp tsavo/printify-mcp:latestFor Windows users using Command Prompt with the Docker image directly:
docker run -it --name printify-mcp -v %cd%/.env:/app/.env:ro -v %cd%/temp:/app/temp tsavo/printify-mcp:latestThe server includes detailed logging to help troubleshoot issues. Check the console output for error messages and debugging information.
For Docker deployments, you can view logs with:
docker logs printify-mcpTo follow the logs in real-time:
docker logs -f printify-mcpContributions are welcome! Please feel free to submit a Pull Request.
ISC