Generate image, video, music and speech through Chutes and save assets into your project.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Chutes Media MCP.
list_media_modelsCallable MCP tool function
describe_media_modelCallable MCP tool function
generate_mediaCallable MCP tool function
Generate image, video, music and speech through Chutes from inside any coding agent β Claude Code, Cursor, Cline, Windsurf, Codex, OpenCode, Claude Desktop β and save the generated asset straight into the project you're working on.
Independent community project. Not officially affiliated with or endorsed by Chutes.
Requires Node.js 20.3+ and a Chutes API key. Add the server to Claude Code:
Then ask your agent naturally:
Generate a cinematic hero image of a misty mountain range and save it in this project.
The agent discovers a suitable model, reads its live input schema, validates the request, and saves
the result under assets/chutes/<kind>/. For Cursor, Cline, Windsurf, OpenCode and Claude Desktop,
see Use as an MCP server.
| Live model contract | Safer project I/O | Project-native output | One shared core |
|---|---|---|---|
| Reads each model's current schema instead of hardcoding payloads. | Contains file access to the workspace and protects existing assets by default. | Saves generated media and optional provenance directly beside your code. | MCP and CLI expose the same discovery, validation and generation behavior. |
It ships as:
chutes-media-mcp, stdio) β the primary, universal interface,chutes-media) β a fallback for shells and agents without MCP support, andskill/chutes-media) documenting the
describeβgenerate workflow (auto-loaded by Claude Code; usable as reference by any agent).Both frontends are thin adapters over one shared, transport-agnostic core.
./assets/chutes/<kind>/) and returns the path.Chutes models differ wildly (FLUX vs Qwen-Image vs Wan vs LTX vs ACE-Step vs a TTS model), so payloads are never hardcoded. The flow is always:
list_media_models β discover a model for the kind you want.describe_media_model β fetch the model's live cords and input schema.generate_media β submit the payload you composed; the asset is saved into the workspace.The server owns all the plumbing: auth, cold-start warmup + retry, blocking invocation with progress, downloading, saving, light validation, and best-effort cost reporting.
CHUTES_API_KEY). Create one in your Chutes account.An MCP server isn't "installed" like an app β it's registered as a command in your MCP client's config (see Use as an MCP server). Pick whichever way of providing that command suits you:
1. npx from npm β recommended (no install):
2. Global install:
3. Directly from GitHub (no npm needed): builds on install via the prepare script.
4. From source (for development):
The package ships two bins:
chutes-media-mcp(the MCP server) andchutes-media(the CLI).
| Variable | Required | Default | Purpose |
|---|---|---|---|
CHUTES_API_KEY | β | β | Your Chutes API key. Read from the environment; never written to disk. |
CHUTES_AUTH_SCHEME | raw | How the key is sent in Authorization: raw (the key as-is) or bearer (prefixed Bearer ). On a 401, try flipping this. | |
CHUTES_API_BASE_URL | https://api.chutes.ai | Management API base URL. HTTPS is required except for loopback development; custom endpoints receive no Chutes API key. | |
CHUTES_OUTPUT_DIR | assets/chutes | Output directory inside the agent's CWD. A <kind>/ subfolder is appended. | |
CHUTES_WARMUP | true | Warm models up before invoking. Set false to skip. | |
CHUTES_COLD_START_RETRIES | 4 | Retries when a cold model returns 503 no-instances (0 disables). | |
CHUTES_COLD_START_BACKOFF_MS | 8000 | Base backoff between cold-start retries (grows per attempt). | |
CHUTES_MAX_ASSET_MB | 512 | Maximum response or local input-asset size accepted in memory (max 4096). | |
CHUTES_PROGRESS_INTERVAL_MS | 5000 | How often progress heartbeats are emitted while a call blocks. | |
CHUTES_ALLOW_UNKNOWN_PARAMS | false | When true, allow params not in the model schema. Default rejects them so a renamed/unknown field fails loudly. | |
CHUTES_PROVENANCE | true | Write a <asset>.json provenance sidecar (model, cord, params, schema hash). Set false to disable. |
Generated assets are saved to ./assets/chutes/<kind>/ by default, relative to wherever the agent is
running β so they land inside the project being worked on. Output traversal and symlink escapes are
rejected. Existing files are not replaced unless overwrite is explicitly enabled.
Claude Code:
Cursor / Cline / Windsurf / OpenCode / Claude Desktop (generic mcpServers config):
To run without npm, replace the args with
["-y", "github:TheStreamCode/chutes-media-mcp"].
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/chutes-media-mcp)<a href="https://allmcps.com/mcp/chutes-media-mcp"><img src="https://allmcps.com/api/badge/chutes-media-mcp?style=directory" alt="Chutes Media MCP on AllMCPs" /></a>