Skip to main content
MCP server CX Codex

mediagen — Claude Code MCP server for image and video generation

Create images and video from agent requests, edit existing images, and save the results to files. Useful when a project needs generated media without leaving the coding workflow.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add mediagen -- npx -y mediagen
Open on GitHub

What mediagen does

mediagen routes requests to Google Gemini, OpenAI, or Kie AI. The agent can select a provider or follow your choices for the model, aspect ratio, size, and output filename. It can also edit an existing image and add an AI-generated label to the result.

You need Node.js 20.11 or later and an API key for at least one provider. Run npx -y mediagen init to configure a key, then add the MCP server to Claude Code. Avoid passing a key as a command-line argument: the project warns that arguments can remain in shell history and the process list.

What it helps with

  • generate a hero image from a text brief
  • create video with an available provider
  • edit an image already in the project
  • save generated media under a chosen filename
  • label an image as AI-generated

Example prompts for the agent

  • Create a wide, moody industrial hero image for the landing page.
  • Generate a video from this description and save it in the project folder.
  • Edit hero.png and add a visible AI-generated label.

How to install mediagen

Platform CLI

claude mcp add mediagen -- npx -y mediagen

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about mediagen

How do I install mediagen in Claude Code?

Run claude mcp add mediagen -- npx -y mediagen. Then configure a provider key with npx -y mediagen init.

What does mediagen do?

It creates images and video from agent requests using Gemini, OpenAI, or Kie AI. It can also edit existing images and label generated output.

What does mediagen need to run?

Use Node.js 20.11 or later and provide an API key for at least one supported provider: Gemini, OpenAI, or Kie AI.

Similar MCP servers

All MCP servers for AI and ML →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor