Mirli

Design and media

Local AI sound effects, music, speech and voice cloning on your own computer. Returns WAV paths.

Your AI app calls the Mirli MCP server, which does the design and media work and sends the result back to the chat.

About Mirli

Mirli is a community MCP server from HamSanders, filed in our directory under design and media. Local AI sound effects, music, speech and voice cloning on your own computer. Returns WAV paths.

Mirli runs on your own machine: your AI app starts it with the command docker run -i --rm and talks to it over standard input and output.

Mirli is listed in the official MCP registry as io.github.HamSanders/mirli, version 0.7.3.

At a glance

Publisher
HamSanders (community)
Runs
Locally on your machine
Install from
Docker image: ghcr.io/hamsanders/soundbox:v0.7.3
Written in
TypeScript
License
MIT
GitHub stars
284
Official MCP registry
io.github.HamSanders/mirli

How to set up Mirli

  1. Have Docker running on the machine that runs your AI app, because Mirli starts as a container.
  2. Check the Mirli README for keys or settings; the registry lists none that Mirli requires.
  3. Add Mirli to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Mirli tools to confirm the connection.
  5. Run one read-only task with Mirli first, and keep your app asking before each tool call until the results look right.

Mirli compared with similar servers

  • Comfy Skills by Comfy-Org has fewer GitHub stars than Mirli (278 against 284); both are community servers, and Comfy Skills runs as a remote server and Mirli runs on your own machine.
  • Keyline Icons by keyline-icons has more GitHub stars than Mirli (286 against 284); both are community servers, and both run locally.
  • 3D Printer by DMontgomery40 has fewer GitHub stars than Mirli (277 against 284); both are community servers, and both run locally.

Before you connect Mirli

  • Give Mirli its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Mirli tool call until you trust what it does with them.
  • Treat text that Mirli fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Mirli on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Mirli

How marketing and sales teams put Mirli to work, by company size. Pick the size closest to yours and start Mirli on one use case.

Small business

  • A small business can use Mirli to resize and adapt one design for every channel instead of hiring for each version.
  • Owners can ask Mirli to pull brand assets and make quick ad and social variations that still look on brand.
  • Mirli runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Creative teams can connect Mirli so agents produce variants for testing while designers keep control of the master files.
  • Marketing teams can use Mirli to hand off designs to web and ads with specs attached, cutting review rounds.
  • Start Mirli on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can use Mirli with brand rules and approved assets only, so generated work stays inside the brand system.
  • Large creative ops teams can use Mirli to localize and version assets for many markets with review built in.
  • Mirli is a community server, so have security review the code and pin a version before Mirli touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Mirli README

From HamSanders/soundbox on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

Mirli

Free, open-source, local alternative to ElevenLabs and Suno.

An AI sound effects generator, AI music and song generator, text-to-speech and voice cloning app that runs open-weight models on your own computer. Arrange it all on a multi-track timeline, stream speech into a game or a chat agent, or let Claude Code, Cursor or any MCP agent drive it. No account, no credits, works offline. MIT licensed.

Download · Features · For agents · Models · Docs · Website · Patreon

Watch: 30-second tour · Under the hood · Agents and MCP

Mirli was formerly Soundbox. The repository, the soundbox command, the soundbox.* MCP tools and the installer file names keep the old name for now. Environment variables are MIRLI_*; the old SOUNDBOX_* names still work.

Features

Sound effects and ambience. Type the material, the action and the space, and get foley, game SFX, UI sounds and seamless ambience loops as WAV files. Hear the samples · Prompting guide

Music and songs. Instrumentals and loops from a style prompt, or full songs with vocals from a lyric sheet. Extend a track, cover it in another style, or repaint a section. Hear tracks

Text-to-speech and voice cloning. 45 speech models, from Kokoro to Chatterbox, IndexTTS 2 and Fish Audio S2 Pro. Clone a voice from up to five clips, recorded or uploaded, and keep it in Voice Lab to reuse anywhere. Voice conversion turns one recording into another voice.

Streaming speech. POST /api/speak/stream sends audio while the line is still being generated, as server-sent events or raw 16-bit PCM, for game dialogue and live chat agents. VoxCPM2 gets first audio out in about 0.2 seconds on an RTX 5080. Streaming docs

Stem separation. Split any track into vocals, drums, bass and the rest with HTDemucs or RoFormer models.

Multi-track studio. A timeline with effects racks, MIDI and a piano roll, mixdown and export. Paste a script, cast saved voices onto its lines, and lay music, ambience and effects underneath. Studio docs

Agents, MCP and API. An MCP server with 27 tools for Claude Code, Cursor and other clients, three agent skills including a full game sound pass, a local HTTP API, and OpenAI-compatible /v1/audio/speech and /v1/audio/transcriptions routes.

