Back to MCP Servers
🧩

MCP server for OpenAI Images/Videos and Google GenAI (Veo) media generation.

To add media-gen-mcp to Claude, run the install command below or copy the ready-made config for Claude Code, Claude Desktop, Cursor and VS Code further down. Restart your client after adding it and its tools show up in your next conversation. It needs 14 environment variables, listed below.

AIDevTools

Install

npx -y @strato-space/media-gen-mcp@1.0.4

Environment variables

OPENAI_API_KEYSet in your MCP config
GEMINI_API_KEYSet in your MCP config
GOOGLE_API_KEYSet in your MCP config
GOOGLE_GENAI_USE_VERTEXAISet in your MCP config
GOOGLE_CLOUD_PROJECTSet in your MCP config
GOOGLE_CLOUD_LOCATIONSet in your MCP config
AZURE_OPENAI_API_KEYSet in your MCP config
AZURE_OPENAI_ENDPOINTSet in your MCP config
OPENAI_API_VERSIONSet in your MCP config
AZURE_OPENAI_DEPLOYMENTSet in your MCP config
MEDIA_GEN_DIRSSet in your MCP config
MEDIA_GEN_URLSSet in your MCP config
MEDIA_GEN_MCP_URL_PREFIXESSet in your MCP config
MEDIA_GEN_MCP_TEST_SAMPLE_DIRSet in your MCP config

Install with your client

Terminal
claude mcp add media-gen --env OPENAI_API_KEY=<YOUR_OPENAI_API_KEY> --env GEMINI_API_KEY=<YOUR_GEMINI_API_KEY> --env GOOGLE_API_KEY=<YOUR_GOOGLE_API_KEY> --env GOOGLE_GENAI_USE_VERTEXAI=<YOUR_GOOGLE_GENAI_USE_VERTEXAI> --env GOOGLE_CLOUD_PROJECT=<YOUR_GOOGLE_CLOUD_PROJECT> --env GOOGLE_CLOUD_LOCATION=<YOUR_GOOGLE_CLOUD_LOCATION> --env AZURE_OPENAI_API_KEY=<YOUR_AZURE_OPENAI_API_KEY> --env AZURE_OPENAI_ENDPOINT=<YOUR_AZURE_OPENAI_ENDPOINT> --env OPENAI_API_VERSION=<YOUR_OPENAI_API_VERSION> --env AZURE_OPENAI_DEPLOYMENT=<YOUR_AZURE_OPENAI_DEPLOYMENT> --env MEDIA_GEN_DIRS=<YOUR_MEDIA_GEN_DIRS> --env MEDIA_GEN_URLS=<YOUR_MEDIA_GEN_URLS> --env MEDIA_GEN_MCP_URL_PREFIXES=<YOUR_MEDIA_GEN_MCP_URL_PREFIXES> --env MEDIA_GEN_MCP_TEST_SAMPLE_DIR=<YOUR_MEDIA_GEN_MCP_TEST_SAMPLE_DIR> -- npx -y @strato-space/media-gen-mcp@1.0.4

Run this in a terminal to add the server to Claude Code.

What this does

media-gen-mcp exposes a set of tools to Claude over the Model Context Protocol. After you add it to claude_desktop_config.json (snippet above) and restart Claude Desktop, those tools become callable inside any conversation.

Requirements

This server needs the following environment variables to be set before it can run:

OPENAI_API_KEY
GEMINI_API_KEY
GOOGLE_API_KEY
GOOGLE_GENAI_USE_VERTEXAI
GOOGLE_CLOUD_PROJECT
GOOGLE_CLOUD_LOCATION
AZURE_OPENAI_API_KEY
AZURE_OPENAI_ENDPOINT
OPENAI_API_VERSION
AZURE_OPENAI_DEPLOYMENT
MEDIA_GEN_DIRS
MEDIA_GEN_URLS
MEDIA_GEN_MCP_URL_PREFIXES
MEDIA_GEN_MCP_TEST_SAMPLE_DIR

Set these via the env object in your MCP config (see claude_desktop_config.json snippet above).

Frequently asked questions

How do I install media-gen-mcp?

Run the Claude Code command in the install section to add media-gen-mcp to Claude Code, or copy the ready-made config for your client from the install section on this page. Restart your client afterwards and the tools appear in your next conversation.

Which clients work with media-gen-mcp?

This page carries setup and config for Claude Code, Claude Desktop, Cursor and VS Code. Any other MCP client that accepts a standard server config can connect to media-gen-mcp as well.

Does media-gen-mcp need an API key?

Yes. Before it can run, set these environment variables: OPENAI_API_KEY, GEMINI_API_KEY, GOOGLE_API_KEY, GOOGLE_GENAI_USE_VERTEXAI, GOOGLE_CLOUD_PROJECT, GOOGLE_CLOUD_LOCATION, AZURE_OPENAI_API_KEY, AZURE_OPENAI_ENDPOINT, OPENAI_API_VERSION, AZURE_OPENAI_DEPLOYMENT, MEDIA_GEN_DIRS, MEDIA_GEN_URLS, MEDIA_GEN_MCP_URL_PREFIXES, MEDIA_GEN_MCP_TEST_SAMPLE_DIR. They go in the env block of your MCP config.

Imported from the Official MCP Registry. The details above come from the registry entry; the maker can claim this listing to correct them, add docs, and see its traffic.

Is this your MCP server?

Claim this listing to see its traffic, fix details yourself, and skip the review queue on future updates.

Listed on clauderules.net

Add this badge to your README

Show visitors this server is listed in the ClaudeRules directory. The badge links straight to this listing.

Markdown
[![Listed on clauderules.net](https://clauderules.net/api/badge/io-github-strato-space-media-gen-mcp)](https://clauderules.net/mcp/io-github-strato-space-media-gen-mcp)
HTML
<a href="https://clauderules.net/mcp/io-github-strato-space-media-gen-mcp" target="_blank" rel="noopener noreferrer"><img src="https://clauderules.net/api/badge/io-github-strato-space-media-gen-mcp" alt="Listed on clauderules.net" /></a>