Skip to content
MCP server

Gemini Media

Generate images, video, speech and music with Google models from your agent

Runs locally

Gemini Media is an MCP server for design and media. It runs locally on your machine and is started by your AI client.

Platforms
CLI, Self-hosted
Runs
Locally
What it can do
Can change data (2 tools)
Version
1.1.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add gemini-media-mcp -- docker run -i --rm ghcr.io/mordor-forge/gemini-media-mcp:1.1.0

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "gemini-media-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/mordor-forge/gemini-media-mcp:1.1.0"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "gemini-media-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/mordor-forge/gemini-media-mcp:1.1.0"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "gemini-media-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/mordor-forge/gemini-media-mcp:1.1.0"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "gemini-media-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/mordor-forge/gemini-media-mcp:1.1.0"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add gemini-media-mcp -- docker run -i --rm ghcr.io/mordor-forge/gemini-media-mcp:1.1.0

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.gemini-media-mcp]
command = "docker"
args = ["run", "-i", "--rm", "ghcr.io/mordor-forge/gemini-media-mcp:1.1.0"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "gemini-media-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/mordor-forge/gemini-media-mcp:1.1.0"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "gemini-media-mcp": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "ghcr.io/mordor-forge/gemini-media-mcp:1.1.0"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user gemini-media-mcp docker -- run -i --rm ghcr.io/mordor-forge/gemini-media-mcp:1.1.0

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "gemini-media-mcp": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "ghcr.io/mordor-forge/gemini-media-mcp:1.1.0"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "gemini-media-mcp": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "ghcr.io/mordor-forge/gemini-media-mcp:1.1.0"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "gemini-media-mcp": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "ghcr.io/mordor-forge/gemini-media-mcp:1.1.0"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "gemini-media-mcp": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "ghcr.io/mordor-forge/gemini-media-mcp:1.1.0"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "gemini-media-mcp": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "ghcr.io/mordor-forge/gemini-media-mcp:1.1.0"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "gemini-media-mcp": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "ghcr.io/mordor-forge/gemini-media-mcp:1.1.0"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "gemini-media-mcp": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "ghcr.io/mordor-forge/gemini-media-mcp:1.1.0"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About Gemini Media

This Go server wraps Google's generative media models for coding agents. Its catalogue lists image generation and editing with Nano Banana, video with Veo and Gemini Omni Flash, text-to-speech, and music with Lyria. It runs over stdio or Streamable HTTP and works with either a Gemini API key or Vertex AI.

There are 14 tools, from generate_image and edit_image to a two-step upscale flow that plans tiles and stitches them into a large image, asynchronous video jobs with polling, video extension and editing, speech with 30 voices and music up to full songs with lyrics. A built-in model catalogue records IDs, parameters and prices, and retired models redirect to replacements.

It is cost-aware: results report an estimated cost, estimate_cost compares options, spend is recorded in a ledger with session, daily and monthly caps, and expensive calls need approval. Install options include a binary, Docker image, Claude Desktop bundle and plugin packaging for several agents.

Tools this server provides (14)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 2 of 14 tools change data; 8 names don't say.

From the server's own tool labels and tool names; not verified by us.

generate_image
Text-to-image with reference images, sizes and variations.
edit_imageName suggests: changes
Change an existing image while keeping the rest.
tile_image
Plan crops for an upscale to any target size.
stitch_tiles
Align and blend edited tiles into one large PNG.
generate_video
Create a clip with native audio, returning a job id.
get_videoName suggests: reads
Wait for a video job and download the result.
extend_video
Continue a finished clip.
edit_videoName suggests: changes
Change a finished clip with an instruction.
generate_speech
Text-to-speech in WAV with one or two speakers.
generate_music
Create clips or full songs with lyrics.
list_modelsName suggests: reads
List models, aliases, status and prices.
estimate_cost
Price a request before running it.
get_usageName suggests: reads
Estimated spend and budgets remaining.
get_configName suggests: reads
Active backend, output directory and warnings.

What it does

Image generation and editing
Text-to-image with references and edits that keep the rest.
Video with audio
Veo and Gemini Omni clips, extensions and edits.
Speech and music
Text-to-speech and Lyria music generation.
Tile-based upscaling
Plan, edit and stitch tiles into very large images.
Budget controls
Cost estimates, ledger and spending caps.
Model catalogue
Aliases, prices and lifecycle, updatable by YAML.

Good for

  • Generate and refine marketing images
  • Create a short video clip with sound
  • Upscale a photo beyond 4K
  • Compare costs of models before running
  • Produce narration or a music bed

Pricing

Pricing unknown

Google API usage is billed by Google; the server estimates cost

Gemini Media FAQ

What credentials are needed?

A Gemini API key from Google AI Studio, or a Google Cloud project with Vertex AI.

Can Gemini Media control spending?

Yes, with session, daily and monthly budgets and approval for costly calls.

How is Gemini Media installed?

Binary, Docker image, Claude Desktop bundle or plugins.

Does Gemini Media run remotely?

It supports stdio and Streamable HTTP.

How do I add Gemini Media to Claude Code?

Run this command in your terminal: claude mcp add gemini-media-mcp -- docker run -i --rm ghcr.io/mordor-forge/gemini-media-mcp:1.1.0

What are the best alternatives to Gemini Media?

The closest alternatives to Gemini Media are HyperFrames by HeyGen, headroom, omniget, ffmpeg-skill and next-ai-draw-io.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers