pruna-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PRUNA_API_KEY | Yes | Your Pruna AI API key | |
| PRUNA_TIMEOUT | No | HTTP timeout in seconds | 120 |
| PRUNA_OUTPUT_DIR | No | Directory for downloaded files | ./pruna-output |
| PRUNA_MAX_RETRIES | No | Max retries on transient errors | 3 |
| PRUNA_POLL_INTERVAL | No | Seconds between async polls | 2 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_modelsA | List available Pruna AI models with capabilities and pricing. Args: category: Filter by category: image, editing, try-on, upscale, video, video-edit |
| generate_imageA | Generate an image from a text prompt using Pruna AI. Args: prompt: Text description of the image to generate model: Model to use (default: p-image) aspect_ratio: Output aspect ratio (1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, custom) width: Custom width 256-1440, multiple of 16. Only when aspect_ratio=custom height: Custom height 256-1440, multiple of 16. Only when aspect_ratio=custom seed: Random seed for reproducible generation |
| edit_imageA | Edit one or more images with text instructions using Pruna AI. Args: prompt: Edit instruction describing the desired changes images: 1-5 image URLs or local file paths model: Model to use (default: p-image-edit) aspect_ratio: Output aspect ratio seed: Random seed for reproducible generation |
| try_on_imageA | Virtually fit one or more garments onto a person's photo using Pruna AI. Args: person_image: Image URL or local file path of the person garment_images: 1-11 garment reference images (URLs or local file paths). Up to 6 recommended for best quality. model: Model to use (default: p-image-try-on) prompt: Experimental guidance for non-flatlay garment images (e.g. which garment from which image to use) turbo: Faster generation. Not recommended for more than 4 garments reference_pose: Experimental. Image URL/path to repose the person before try-on seed: Random seed for reproducible generation output_format: Output format (webp, jpg, png) output_quality: Quality for jpg/webp outputs (0-100) preserve_input_size: Resize the result back to the person image size |
| upscale_imageA | Upscale an image using Pruna AI. Args: image: Image URL or local file path to upscale target: Target resolution in megapixels (1-128, capped at 128 MP) output_format: Output format (webp, jpg, png) enhance_details: Enhance fine textures enhance_realism: Improve realism (recommended for AI-generated images) |
| upload_fileA | Upload a local file to Pruna AI for use in editing/video workflows. Args: file_path: Local file path to upload (max 20MB) |
| generate_videoB | Generate a video from text, image, or audio using Pruna AI. Args: prompt: Text prompt for video generation model: Model to use (p-video, wan-t2v, wan-i2v, vace) image: Input image URL/path for image-to-video audio: Input audio URL/path for audio-conditioned video duration: Duration in seconds (1-20) resolution: Video resolution (720p or 1080p) aspect_ratio: Aspect ratio (ignored when image is provided) fps: Frames per second (24 or 48) seed: Random seed for reproducible generation |
| transform_videoA | Transform a source video using reference images (video-to-video). Two models are available:
Motion, timing, camera movement, and scene structure are preserved. Args: video: Source video URL or local file path (.mp4) references: Reference images (URLs or local file paths). Exactly 1 for p-video-animate, 1-3 for p-video-replace. model: Model to use (p-video-animate or p-video-replace) resolution: Output resolution (720p or 1080p) target_fps: Working FPS (original, 24, or 48) instruction_prompt: Optional guidance on how to apply the transform turbo: Faster generation for slightly lower quality save_audio: Save the output video with audio ignore_audio: Ignore source audio during generation seed: Random seed for reproducible generation |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| product-photo | |
| virtual-staging | |
| social-media-visual | |
| game-concept-art | |
| ad-creative | |
| video-ad | |
| image-enhance |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| resource_models | Complete Pruna AI model catalog with pricing and capabilities. |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/charlesrapp/pruna-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server