# gemini-audio-mcp [Health: Active]

**Category:** 🎥 Multimedia Process  
**Repository:** https://github.com/jxoesneon/gemini-audio-mcp  
**GitHub Stars:** 0  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/gemini-audio-mcp

## Description
High-performance audio, music, and voice generation MCP server for Gemini 2.5 and Lyria 3.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "gemini-audio-mcp": {
    "command": "npx",
    "args": ["-y","gemini-audio-mcp"],
    "env": {
      "GEMINI_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `GEMINI_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What gemini-audio-mcp does

The gemini-audio-mcp MCP server exposes audio-generation functions through the Model Context Protocol. It connects to Google AI services rather than acting as a standalone synthesizer: Gemini 2.5 Multimodal Live supports interactive voice and foley-oriented work, while Lyria 3 Pro handles high-fidelity music generation.

Four documented tools cover the main workflows:

- `generate_soundscape` creates vocal-free ambient material from a text prompt. It accepts options such as duration, quality, and automatic playback.
- `generate_music` creates structured musical pieces and can take a tempo, key, intensity, and other generation controls.
- `transition_soundscape` generates a crossfade between two described environments.

The server is suited to agents creating background ambience, music sketches, spoken lines, or audio transitions for interactive and media-oriented workflows.

## How it works

The gemini-audio-mcp MCP server uses two network paths. A WebSocket loop connects to Gemini 2.5 Live for lower-latency interactive voice and foley tasks. A REST pipeline sends music-generation requests to Lyria 3 Pro.

Audio is processed internally as PCM. The documented processing sequence decodes, crossfades, loops, and encodes audio. This allows shorter generated clips to be extended into seamless soundscapes intended to avoid audible clicks. The `duration` parameter controls the target length and can activate this looping behavior.

Optional controls include an integer `seed` for reproducible results, `image_path` for using a local image as acoustic-mood guidance, `bpm` for musical tempo, `intensity` on a 1–10 scale, and `guidance` from 0.0 to 6.0 for Lyria prompt adherence.

## Setup and configuration

The server can be launched through an MCP client with `npx`, using Node.js 18 or newer. Its configuration requires the `GEMINI_API_KEY` environment variable, which should contain a Google AI Studio API key. The key should be injected through the environment rather than written into configuration or source files.

FFmpeg must be installed and available on the system `PATH` for audio encoding, decoding, and transcoding. The README gives package-manager installation examples for macOS, Windows, and Debian-based Linux systems. A source build is also documented: install the Rust toolchain, clone the repository, and run `cargo build --release` to produce the optimized binary.

Access to Lyria 3 Pro or Clip models may require a paid Google AI Studio tier or particular preview access. Model availability should therefore be checked before relying on Lyria-backed tools in production.

## Limitations and notes

Generation depends on Google API access, the configured model, account permissions, and applicable rate limits. A 429 response can indicate that the account tier or requested concurrency is insufficient. The server uses a semaphore to limit concurrency, but that does not remove provider-side quotas.

If audio is empty, verify the API key and confirm access to the selected model, especially `lyria-3-pro-preview`. If FFmpeg errors occur, check that the executable is discoverable with `ffmpeg -version` and that the installation includes codecs required by the selected output, such as MP3 support through `libmp3lame`.

The documented deployment examples use MCP over a local command process. The README specifically shows Claude Desktop configuration and does not document a hosted HTTP deployment or client-specific setup beyond that example.

_Full upstream README: https://allmcps.com/mcp/gemini-audio-mcp/readme_

