# pruna

Connect Pruna AI to an assistant for image generation, editing, upscaling and video workflows. Running the server requires a Pruna API key.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 5
- Author: charlesrapp
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/charlesrapp/pruna-mcp-server
- Updated: 2026-07-14
- HTML: https://affpapa.org/en/nevibecode/mcp/pruna

## What it does

The server exposes tools for creating images from text, editing between one and five images, virtual garment try-on and upscaling. Video tools can generate clips from text, images or audio, or transform existing footage. Built-in prompt templates cover workflows such as product photography and ad creatives.

Run it with `uvx` and provide `PRUNA_API_KEY`. Images are saved locally; video results include a file and a download link. Inline MCP returns are limited to images below 5 MB and videos below 25 MB, so larger media relies on client-side handling. Claude Code can register the server with `claude mcp add`.

Image and video operations have usage-based prices; listing available models is free. Image generation starts at $0.0001 per image, while other operations have their own rates. Account for that when choosing a workflow, since costs vary by tool.

## Requirements
- Needs: Python and uv (commands run via uvx)
- Environment variables: `PRUNA_API_KEY` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add pruna -e PRUNA_API_KEY=<PRUNA_API_KEY> -- uvx pruna-mcp-server
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from pruna-mcp-server <command>

### Codex

**Platform CLI**
```bash
codex mcp add pruna --env PRUNA_API_KEY=<PRUNA_API_KEY> -- uvx pruna-mcp-server
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from pruna-mcp-server <command>

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "pruna": {
            "command": "uvx",
            "args": [
                "pruna-mcp-server"
            ],
            "env": {
                "PRUNA_API_KEY": "<PRUNA_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from pruna-mcp-server <command>

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "pruna": {
            "type": "stdio",
            "command": "uvx",
            "args": [
                "pruna-mcp-server"
            ],
            "env": {
                "PRUNA_API_KEY": "<PRUNA_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from pruna-mcp-server <command>

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e PRUNA_API_KEY=<PRUNA_API_KEY> pruna uvx pruna-mcp-server
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from pruna-mcp-server <command>

## When to use it
- generate an image from a text prompt
- edit several images using written instructions
- upscale an image
- make a video from text, an image or audio
- browse Pruna models and their prices

## Example prompts
- Create an image of red sneakers on a plain white background.
- Edit `photo.png` to replace its background with a bright studio setting.
- Upscale the image in `cover.png`.

## Similar
- [MCP Toolbox for Databases](https://affpapa.org/en/nevibecode/mcp/googleapis-mcp-toolbox-for-databases.md) — MCP server · ★ 16730
- [labelhead-artist-momentum](https://affpapa.org/en/nevibecode/mcp/labelhead-artist-momentum.md) — MCP server · ★ 107701
- [Agent Skills Search Server](https://affpapa.org/en/nevibecode/mcp/agent-skills-search-server.md) — MCP server · ★ 26673
- [Skyvern](https://affpapa.org/en/nevibecode/mcp/skyvern.md) — MCP server · ★ 23283
- [Nhost](https://affpapa.org/en/nevibecode/mcp/nhost.md) — MCP server · ★ 9369
- [PraisonAI](https://affpapa.org/en/nevibecode/mcp/praisonai.md) — MCP server · ★ 9298

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