Yours, on your machine. 65 models in the catalog, four verified and on by default, each with its licence shown before download. Everything lives in one SQLite file and a folder of WAVs under ~/.mirli. Profiles keep a separate library per game or client. Bring your own ElevenLabs or fal key through custom endpoints if you want a hosted model too.

More screenshots · library, music, sound effects, models, details, voices
Library. Every take in one list, with the player along the bottom. Music. The Create panel beside the tracks it has made.
Sound effects. Describe it, set a length, generate. Models. Four packs, or pick models one at a time.
Details. Waveform, edits and the exact settings that made it. Voice Lab. Your voices, cloned or built in, and how much each has read.
New voice. Clone it, pick a built-in, or import one. Clone. Up to five clips of one speaker, recorded or uploaded.

Download

The download page picks the installer for your system. Or take one directly:

Platform Installer
Windows 10 and 11 (x64) Soundbox_x.y.z_x64-setup.exe
macOS, Apple silicon Soundbox_x.y.z_aarch64.dmg
macOS, Intel Soundbox_x.y.z_x64.dmg
Linux x64 (glibc 2.35+) Soundbox_x.y.z_amd64.AppImage or .deb

The installer carries its own runtime. The builds are not signed yet, so the first launch asks you to confirm (where). Open SFX, describe the material, the action and the space, and generate: the first model downloads when you pick it, with its licence shown first.

Hardware What to expect
NVIDIA GPU (Windows, Linux) CUDA. A few GB of VRAM covers the verified models; MiniMax Music 3 wants about 10 GB.
AMD or Intel GPU Runs on the CPU unless you set MIRLI_AUDIOCPP_BACKEND=vulkan (how). Vulkan is not yet confirmed on the verified models; reports welcome.
Apple silicon Metal.
No dedicated GPU Works, slowly. A clip that takes seconds on a GPU takes minutes on the CPU.

Docker and running from source (Linux arm64 included) are under Run from source.

Install with a prompt

Paste this into Claude Code, Cursor or Codex:

Install Mirli on this machine and confirm it works, following
https://github.com/HamSanders/soundbox/blob/main/docs/INSTALL-AGENT.md

The guide tells the agent to check the GPU and VRAM first, to show you each model's size and licence before downloading it, never to accept a non-commercial licence for you, and to finish by generating one sound and telling you where the WAV is.

For agents

Start Mirli, then add it to your client.

claude mcp add --transport http soundbox http://127.0.0.1:17494/mcp

Cursor and other MCP clients take { "type": "http", "url": "http://127.0.0.1:17494/mcp" }. Then ask: "add a door slam and a coin pickup to this game", "voice these three lines as two characters", "write a 20-second loading-screen loop". The agent gets 27 tools for sounds, speech, multi-track stories and the studio you have open, and three skills: soundbox-sfx, soundbox-sound-pass and soundbox-voice-story. Every tool, the stdio bridge and the skills are in docs/MCP.md.

Models

Every model runs through audio.cpp, a native runtime, so there is no Python to set up. Verified end to end and on by default:

Model Good for Licence Commercial use
Stable Audio 3.0 SFX Sound effects, foley, ambience Stability AI Community ⚠️ Under $1M revenue
Stable Audio 3.0 Small Music Instrumental music, loops Stability AI Community ⚠️ Under $1M revenue
ACE-Step 1.5 Turbo Songs with lyrics; extend, cover, repaint MIT ✅ Yes
MiniMax Music 3 Songs with lyrics, about 10 GB VRAM MiniMax-Music3 Community ⚠️ Conditional
61 more in the catalog · 45 text-to-speech, 6 music, 2 SFX, 4 stem separation, 4 voice conversion
Kind Count Includes
Text-to-speech 45 Chatterbox, Fish Audio S2 Pro, IndexTTS 2, VibeVoice, Higgs Audio v3, Qwen3-TTS, CosyVoice 3, Kokoro and more; several clone from a reference clip
Music 6 ACE-Step 1.5 Base and XL, Stable Audio 3.0 Medium, HeartMuLa, MiniMax H3
Sound effects 2 MiDashengLM-Gen, ControlFoley
Stem separation 4 HTDemucs (4- and 6-stem), BS-RoFormer, Mel-Band RoFormer
Voice conversion 4 RVC, Seed-VC, MioCodec, MeanVC2

VibeVoice 1.5B, MiDashengLM-Gen, HTDemucs 6-stem and Chatterbox Turbo have also been run end to end; the rest are marked unverified until someone reports. The 19 added in October 2026 need audio.cpp 0.9.2 or newer (soundbox model install audiocpp fetches the latest).

Any model whose licence could not be established is treated as non-commercial. This is a summary, not legal advice: read each licence before you ship what a model made.

