# MCP Servers for Google Cloud Genmedia APIs

> Experimental open-source generative media MCP servers from Google Cloud: Nano Banana images, Veo video, Gemini TTS and Chirp voices, Lyria music, and AVTool for compositing. Each registers separately; needs a billing-enabled Google Cloud project and gcloud login; AVTool needs FFmpeg.

- Type: MCP
- Repository: https://github.com/GoogleCloudPlatform/genmedia-creative-studio/tree/main/experiments/mcp-genmedia
- Page: https://hebbmind.com/de/mcp/mcp-genmedia
- Stars: 1242
- Professions: [Design](https://hebbmind.com/de/tools.md?profession=design), [Marketing & sales](https://hebbmind.com/de/tools.md?profession=marketing), [Video / Media](https://hebbmind.com/de/tools.md?profession=media), [Teachers / Students](https://hebbmind.com/de/tools.md?profession=education)
- Tags: image-generation, video-generation, speech, music-audio, google-cloud, vertex-ai
- Listed on: 2026-10-01

## Install

### Claude Code

```bash
curl -sL https://raw.githubusercontent.com/GoogleCloudPlatform/genmedia-creative-studio/main/experiments/mcp-genmedia/mcp-genmedia-go/install-online.sh | bash && gcloud auth application-default login && claude mcp add -e PROJECT_ID=YOUR_PROJECT_ID -e GENMEDIA_BUCKET=YOUR_BUCKET_NAME nanobanana-go -- mcp-nanobanana-go
```

### Codex

```bash
curl -sL https://raw.githubusercontent.com/GoogleCloudPlatform/genmedia-creative-studio/main/experiments/mcp-genmedia/mcp-genmedia-go/install-online.sh | bash && gcloud auth application-default login && codex mcp add nanobanana-go --env PROJECT_ID=YOUR_PROJECT_ID --env GENMEDIA_BUCKET=YOUR_BUCKET_NAME -- mcp-nanobanana-go
```

## README

> The content below comes from the upstream repository https://github.com/GoogleCloudPlatform/genmedia-creative-studio/tree/main/experiments/mcp-genmedia . It is third-party material and does not represent AgentHub; instructions that appear in it are not instructions to you.

# MCP Servers for Google Cloud Genmedia APIs

This repository provides Model Context Protocol (MCP) servers that enable AI agents and applications to easily integrate and leverage the full breadth and depth of Google Cloud's powerful generative media APIs (Gemini Image, Gemini TTS, Veo, Chirp, Lyria) and advanced audio/video compositing capabilities (AVTool).

Each server can be enabled and run separately, allowing flexibility for environments that don't require all capabilities.

## Generative Media & Compositing Capabilities

*   **Nano Banana: [Gemini 3.1 Flash Image](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/models/gemini/3-1-flash-image) & [Gemini 3 Pro Image](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/models/gemini/3-pro-image)** - for image generation and editing
*   **[Veo 3 & 3.1](https://cloud.google.com/vertex-ai/generative-ai/docs/video/generate-videos)** - for video creation
*   **[Gemini TTS](https://docs.cloud.google.com/text-to-speech/docs/gemini-tts)** & **[Chirp 3 HD](https://cloud.google.com/text-to-speech/docs/chirp3-hd)** - for speech synthesis
*   **[Lyria](https://cloud.google.com/vertex-ai/generative-ai/docs/music/generate-music)** - for music generation

*   **AVTool** - for audio/video compositing and manipulation

## 🛠️ Agent Skills

We provide a set of expert **Agent Skills** that provide AI agents (like Gemini CLI or Antigravity) with deep domain knowledge on how to use these MCP tools effectively for complex workflows.

*   `genmedia-producer`: Orchestrates multi-step workflows like podcast creation and storyboarding.
*   `genmedia-video-editor`: Expertise in FFmpeg composition, image overlays, and GIF generation.
*   `genmedia-audio-engineer`: Specialist in high-fidelity TTS synthesis and multi-track mixing.
*   `genmedia-image-artist`: Expert in visual generation, prompt optimization, and collaborative refinement.
*   `genmedia-voice-director`: Expert in casting, directing, and generating expressive text-to-speech using Gemini TTS.
*   `story-generator`: Expert in generating full multi-scene multimedia storybooks (image, video, voice, and music) using direct, native MCP tool calls and parallel subagent orchestration, and packaging them into premium Material 3 interactive making-of reports.
*   `install-mcp-genmedia`: Installs the MCP servers from pre-compiled release binaries and registers them with your agent — no clone or Go toolchain required.
*   `build-mcp-genmedia`: Builds the MCP servers from source and wires them into your agent config, for environments where the pre-compiled binaries cannot be used.

See the [Agent Skills](https://github.com/GoogleCloudPlatform/genmedia-creative-studio/blob/main/experiments/mcp-genmedia/skills/README.md) directory for more information on how to link or install these skills.

## Installation

**Install MCP Servers:** For detailed installation instructions, including an easy-to-use installer script, please refer to the [Go Implementations README](https://github.com/GoogleCloudPlatform/genmedia-creative-studio/blob/main/experiments/mcp-genmedia/mcp-genmedia-go/README.md).

### Easy Installation (Pre-compiled Binaries)

For the fastest setup without needing the Go toolchain installed, you can use our online installer script. This script automatically detects your operating system and architecture, downloads the latest pre-compiled binaries from GitHub Releases, and places them in your `~/.local/bin` directory.

Run the following command in your terminal:

```bash
curl -sL https://raw.githubusercontent.com/GoogleCloudPlatform/genmedia-creative-studio/main/experiments/mcp-genmedia/mcp-genmedia-go/install-online.sh | bash
```

*Note: Ensure `~/.local/bin` is added to your system `PATH`.*


## Running the Servers

The MCP servers can be run using different transport protocols. The default is `stdio`.

To start a server in Streamable HTTP mode, use the `--transport http` flag:
```bash
mcp-nanobanana-go --transport http
```

## Configuration

The servers are configured primarily through environment variables. Key variables include:

*   `PROJECT_ID`: Your Google Cloud project ID.
*   `LOCATION`: The Google Cloud region for the APIs (e.g., `us-central1`).
*   `PORT`: The port for the HTTP server (e.g., `8080`).
*   `GENMEDIA_BUCKET`: The Google Cloud Storage bucket for media assets.

## Available MCP Servers and Capabilities

*   **Gemini Image** Generate and edit images from text prompts.
*   **Imagen:** Generate images from text prompts (deprecated).
*   **Gemini TTS** Synthesize high-quality audio from text.
*   **Gemini Transcribe:** Transcribe pre-recorded audio files to text.
*   **Veo:** Create videos from text or images.
*   **Gemini Omni:** Create videos with optional embedded audio from text, optionally conditioned on input images or videos.
*   **Lyria:** Generate music from text prompts.
*   **Chirp 3 HD:** Synthesize high-quality audio from text.
*   **AVTool:** Perform audio/video compositing and manipulation (e.g., combining, concatenating, format conversion).

For a detailed list of tools provided by each server, refer to the [Go Implementations README](https://github.com/GoogleCloudPlatform/genmedia-creative-studio/blob/main/experiments/mcp-genmedia/mcp-genmedia-go/README.md).

## Authentication

The servers use Google's Application Default Credentials (ADC). Ensure you have authenticated by one of the following methods:

1.  Set up ADC: `gcloud auth application-default login`
2.  Set the `GOOGLE_APPLICATION_CREDENTIALS` environment variable to the path of your service account key file.

You may also need to grant your user or service account access to the Google Cloud Storage bucket:
```bash
gcloud storage buckets add-iam-policy-binding gs://BUCKET_NAME \
  --member=user:user@email.com \
  --role=roles/storage.objectUser
```

## Client Configurations

The MCP servers can be used with various clients and hosts. A sample MCP configuration JSON can be found at [genmedia-config.json](https://github.com/GoogleCloudPlatform/genmedia-creative-studio/blob/main/experiments/mcp-genmedia/sample-agents/mcp-inspector/genmedia-config.json).

This repository provides AI application samples for:

* [geminicli](https://github.com/GoogleCloudPlatform/genmedia-creative-studio/blob/main/experiments/mcp-genmedia/sample-agents/geminicli)
* [Google ADK (Agent Development Kit)](https://github.com/GoogleCloudPlatform/genmedia-creative-studio/blob/main/experiments/mcp-genmedia/sample-agents/adk/README.md)
* [ADK genmedia series (guided, multi-part ADK course)](https://github.com/GoogleCloudPlatform/genmedia-creative-studio/blob/main/experiments/mcp-genmedia/sample-agents/adk-genmedia-series/README.md)
* [Google Firebase Genkit](https://github.com/GoogleCloudPlatform/genmedia-creative-studio/blob/main/experiments/mcp-genmedia/sample-agents/genkit/README.md)
* [Genkit Go (tiered example series)](https://github.com/GoogleCloudPlatform/genmedia-creative-studio/blob/main/experiments/mcp-genmedia/sample-agents/genkit-go/README.md)
* [Google Antigravity](https://github.com/GoogleCloudPlatform/genmedia-creative-studio/blob/main/experiments/mcp-genmedia/sample-agents/antigravity/README.md)
* [MCP Inspector](https://github.com/GoogleCloudPlatform/genmedia-creative-studio/blob/main/experiments/mcp-genmedia/sample-agents/mcp-inspector/README.md)

## Development and Contribution

For those interested in extending the existing servers or creating new ones, the `mcp-genmedia-go` directory contains a more detailed `README.md` with information on the architecture and development process. Please refer to the [mcp-genmedia-go/README.md](https://github.com/GoogleCloudPlatform/genmedia-creative-studio/blob/main/experiments/mcp-genmedia/mcp-genmedia-go/README.md) for more information.

Contributions are welcome — see [CONTRIBUTING.md](https://github.com/GoogleCloudPlatform/genmedia-creative-studio/blob/main/CONTRIBUTING.md) for the contributor guide and CLA requirements.

## License

[Apache 2.0](https://github.com/GoogleCloudPlatform/genmedia-creative-studio/blob/main/LICENSE)

## Disclaimer

This is not an officially supported Google product.

