Audio Studio — Claude Code MCP server: setup
Audio Studio is an MCP server for Claude Code that creates local music and sound effects with Stable Audio 3. It can also edit clips and prepare audio for games or video.
MIT ★ 698 updated 2026-11-16
claude mcp add --env AUDIO_STUDIO_OUTPUT_DIR=<AUDIO_STUDIO_OUTPUT_DIR> --env AUDIO_STUDIO_SA3_MODEL=<AUDIO_STUDIO_SA3_MODEL> --env AUDIO_STUDIO_IDLE_UNLOAD_MIN=<AUDIO_STUDIO_IDLE_UNLOAD_MIN> --transport stdio audio-studio -- uvx audio-studio-mcpWhat Audio Studio does
Audio Studio turns a plain-language request into background music, an instrument loop, or a sound effect. Stable Audio 3 runs on the local machine through MLX on Apple Silicon or PyTorch on an NVIDIA GPU. The server can restyle a clip, regenerate part of a timeline, extend a track, and adjust loudness.
Exports use WAV, OGG, or FLAC, with loop handling and a JSON sidecar containing the prompt, seed, and settings. Nothing is uploaded, and the setup does not require an API key. Running it requires uv version 0.9.20 or newer plus ffmpeg; macOS needs Apple Silicon M1 or later, while Windows needs an NVIDIA GPU.
What it helps with
- create background music for a game or video
- generate a scene-specific sound effect from text
- extend an existing audio track
- prepare a loop with a clean repeat
- export generated audio as WAV, OGG, or FLAC
Example prompts for the agent
- Create calm menu music for a game and return several variations.
- Generate a glass-breaking sound for a scene on a concrete floor.
- Extend
track.wavand prepare it for repeated playback.
How to install Audio Studio
Platform CLI
claude mcp add --env AUDIO_STUDIO_OUTPUT_DIR=<AUDIO_STUDIO_OUTPUT_DIR> --env AUDIO_STUDIO_SA3_MODEL=<AUDIO_STUDIO_SA3_MODEL> --env AUDIO_STUDIO_IDLE_UNLOAD_MIN=<AUDIO_STUDIO_IDLE_UNLOAD_MIN> --transport stdio audio-studio -- uvx audio-studio-mcpReplace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from audio-studio-mcp <command>
Platform CLI
codex mcp add audio-studio --env AUDIO_STUDIO_OUTPUT_DIR=<AUDIO_STUDIO_OUTPUT_DIR> --env AUDIO_STUDIO_SA3_MODEL=<AUDIO_STUDIO_SA3_MODEL> --env AUDIO_STUDIO_IDLE_UNLOAD_MIN=<AUDIO_STUDIO_IDLE_UNLOAD_MIN> -- uvx audio-studio-mcpReplace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from audio-studio-mcp <command>
Config file
{
"mcpServers": {
"audio-studio": {
"command": "uvx",
"args": [
"audio-studio-mcp"
],
"env": {
"AUDIO_STUDIO_OUTPUT_DIR": "<AUDIO_STUDIO_OUTPUT_DIR>",
"AUDIO_STUDIO_SA3_MODEL": "<AUDIO_STUDIO_SA3_MODEL>",
"AUDIO_STUDIO_IDLE_UNLOAD_MIN": "<AUDIO_STUDIO_IDLE_UNLOAD_MIN>"
}
}
}
}Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from audio-studio-mcp <command>
Config file
{
"servers": {
"audio-studio": {
"type": "stdio",
"command": "uvx",
"args": [
"audio-studio-mcp"
],
"env": {
"AUDIO_STUDIO_OUTPUT_DIR": "<AUDIO_STUDIO_OUTPUT_DIR>",
"AUDIO_STUDIO_SA3_MODEL": "<AUDIO_STUDIO_SA3_MODEL>",
"AUDIO_STUDIO_IDLE_UNLOAD_MIN": "<AUDIO_STUDIO_IDLE_UNLOAD_MIN>"
}
}
}
}Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from audio-studio-mcp <command>
Platform CLI
gemini mcp add -e AUDIO_STUDIO_OUTPUT_DIR=<AUDIO_STUDIO_OUTPUT_DIR> -e AUDIO_STUDIO_SA3_MODEL=<AUDIO_STUDIO_SA3_MODEL> -e AUDIO_STUDIO_IDLE_UNLOAD_MIN=<AUDIO_STUDIO_IDLE_UNLOAD_MIN> audio-studio uvx audio-studio-mcpReplace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from audio-studio-mcp <command>
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Audio Studio
How do I install Audio Studio in Claude Code?
Run claude mcp add audio-studio-mcp -- uvx audio-studio-mcp.
What does Audio Studio do?
It generates music and sound effects locally with Stable Audio 3, then edits clips, adjusts loudness, and exports WAV, OGG, or FLAC files.
What does Audio Studio require?
It requires uv version 0.9.20 or newer and ffmpeg. macOS requires Apple Silicon M1 or later, while Windows requires an NVIDIA GPU.