Compared with a hosted service

Hosted (ElevenLabs, Suno and similar) Mirli
Runs on Their GPUs Your machine
Cost Subscription or credits Your electricity
Account Required None
Models Closed, tuned, consistent Open weights; quality varies by model
Output rights Their terms of service The licence of the model that made it, shown up front
Offline No Yes, once the weights are downloaded
Agents HTTP API HTTP API and an MCP server
Source Closed MIT

Run from source

Node, Docker and the HTTP API

Requires Node 22.12 or later. No Python, no CUDA toolkit.

git clone https://github.com/HamSanders/soundbox
cd soundbox
npm install
npm run dev

This starts the server on port 17494 and the UI on http://localhost:5174. npm run dev:mock runs the UI with no GPU or server (see CONTRIBUTING.md).

Docker. The server and web UI run headless in one container with the audio.cpp runtime inside. CPU by default; add the CUDA override for a GPU. Both pull the prebuilt image from GHCR (:latest, :cuda, or a version such as :v0.4.0 and :v0.4.0-cuda).

docker compose up -d
docker compose -f docker-compose.yml -f docker-compose.cuda.yml up -d

To build from the checkout instead, add -f docker-compose.build.yml (and -f docker-compose.build-cuda.yml for CUDA) and --build; see docs/INSTALL-DOCKER.md.

There is no authentication unless you set MIRLI_API_TOKEN, so keep the port on localhost, or set a token and serve it over HTTPS, and set MIRLI_ALLOWED_HOSTS to the name you reach it by. Details are in docs/INSTALL-ACCESS.md.

HTTP API. Everything the app does is available on port 17494:

curl -X POST http://127.0.0.1:17494/api/generate \
  -H 'Content-Type: application/json' \
  -d '{"model":"audiocpp-stable-audio-3-sfx","prompt":"heavy wooden door slamming in a stone corridor","duration_s":3}'

Long jobs return an id with a server-sent event stream. Every route is in docs/API.md.

Anything with an OpenAI base URL setting can use Mirli for speech: point it at http://127.0.0.1:17494/v1 for /v1/audio/speech and /v1/audio/transcriptions. See OpenAI-compatible routes.

Docs

If you want to Read
Get it running, or fix a first run Run from source · Desktop · Troubleshooting
Write prompts these models answer Generating
Arrange, mix and export Studio · Library
Drive it from an agent or a script MCP · HTTP API
Add or verify a model audio.cpp · Contributing
Understand how the pieces fit Architecture

FAQ

Can I sell what I make? It depends on the model. Stable Audio is free under $1M revenue, ACE-Step 1.5 is MIT, and models with an unestablished licence are marked non-commercial. Each model's terms are on its card in the app.

Do I need a GPU? No, but CPU generation is slow. The hardware table above says what to expect.

Does it work on a Mac? There are installers for Apple silicon and Intel, and audio.cpp runs on Metal.

How do I remove it? Delete the app and ~/.mirli. There is no account to close and nothing was uploaded.

Star history

Licence

Mirli is MIT. The model weights are not (github.com/HamSanders/soundbox/blob/main/MODEL-WEIGHTS.md): each carries its own licence, and what you can do with generated audio is governed by the licence of the model that made it. Clone only voices you have permission to use. Mirli downloads weights at your direction and does not redistribute them. Example media under site/public/ was generated with third-party models; its provenance is in ASSETS.md.

The Mirli name and logo are trademarks and aren't covered by the MIT licence. TRADEMARK.md says how to use them; in short, talk about Mirli freely, and give a fork its own name.

Questions about Mirli

What is the Mirli MCP server?

Local AI sound effects, music, speech and voice cloning on your own computer. Returns WAV paths. Mirli is maintained by HamSanders on GitHub at HamSanders/soundbox, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Mirli MCP server?

Add Mirli to your AI app's MCP config with the command docker run -i --rm -e SOUNDBOX_API_TOKEN -e SOUNDBOX_ALLOWED_HOSTS ghcr.io/hamsanders/soundbox:v0.7.3. In Claude Code, run claude mcp add --transport stdio soundbox -- docker run -i --rm -e SOUNDBOX_API_TOKEN -e SOUNDBOX_ALLOWED_HOSTS ghcr.io/hamsanders/soundbox:v0.7.3. To run Mirli this way you need Docker running.

Does Mirli need an API key?

The registry lists no required keys for Mirli. Check the Mirli README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Mirli an official MCP server?

No. Mirli is a community server maintained by HamSanders. Community servers can be excellent; read the code and the open issues before you give Mirli access to company data.

What license is Mirli under?

Mirli is released under the MIT license, according to its GitHub repository. The license covers the code of Mirli; the service it connects to has its own terms.