# Chutes Media MCP [Health: Active]

**Category:** 🎥 Multimedia Process  
**Repository:** https://github.com/TheStreamCode/chutes-media-mcp  
**GitHub Stars:** 1  
**npm Downloads (last month):** 410  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/chutes-media-mcp

## Description
Generate image, video, music and speech through Chutes and save assets into your project.

## Tools
Capabilities this server exposes over MCP:

- **list_media_models** — List available Chutes media-generation models (image / video / music / speech), optionally filtered by kind or a free-text query. Use this to discover a model, then call describe_media_model before generate_media.
- **describe_media_model** — Fetch a model's live cords and input schemas so you can compose a valid request. ALWAYS call this before generate_media for an unfamiliar model. Returns every cord (e.g. generate, and img2img/inpaint when present) with its required fields, types, defaults and a minimal example payload.
- **generate_media** — Run a generation and save the asset into the workspace. `params` is the payload you composed from describe_media_model. For editing, `params` may reference workspace file paths (e.g. image, mask) which the server reads and encodes. The asset is saved under output_dir (default ./assets/chutes/<kind>/) and the saved path is returned. Long video/music jobs block with progress updates.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "chutes-media-mcp": {
    "command": "npx",
    "args": ["-y","chutes-media-mcp"],
    "env": {
      "CHUTES_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `CHUTES_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What Chutes Media MCP does

Chutes Media MCP lets coding agents call Chutes models for four media types: images, video, music, and speech. Image editing is also available when a selected model exposes an editing operation such as `img2img` or `inpaint`.

Generated output is written into the agent’s workspace rather than returned only as a remote result. By default, files are placed below `assets/chutes/<kind>/`, and the returned path can be used by code or subsequent agent actions. The server can also write a provenance sidecar containing the selected model, operation, parameters, and schema hash.

## How it works

The intended workflow is discovery, inspection, then generation:

1. Call `list_media_models` to find models, optionally filtering by media type or text.
2. Call `describe_media_model` to retrieve the model’s available operations, required fields, types, defaults, and example payload.
3. Build the request from that live schema and pass it to `generate_media`.

Requests are checked against the retrieved schema before a GPU call is made. For editing operations, parameters can refer to files in the workspace; the server reads and encodes those files. Video and music requests may block while running, with progress updates emitted during the wait.

Models that have scaled to zero receive automatic cold-start retries with backoff. The same core behavior is available through the bundled `chutes-media` CLI for agents or workflows that do not use MCP.

## Setup and configuration

The published package requires Node.js 20.3 or newer; Node.js 22 or 24 LTS is recommended for production use. Install it on demand with `npx -y chutes-media-mcp`, or install the package globally with npm. Configure the server as a standard stdio MCP process and provide a Chutes API key through `CHUTES_API_KEY`.

Optional settings control authentication format, the Chutes API endpoint, output location, model warmup, cold-start retry behavior, asset-size limits, progress frequency, schema strictness, and provenance files. `CHUTES_OUTPUT_DIR` remains inside the agent’s working directory, with a media-kind subdirectory added automatically.

## Tools and capabilities

- `list_media_models`: discover Chutes models by kind or free-text query.
- `describe_media_model`: inspect the live operations and input contract for a model.
- `generate_media`: execute a validated request and save the resulting asset.
- Support image, video, music, speech, and model-dependent image editing.
- Preserve existing files unless replacement is explicitly enabled.
- Emit provenance metadata unless disabled through configuration.

## Limitations and notes

Input and output paths must resolve inside the current workspace. Traversal and symlink escapes are rejected, and existing files are not replaced implicitly. The default maximum asset size kept in memory is 512 MB, configurable up to 4096 MB.

A missing, invalid, or incorrectly formatted API key causes authentication failures. If a model reports that no instances are ready, the server retries automatically, but the operation can still require additional delay or another model. Because model contracts are fetched at runtime, callers should repeat `describe_media_model` when a parameter is rejected or a model changes its schema.

This is an independent community project and is not affiliated with Chutes.

_Full upstream README: https://allmcps.com/mcp/chutes-media-mcp/readme_

