Back to Browse

Turbogen MCP Server

Developer ToolsModerate5.2MCP RegistryLocal
Free

Server data from the Official MCP Registry

Generate images, video and audio (Seedance, Kling, Veo 3.1, Nano Banana Pro) pay-as-you-go.

About

Generate images, video and audio (Seedance, Kling, Veo 3.1, Nano Banana Pro) pay-as-you-go.

Security Report

5.2
Moderate5.2Moderate Risk

The Turbogen MCP server requires a bearer API key from the environment, keeps the key out of source, and only contacts the Turbogen API. Its permissions match its image, video, and audio generation purpose. The main concerns are low-severity: local image paths are uploaded to the API without a directory restriction, and the job download URL returned by the API is used with the bearer token attached. Supply chain analysis found 5 known vulnerabilities in dependencies (0 critical, 5 high severity). Package verification found 1 issue.

3 files analyzed · 10 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

File System Read

Reads files on your machine. Normal for tools that analyze or process local data.

File System Write

Writes or modifies files on your machine. Check that this is expected for the tool.

What You'll Need

Set these up before or after installing:

API key from https://turbogen.app/#/apikeys (starts with lk_)Required

Environment variable: TURBOGEN_API_KEY

Folder for downloaded results (default ~/Downloads/turbogen)Optional

Environment variable: TURBOGEN_OUTPUT_DIR

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "turbogen-mcp": {
      "command": "uvx",
      "args": [
        "turbogen-mcp==0.1.5"
      ],
      "env": {
        "TURBOGEN_API_KEY": "your-turbogen-api-key-here",
        "TURBOGEN_OUTPUT_DIR": "your-turbogen-output-dir-here"
      }
    }
  }
}

Some servers take additional arguments. See the repository for details.

Documentation

View on GitHub

From the project's GitHub README.

Turbogen MCP server

turbogenai/turbogen-mcp MCP server

Generate images, video and audio with Turbogen straight from Claude Desktop, Claude Code, Cursor or any other MCP client. Same models and prices as the studio; credits come from your balance.

Tools

ToolWhat it does
list_models(kind?)Model ids, aspect/voice choices, options and credit prices (kind = image, video or audio)
generate_image(prompt, model="nano-banana-2", aspect="1:1", option?, reference_images?)Image, saved locally; a preview is returned when the file is under 1 MB
generate_video(prompt, model="veo-3.1-fast", aspect="16:9", option="8s", image_path?, end_frame?, reference_images?, reference_videos?, reference_audios?, server?)Video clip: first / last frame, or reference pictures, videos and audio (Seedance); server picks one of the model's servers from list_models (Seedance "Sigma": every second 4-30 s, 480p-1080p, ratio "auto", audio references)
generate_audio(text_or_prompt, model="voice", aspect?, option?, lyrics?)voice (aspect = voice name), music (aspect = Instrumental / With vocals + lyrics) or sfx
upscale_image(path, scale="2x")Upscale a local image 2x or 4x
get_balance()Remaining credits
job_status(job_id, download=false)Status of a job, e.g. one that took longer than the 10-minute wait

Generation tools submit the job, poll every 5 s for up to 10 minutes (parallel jobs share one status request and wait out rate limits), download the result into the output folder and return the local path, the cost and your remaining credits.

Get an API key

