AI agents · Agents

Connect an AI agent to Mirli

Let Claude Code, Cursor, Codex or another assistant make sound with Mirli.

Connect Claude Code, Cursor, Codex or another AI assistant to Mirli so it can make sound for you: effects written straight into your project, or a voiced scene laid out in the studio for you to keep editing. It all runs on your computer, and every sound lands in your library.

Before you begin

  • Mirli is open. The connection is on whenever the app runs; there is nothing to turn on.
  • Your assistant supports MCP servers. Every assistant in this guide does.

Find the address

  1. In the Mirli sidebar, click Agents.

    The Agents page opens, with the address in the Connect an agent card.

    The Agents page, with the Connect an agent card showing the MCP address and the Connected agents card listing three assistants

  2. Under Streamable HTTP (preferred), check the address. If it is not http://127.0.0.1:17494/mcp, use yours in the next section.

Connect your assistant

  1. Add Mirli to your assistant: run the command on its tab, or add the entry to its settings file. If the file already lists other servers, add the soundbox entry next to them instead of replacing them.

    The command or entry for each assistant:

    Terminal
    claude mcp add --transport http -s user soundbox http://127.0.0.1:17494/mcp

    For any other assistant, add a remote or HTTP server with the address.

  2. Follow the notes for your assistant: where its settings file is, anything else to turn on, and how to check that it worked.

    The settings file, the check and the common fix for each assistant:

    File:  ~/.claude.json (written by the command)
    Check: start claude and type /mcp. soundbox shows as connected.
    Fix:   a hand-written .mcp.json entry needs "type": "http",
           or Claude Code skips it.
  3. Quit your assistant completely and start it again, so it loads the new server.

The Mirli MCP page has one-click install links for Cursor, VS Code, Goose and LM Studio.

Check the connection

  1. Ask your assistant to "list Mirli's models".

    The assistant answers with the models you have installed.

  2. In Mirli, go to the Agents page.

    Your assistant appears in Connected agents, and its request appears in Recent calls with a tick. A cross means it failed; click the row to see the error.

If Connected agents still says No agent has connected yet, see Troubleshoot the connection.

Install the skills

Skills are instruction files that teach an assistant to write good sound prompts, check licences, voice a script and do a sound pass over a whole project.

  1. On the Agents page, click the Skills tab.

    The Skills tab on the Agents page, with the assistant list and the Install all skills button

  2. In the list, select your assistant: Claude Code, Cursor or Codex. An assistant marked (not found) is not installed on this computer.

  3. Click Install all skills.

  4. Optional: after each Mirli update, click Install all skills again so the skills match the new version.

Ask for your first sound

  1. Ask your assistant for a sound, describing what makes it. For example:

    Make three takes of a wooden crate breaking, two seconds each,
    and copy the best one into assets/sfx.

    The assistant waits while Mirli renders, then the sounds appear in your library.

Tip

Describe the material, the action and the space. "Low metallic groan of a ship's hull under pressure, distant" works far better than "scary sound".

Other requests that work well:

  • "Go through this game's code, list every event that needs a sound, and make them all."
  • "Write a short scene between a guard and a thief, cast it to my saved voices and open it in the studio."

Mirli makes one sound at a time, so ten sounds take ten times as long as one.

Troubleshoot the connection

Problem What to do
The assistant says it cannot reach the server Open Mirli and try again.
It still cannot connect Compare the address with the Agents page, including the port, with no slash at the end.
The soundbox tools don't appear Quit the assistant completely and start it again.
The Agents page says This server doesn't offer agent connections This is a hosted copy of Mirli. Agents connect only to Mirli on your own computer.
Long music stops partway Ask for a shorter clip, or raise the assistant's tool timeout.

What's next