The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Pruna listing page.
MCP server for Pruna AI — ultra-fast image generation, editing, upscaling, and video generation directly from your AI assistant.
Pruna AI is an inference API specialized in image and video generation. It offers sub-2-second image generation starting at $0.005/image, with models for text-to-image, image editing, upscaling, and video generation. This MCP server wraps their API so any MCP-compatible client (Claude Desktop, Kiro, Cursor) can generate visual content natively.
Conforms to MCP Specification 2025-11-25.
generate_image, edit_image, try_on_image, upscale_image, generate_video, transform_video, list_models, upload_filepruna://models catalog for model discovery without tool callsImageContent blocks for clients that support inline displaySet your API key — get one at pruna.ai (go to the developer portal or contact Pruna to request access):
Add to your agent config (e.g. ~/.kiro/agents/default.json):
In mcpServers:
In tools, add: "@pruna/*"
In allowedTools, add: "generate_image", "edit_image", "try_on_image", "upscale_image", "generate_video", "transform_video", "list_models", "upload_file"
Note: Kiro agents use a
toolswhitelist with@server-name/*syntax and anallowedToolslist. Both must include the Pruna tools for them to be available.
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):
Important: Use the full path to
uv(e.g./Users/you/.local/bin/uv) — Claude Desktop launches processes with a minimal PATH that doesn't include~/.local/bin.
Note: Claude Desktop does not render
ImageContentinline in the chat. The image is generated and saved locally — Claude will reference the file path in its response.
Add to .cursor/mcp.json:
| Tool | Description | Pricing |
|---|---|---|
generate_image | Text-to-image with 10 models | From $0.0001/image |
edit_image | Edit 1-5 images with text instructions | From $0.010/image |
try_on_image | Virtual try-on: fit up to 11 garments onto a person | $0.015 first + $0.008/extra garment |
upscale_image | AI upscaling up to 128 megapixels | From $0.005/image |
generate_video | Text/image/audio to video | From $0.005/s |
transform_video | Video-to-video: animate a subject or replace characters | $0.03/s (720p), $0.06/s (1080p) |
list_models | Browse all available models with pricing | Free |
upload_file | Upload files for editing/video workflows | Free |
Image tools return both a JSON metadata block and a native MCP ImageContent block (base64, for images < 5MB).
Video tools return a JSON metadata block (including a download_url to the Pruna delivery URL), the .mp4 as a native MCP binary resource (EmbeddedResource blob, for videos < 25MB) so clients materialize the file the same way they save images, and a ResourceLink to the same delivery URL as a fallback for larger files. All tools return an absolute file_path.
Built-in workflow templates for common use cases:
| Prompt | Use Case | Example |
|---|---|---|
product-photo | E-commerce product shots | "white leather sneakers on clean background" |
virtual-staging | Real estate room staging | Stage empty rooms with furniture |
social-media-visual | Platform-optimized visuals | Auto aspect ratio per platform |
game-concept-art | Game assets & environments | Characters, weapons, landscapes |
ad-creative | Digital ads with text overlay | Headlines rendered in the image |
video-ad | Short video ads | Talking heads, product demos |
image-enhance | Upscale + enhance workflow | AI-generated image refinement |
| Environment Variable | Required | Default | Description |
|---|---|---|---|
PRUNA_API_KEY | ✅ | — | Your Pruna AI API key |
PRUNA_OUTPUT_DIR | — | ~/pruna-output | Directory for downloaded files |
PRUNA_POLL_INTERVAL | — | 2 | Seconds between async polls |
PRUNA_TIMEOUT | — | 120 | HTTP timeout in seconds |
PRUNA_MAX_RETRIES | — | 3 | Max retries on transient errors |
| Client | Transport | Status | Notes |
|---|---|---|---|
| Kiro CLI | STDIO | ✅ Tested | Requires tools + allowedTools config |
| Claude Desktop | STDIO | ✅ Tested | Use full path to uv; no inline image display |
| Cursor | STDIO | 🔲 Planned | — |
| Claude Code | STDIO | 🔲 Planned | — |
See CONTRIBUTING.md for guidelines.
MIT — see LICENSE.