API access comes with every pack, from Spark. Open API in the studio (https://turbogen.app/#/apikeys), create a key and copy it (lk_..., shown only once).

Configuration

VariableRequiredDefault
TURBOGEN_API_KEYyes—
TURBOGEN_BASE_URLnohttps://turbogen.app
TURBOGEN_OUTPUT_DIRno~/Downloads/turbogen

Install

With uv nothing needs installing up front, uvx runs it on demand:

uvx turbogen-mcp

Or install the command once with pipx (or uv tool):

pipx install turbogen-mcp      # or: uv tool install turbogen-mcp
turbogen-mcp                            # waits for an MCP client on stdin; Ctrl+C to quit

Plain venv:

python -m venv .venv
.venv/bin/pip install turbogen-mcp     # Windows: .venv\Scripts\pip install turbogen-mcp

Requires Python 3.10+.

Claude Desktop

Edit claude_desktop_config.json (Settings > Developer > Edit Config; macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\) and restart Claude Desktop:

{
  "mcpServers": {
    "turbogen": {
      "command": "uvx",
      "args": ["turbogen-mcp"],
      "env": {
        "TURBOGEN_API_KEY": "lk_your_key_here"
      }
    }
  }
}

With pipx use "command": "turbogen-mcp" and drop args. If the app cannot find the command, give the full path (e.g. C:\\Users\\you\\.local\\bin\\turbogen-mcp.exe).

Claude Code

claude mcp add turbogen --env TURBOGEN_API_KEY=lk_your_key_here -- uvx turbogen-mcp
# installed with pipx instead:
claude mcp add turbogen --env TURBOGEN_API_KEY=lk_your_key_here -- turbogen-mcp

Add --scope user to make it available in every project. Check with claude mcp list.

Cursor

Create .cursor/mcp.json in the project (or ~/.cursor/mcp.json for all projects):

{
  "mcpServers": {
    "turbogen": {
      "command": "uvx",
      "args": ["turbogen-mcp"],
      "env": {
        "TURBOGEN_API_KEY": "lk_your_key_here",
        "TURBOGEN_OUTPUT_DIR": "~/Downloads/turbogen"
      }
    }
  }
}

Try it

Ask your assistant things like:

  • "List the Turbogen video models and their prices."
  • "Generate a 16:9 image of a lighthouse at dusk with nano-banana-2."
  • "Turn ~/Downloads/turbogen/lighthouse.png into an 8 second Veo clip with a slow push-in."
  • "Make a 5 second sound effect of waves on rocks."
  • "How many credits do I have left?"

Prices

What a job costs when you call it through the MCP server. It is the same price as in the studio and the REST API. Checked on 27 November 2026. The live list, per second and per clip for every model, is at https://turbogen.app/api-pricing (JSON: https://turbogen.app/prices.json), and list_models returns the current credit price of every option.

USD is approximate: credits times the pack rate. Spark is the smallest pack ($9.99 for 1,000 credits, about $0.0100 per credit), Max is the largest ($79.99 for 9,200 credits, about $0.0087 per credit).

EnginemodeloptionCreditsUSD on SparkUSD on Max
Seedance 2.5seedance-2.55s (480p)55$0.55$0.48
Seedance 2.5seedance-2.55s 720p65$0.65$0.57
Seedance 2.5seedance-2.510s 720p119$1.19$1.03
Kling 4.0kling-4.05s53$0.53$0.46
Kling 4.0kling-4.010s106$1.06$0.92
Grok Imagine 1.5grok-video-1.56s9$0.09$0.08
Grok Imagine 1.5grok-video-1.510s14$0.14$0.12
Veo 3.1 Fastveo-3.1-fast8s22$0.22$0.19
Veo 3.1 Qualityveo-3.18s89$0.89$0.77
Veo 3.1 Liteveo-3.1-lite8s13$0.13$0.11
Seedance 2.5 Flashseedance-2.5-flash5s 720p45$0.45$0.39
Gemini Omni Flash 1.2omni-flash-1.25s15$0.15$0.13
Nano Banana Pro (image)nano-banana-pro2K6$0.06$0.05
Nano Banana 2 (image)nano-banana-21K3$0.03$0.03

Notes:

  • Kling 4.0 starts from a picture, so pass image_path.
  • Seedance prices are the regular ones at the cheapest server online. A model can have several servers with their own prices; list_models shows them and server picks one.
  • Credit packs are one-time purchases, nothing renews, and bought credits are valid for 2 months.
  • A failed generation is refunded to the balance automatically.

Errors

  • Not enough credits (402): top up at <base>/#/pricing.
  • Invalid API key (401): the key is wrong, revoked, or the account has no API access.
  • Model unavailable (503): try another model or retry later.
  • Rate limited (429): up to 30 jobs per minute and 3 running at once.
  • Failed generations are refunded automatically.

Links

Reviews

No reviews yet

Be the first to review this server!