Enables the listing and retrieval of product details for items synced from Etsy stores using Printful's legacy sync product tools.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Printful MCP ServerList all available t-shirts that support DTG printing"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
๐จ Printful MCP Server
Automate Your Print-on-Demand Business with AI
Connect Printful's powerful API to Claude, Cursor, and other AI assistants through the Model Context Protocol.
๐ Quick Start โข ๐ง Configuration โข ๐ Examples โข ๐ Documentation
๐ New to Printful?
Start your print-on-demand business today โข No upfront costs โข 300+ products โข Global fulfillment
โจ Features
๐ฏ Complete API Coverage
โ Full Printful API v2 support
โ Smart v1 fallback for legacy features
โ 17 tools across all major domains
โ Real-time stock & pricing data
๐ก๏ธ Production Ready
โ Type-safe Pydantic validation
โ Robust error handling
โ Rate limit management
โ Dual output formats (JSON/Markdown)
๐ Easy Integration
โ Works with Claude Desktop
โ Works with Cursor IDE
โ stdio + HTTP transports
โ No hosting required
๐ค AI Skill Included
โ Cursor skill teaches AI how to use tools
โ Best practices built-in
โ Auto-applies workflows
โ Better experience out of the box
๐ Bonus: This repo includes a Cursor AI skill that automatically teaches AI assistants how to use the Printful MCP effectively. Just open the project and start asking questions!
๐ Quick Start
Python 3.10+ (Download)
Printful API Key (Get one free)
Step 1: Clone & Install
git clone https://github.com/Purple-Horizons/printful-ph-mcp.git
cd printful-ph-mcp
pip install -e .Step 2: Set up API Key
cp .env.example .env
# Edit .env and add: PRINTFUL_API_KEY=your-key-hereStep 3: Configure Your AI Assistant
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"printful": {
"command": "python",
"args": ["-m", "printful_mcp"],
"cwd": "/path/to/printful-ph-mcp",
"env": {
"PRINTFUL_API_KEY": "your-api-key-here"
}
}
}
}Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"printful": {
"command": "python",
"args": ["-m", "printful_mcp"],
"cwd": "/path/to/printful-ph-mcp",
"env": {
"PRINTFUL_API_KEY": "your-api-key-here"
}
}
}
}โ That's it! Restart your AI assistant and start using Printful tools.
๐ Transport Options
By default, the server uses stdio transport (required for Cursor/Claude Desktop). For HTTP clients or tools like mcporter, you can use HTTP transport.
Transport | Use Case | Command |
stdio (default) | Cursor, Claude Desktop |
|
http | HTTP clients, mcporter |
|
sse | Legacy SSE clients |
|
HTTP Transport Example:
# Start server on port 8000
python -m printful_mcp --transport http --port 8000
# Or with custom host
python -m printful_mcp --transport http --host 0.0.0.0 --port 8080Using with mcporter:
# Option 1: Use JSON args format (recommended)
mcporter call printful_mcp.printful_list_catalog_products --args '{"limit":20}'
# Option 2: Use typed values (colon for numbers)
mcporter call printful_mcp.printful_get_product product_id:71๐จ What You Can Do
๐๏ธ Catalog | ๐ฆ Orders | ๐ Shipping | ๐ผ๏ธ Mockups | ๐ Files | ๐ช Stores |
Browse 300+ products | Create & manage orders | Calculate rates | Generate mockups | Upload designs | View statistics |
Check availability | Confirm fulfillment | List countries | Check status | Get file info | Multi-store support |
Get pricing | Track orders | Delivery times | Custom placements | - | - |
๐ก Usage Examples
๐ฏ Example 1: Find the Perfect Product
# Ask your AI assistant:
"Show me all t-shirts available for DTG printing under $15"
# It will use:
printful_list_catalog_products(
types="T-SHIRT",
techniques="dtg",
limit=20,
format="markdown"
)๐ฐ Example 2: Get Pricing
# Ask your AI assistant:
"What's the price for variant 4011 in USD?"
# It will use:
printful_get_variant_prices(
variant_id=4011,
currency="USD",
format="markdown"
)๐ฆ Example 3: Create an Order
# Ask your AI assistant:
"Create a draft order for John Doe at 123 Main St, Los Angeles, CA 90001"
# It will use:
printful_create_order(
recipient_name="John Doe",
recipient_address1="123 Main St",
recipient_city="Los Angeles",
recipient_state_code="CA",
recipient_country_code="US",
recipient_zip="90001"
)๐จ Example 4: Generate Product Mockups
# Ask your AI assistant:
"Generate a mockup for product 71 with my design"
# It will use:
printful_create_mockup_task(
product_id=71,
variant_ids="4011,4012",
design_url="https://example.com/design.png",
placement="front"
)๐ฌ Want to see it in action?
๐บ Watch Demo Video โข ๐ Read Full Documentation โข ๐ฌ Join Community
๐ ๏ธ Available Tools
Tool | Description | Example Use |
| Browse 300+ products with filters | "Show me all hoodies" |
| Get detailed product info | "Tell me about product 71" |
| Get all sizes/colors | "What sizes are available?" |
| Get pricing by currency | "How much in EUR?" |
| Check stock status | "Is this in stock?" |
Tool | Description | Example Use |
| Create draft order | "Create order for John" |
| View order details | "Show me order #12345" |
| Start fulfillment | "Confirm this order" |
| List all orders | "Show my recent orders" |
Tool | Description | Example Use |
| Get shipping rates & times | "How much to ship to UK?" |
| List supported countries | "What countries do you ship to?" |
Tool | Description | Example Use |
| Generate mockup images | "Create mockup with my design" |
| Check generation status | "Is my mockup ready?" |
Tool | Description | Example Use |
| Upload design file | "Upload my logo" |
| Get file info & status | "Check file #12345" |
Tool | Description | Example Use |
| List your stores | "Show all my stores" |
| View sales & profit | "What are my sales?" |
Tool | Description | Example Use |
| List synced products | "Show my Etsy products" |
| Get sync product details | "Details on sync #123" |
๐ Documentation
๐ Quick Start Guide
Get up and running in 5 minutes
๐ API Token Setup
Detailed token configuration guide
๐งช Testing Guide
Learn how to test your integration
๐ API Scopes Reference
Required permissions explained
๐ป Examples
Real code examples
๐ง Cursor Config
Ready-to-use config file
๐ API Version Strategy
This server uses Printful API v2 (production-ready beta) with smart v1 fallback:
๐ฏ v2 (Primary)
โ Catalog & Products
โ Orders & Fulfillment
โ Shipping Rates
โ Mockup Generation
โ File Management
โ Store Statistics
๐ v1 (Fallback)
โ Sync Products
โ Product Templates
โ ๏ธ Auto-switches when needed
๐ Future-proof architecture
Why v2? Better pagination โข Real-time stock โข Enhanced orders โข Improved security โข Standardized formats
โ๏ธ Rate Limiting & Performance
๐ Rate Limits
120 requests / 60 seconds
Leaky bucket algorithm
Auto-retry on 429 errors
๐ Performance
Response times: 100-500ms
Concurrent requests: Supported
Timeout handling: Built-in
๐ Troubleshooting
Solution: Make sure your API key is set in .env or passed via environment variables in the MCP config.
# Check your .env file
cat .env
# Should contain:
PRINTFUL_API_KEY=your-actual-key-hereSolution: Wait for the time specified in the error message (usually 60 seconds).
Default limit: 120 requests/minute
Consider implementing request batching
Check
X-Ratelimit-Resetheader for exact reset time
Solution: Double-check the ID you're using.
For orders: You can use external IDs by prefixing with
@(e.g.,@my-order-123)For products: Verify the product/variant ID exists in the catalog
Check if the resource belongs to your store
Solution: Mockup generation typically takes 10-30 seconds.
Wait at least 30 seconds before checking status
If stuck longer than 2 minutes, check task status - it may have failed
Verify your design URL is publicly accessible
๐งช Testing
Choose Your Testing Method
โก Quick Test
Automated test suite
export PRINTFUL_API_KEY=your-key
python test_server.pyโ Tests 6 core features โฑ๏ธ Takes 30 seconds
๐ Interactive Test
Web-based MCP Inspector
export PRINTFUL_API_KEY=your-key
./test-with-inspector.sh๐ฏ Test any tool visually ๐ Opens at localhost:5173
๐ค Live Test
In Claude/Cursor
Just ask:
"List Printful countries"๐ฌ Natural language โจ Real integration test
๐ Full testing guide: See TESTING.md for comprehensive testing instructions.
๐๏ธ Project Structure
printful-ph-mcp/
โโโ ๐ src/
โ โโโ ๐ printful_mcp/
โ โโโ ๐ server.py # FastMCP server + tool registrations
โ โโโ ๐ client.py # API client with auth/error handling
โ โโโ ๐ tools/ # Tool implementations by domain
โ โ โโโ ๐๏ธ catalog.py # Product browsing (5 tools)
โ โ โโโ ๐ฆ orders.py # Order management (4 tools)
โ โ โโโ ๐ shipping.py # Shipping rates (2 tools)
โ โ โโโ ๐ผ๏ธ mockups.py # Mockup generation (2 tools)
โ โ โโโ ๐ files.py # File management (2 tools)
โ โ โโโ ๐ช stores.py # Store statistics (2 tools)
โ โ โโโ ๐ sync.py # v1 fallback (2 tools)
โ โโโ ๐ models/
โ โโโ ๐ inputs.py # Pydantic input models
โโโ ๐ pyproject.toml
โโโ ๐ .env.example
โโโ ๐ README.md๐ค Contributing
We welcome contributions! Here's how you can help:
๐ Report Bugs
Found an issue? Open a bug report
โจ Request Features
Have an idea? Suggest a feature
๐ง Submit PRs
Fork the repository
Create your feature branch
Commit your changes
Push and open a Pull Request
๐ Resources & Links
Resource | Link |
๐ Printful API v2 Docs | |
๐ Printful API v1 Docs | |
๐ MCP Protocol Spec | |
๐ FastMCP Framework | |
๐จ Purple Horizons | |
๐จโ๐ป Made by Gianni |
๐ License
MIT License - Free to use, modify, and distribute
View License โข Purple Horizons LLC โข 2026
๐ Support This Project
If this project helped you, consider:
โญ Star this repo on GitHub
๐ฆ Share it on social media
๐ค Contribute to the codebase
๐จ Sign up for Printful using our affiliate link
Made with โค๏ธ by Purple Horizons
Empowering businesses through AI automation
๐ Ready to automate your print-on-demand business?
Get Started Now โข View Examples โข Read Docs
Questions? Issues? Open an issue or contact us
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.