productimageupscale-mcp
v1.1.2Official MCP server for ProductImageUpscale AI — upscale e-commerce product images via AI agents
Add the server to your claude_desktop_config.json: In your IDE Settings → MCP Servers → Add New MCP Server: Upscales a product image to high resolution (2x, 4x, or 8x) with AI preservation of typography, materials, and logos, and saves it directly to your computer.
Summary extracted from the README.
productimageupscale-mcp
Official Model Context Protocol (MCP) server for ProductImageUpscale AI — AI-powered e-commerce image upscaling, detail restoration, and catalog zoom compliance directly inside Claude Desktop, Cursor, ChatGPT, and AI agent frameworks.
⚡ Quick Start
1. Claude Desktop / Antigravity IDE
Add the server to your claude_desktop_config.json:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"productimageupscale": {
"command": "npx",
"args": ["-y", "productimageupscale-mcp@latest"],
"env": {
"PRODUCTIMAGEUPSCALE_API_KEY": "your_api_key_here"
}
}
}
}
Where do I get an API key?
Generate your API key in seconds from your ProductImageUpscale Integrations Dashboard.
2. Cursor / Windsurf IDE
In your IDE Settings → MCP Servers → Add New MCP Server:
- Name:
productimageupscale - Type:
command - Command:
npx -y productimageupscale-mcp@latest - Environment Variables:
PRODUCTIMAGEUPSCALE_API_KEY=your_api_key_here
🛠️ Available MCP Tools
upscale_image
Upscales a product image to high resolution (2x, 4x, or 8x) with AI preservation of typography, materials, and logos, and saves it directly to your computer.
check_credits
Inspects remaining credits, subscription tier, and storage metrics.
- Returns current balance, max monthly credits, plan tier (
free,starter,pro), and storage usage.
check_upscale_status
Polls the result of an asynchronous processing job using its imageId.
-
imageId(string, required): Job identifier returned when an upscale request is queued. -
outputPath(string, optional): Custom local directory or file path to save the completed image upon success. -
autoDownload(boolean, default:true): Automatically saves the completed image to your computer upon success.
list_material_types
Returns a catalog of supported material presets and texture restoration guidelines.
💾 Automatic Local File Saving & Dedicated Directory UX
When upscaling images through Claude Desktop, Cursor, or AI agents, the MCP server automatically downloads and saves high-resolution outputs directly to your computer:
⚠️ Important: Temporary 1-Hour CDN Links & Why Auto-Download Is Default
Output URLs returned by the API (outputUrl) are ephemeral GPU delivery links that expire after 1 hour. They are not permanent image hosting URLs and must never be hotlinked on live production websites or Shopify stores.
This is why the MCP server automatically downloads each image directly to your computer (~/Downloads/ProductImageUpscale/oroutputPath) so you have permanent, full-resolution files saved safely on disk.
- Dedicated Subfolder: By default, files are saved in
~/Downloads/ProductImageUpscale/(on Windows:C:\Users\<User>\Downloads\ProductImageUpscale\). This prevents cluttering your main Downloads directory, especially during batch workflows with 10s or 100s of catalog images. - Collision-Safe Naming: If
product-upscaled-2x.pngalready exists, subsequent runs automatically name filesproduct-upscaled-2x-1.png,product-upscaled-2x-2.png, etc., ensuring zero accidental overwrites. - Custom Project Folders: Ask your AI assistant to save directly to a project folder (e.g.
outputPath: "./public/products"or./images/shoe-hero.png) to write straight into your codebase or Shopify theme assets. - Cloud/Headless Pipelines: Pass
autoDownload: falseif your workflow only needs the CDN URL (e.g., for database sync or webhook notifications). Ensure your pipeline downloads or persists the image before the 1-hour expiration window.
📚 MCP Resources
account://balance— Live JSON payload of credit balance, tier, and storage limits.docs://api-guide— Comprehensive API documentation and marketplace compliance guidelines (Amazon 1,600 px zoom, Shopify 2,048 px square).
💡 MCP Prompts
upscale-product-image— Guided single-product upscale workflow with credit check and preset recommendation.batch-upscale-catalog— Multi-product catalog batch workflow with pre-execution credit checks and summary tables.
💰 Pricing & Unit Economics
| Plan | Monthly Price | Monthly Credits | Effective Cost / Upscale | Storage Quota | Asset Retention |
|---|---|---|---|---|---|
| Free | $0 | 5 credits | Free | 100 MB | 30 days rolling |
| Starter | $9 / mo | 200 credits | $0.045 / upscale | 500 MB | Permanent |
| Pro | $19 / mo | 2,000 credits | < $0.01 / upscale | 2 GB | Permanent |
Subscribers can purchase non-expiring credit top-up packs anytime:
- 100 Credits: $15 ($0.15 / credit)
- 500 Credits: $35 ($0.07 / credit — Save 53%)
🔒 Security Architecture
- Authentication: The API key is passed securely via the
PRODUCTIMAGEUPSCALE_API_KEYenvironment variable on process startup. Identity is never passed through LLM prompt parameters, preventing prompt injection attacks. - Tenant Isolation: All operations enforce Supabase Row-Level Security (RLS) scoping credit deductions and asset queries to your account.
- Format Validation: HTTPS URLs are required; executable payloads and animated GIFs are strictly rejected.
💻 Local Development & Testing
# Clone the repository
git clone https://github.com/puskalkafle/product-image-upscale-ai.git
cd product-image-upscale-ai/mcp-server
# Install dependencies
npm install
# Build TypeScript
npm run build
# Run with MCP Inspector
npx @modelcontextprotocol/inspector node dist/index.js
📄 License
MIT © ProductImageUpscale AI