view source

cxoagi/gemini-media

mcp server

Gemini Media MCP Server - Gemini Omni Flash video and Gemini image generation; community package launched through uvx, needs GEMINI_API_KEY

Community MCP server for Google's Gemini media models. The video-gen capability uses its Gemini Omni Flash tools: text-to-video and image-to-video clips of 3-15 s with native audio, plus extension and edits, paid through a Gemini API key.

MCP Server

  • Package: gemini-media-mcp (PyPI, community-maintained, CxOAGI/gemini-media-mcp)
  • Transport: stdio
  • Command: uvx gemini-media-mcp==0.1.14

Authentication

VariableRequiredDescription
GEMINI_API_KEYYesGemini API key from Google AI Studio; GOOGLE_API_KEY is also read

Available Tools

The package also ships image and Veo tools; Veo and Omni upscaling need Vertex AI credentials, so the capability exposes only the four tools below.

ToolDescription
generate_video_omniGenerate or edit a video with Gemini Omni 1.2 Flash (3-15 s, 16:9 or 9:16, native audio)
extend_video_omniAppend a continuation to an Omni video
edit_videoRefine a generated Omni video over several turns
get_omni_interactionCheck a render by interaction id and save it when finished

Configuration Example

toml
[[mcp.servers]]
name = "gemini-media"
type = "stdio"
command = "uvx"
args = ["gemini-media-mcp==0.1.14"]
timeout_seconds = 600
env = { GEMINI_API_KEY = "{{INPUT:GEMINI_API_KEY}}" }
tools = []