# audio-studio-mcp [Health: Active]

**Category:** 🎥 Multimedia Process  
**Repository:** https://github.com/kanaworksai-hue/audio-studio-mcp  
**GitHub Stars:** 734  
**Views:** 4  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/audio-studio-mcp

## Description
Local AI BGM and sound effects for Claude Code and any MCP client. Stable Audio 3 on Apple Silicon (MLX) and Windows NVIDIA GPUs (PyTorch). No cloud, no API key.

## Tools
Capabilities this server exposes over MCP:

- **generate_audio** — Generate BGM, instrument loops/stems or sound effects from text with Stable Audio 3 (runs locally). Returns one WAV path per candidate.
- **edit_audio** — Edit existing audio with Stable Audio 3: variation (audio-to-audio), inpainting a time range, or continuation/extension. Returns one WAV path per candidate.

    Official tip: surrounding context outweighs the prompt — inpaint a large region first and shrink it, and keep prompts plausible for the context.
- **process_audio** — Post-process and export a clip: trim, trim silence, mono, normalize (peak or LUFS), seamless loop, fades, then write 48 kHz/44.1 kHz WAV, OGG Vorbis or FLAC (+ .json sidecar). The input file is not modified. Steps run in that order. Does not load any model.
- **generate_song** — Queue a local YuE2 song with vocals. Provide original lyrics with section labels and a style
    description, or replay_from a song WAV in the output folder to reuse its exact settings and seed.
    duration_seconds sets the cap. The model may end earlier. For caps of 30 seconds or less, suggest a
    single short chorus and a style prompt requesting the lead vocal on the first beat before submitting.
    Returns a job_id. Use song_status to check progress and retrieve the WAV. Use cancel_song to stop
    a waiting or running job.
- **song_status** — Get the status, selected profile, estimate and WAV result of a song job. Clients that show the
    generate_song player card do not need to poll; the card follows the job itself.
- **cancel_song** — Cancel a queued or running song. Poll song_status until it is cancelled.
- **unload_models** — Free the ~5–7 GB of memory held by the loaded models now (they reload on the next call).

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

```json
"mcpServers": {
  "audio-studio-mcp": {
    "command": "uvx",
    "args": ["--python","3.11","audio-studio-mcp"]
  }
}
```

## Documentation

## What audio-studio-mcp does

audio-studio-mcp exposes local audio-generation and post-processing capabilities to Claude Code, Claude Desktop, Cursor, and other MCP clients. Its Stable Audio 3 integration can create background music, instrument loops, stems, and sound effects from text prompts. Generated results are returned as WAV file paths, with support for producing between one and four candidates per generation call.

Existing clips can also be modified. The editing workflow supports audio-to-audio variation, regeneration of a selected time range, and continuation or extension of a track. A separate processing tool prepares finished clips without loading a model: it can trim audio, remove silence, convert to mono, normalize peak or LUFS loudness, add fades, and create seamless loops.

## How it works

The MCP client sends tool calls to the locally running server. Stable Audio 3 runs on the host machine: Apple Silicon systems use the MLX implementation, while Windows systems use PyTorch with an NVIDIA GPU. Generated and edited audio remains local, and the server does not use a cloud service or API key.

Generation and editing load the model when needed and can retain roughly 5–7 GB of memory. Calling `unload_models` releases that memory; a later generation or editing request loads the models again. Processing-only operations do not load a model.

Each output includes a JSON sidecar containing the prompt, seed, and settings, which supports reproducing or inspecting generated results. The prompting behavior follows the Stable Audio 3 format. For inpainting, the surrounding audio context matters: starting with a broad region and narrowing it can produce more suitable results, and prompts should remain plausible for the surrounding material.

## Setup and configuration

The server runs through `uvx`, so cloning the repository is not required. Install `uv` 0.9.20 or newer and `ffmpeg`, then run the setup command with Python 3.11. On macOS, setup uses the Apple Silicon MLX path. On Windows, use the CUDA PyTorch backend with an NVIDIA GPU.

Apple Silicon systems should have an M1 or later processor, with 16 GB of RAM recommended. Windows requires an NVIDIA GPU with at least 8 GB of VRAM and a current driver. Model downloads require approximately 8 GB of disk space on macOS and 14 GB on Windows.

Windows setup also requires a free Hugging Face account. The Stable Audio 3 model license must be accepted on its Hugging Face page before downloading the model. Re-running setup is supported, and completed downloads are retained.

## Tools and capabilities

- `generate_audio` creates BGM, instrument loops or stems, and sound effects from text, returning one WAV path per candidate.
- `edit_audio` performs variation, time-range inpainting, or continuation of an existing audio file.
- `process_audio` applies ordered export operations and writes 48 kHz or 44.1 kHz WAV, OGG Vorbis, or FLAC output with a JSON sidecar. It leaves the input unchanged.
- `unload_models` frees memory held by the loaded models until the next model-based request.

The processing sequence runs in the order supplied: trimming, silence removal, mono conversion, normalization, looping, fades, and export. This makes the server suitable for producing loopable assets and delivery files after generation.

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

