Music and sound
Music generation MCP: songs, music beds, sound effects and stems
A music generation MCP server lets your AI agent compose a track from a prompt and hand you a playable file. PlugMuse covers songs with lyrics, exact-length background music, sound effects and ambiences, plus stem separation and vocal or backing replacement for songs you already have.
- Suno V6 songs with exact lyrics, two takes per job
- ElevenLabs Music at an exact length, 3 s to 10 min
- Sound effects, loops, stems and track replacement
What the music generation MCP tools do
generate_music creates songs, scores, beds, stings and jingles. generate_sound_effect creates Foley, impacts, whooshes, UI sounds and ambiences up to 30 seconds, with an option to loop seamlessly. Both run as background jobs; the agent checks them and returns permanent MP3 links.
The music generation MCP server picks the model by what you need. Exact lyrics and full songs go to Suno V6; an exact duration, a background score or a specific MP3 quality go to ElevenLabs Music.
| Need | Model | Price |
|---|---|---|
| Song with vocals or exact lyrics | Suno V6 | 15 credits per job, two takes |
| Background bed at an exact length | ElevenLabs Music | Billed per second |
| Sound effect or ambience | ElevenLabs Sound Effects v2 | 0.5 credits per second |
Working with songs you already have
Two tools work on existing music. separate_music_stems splits a song into vocals and backing, into vocals, drums, bass and other, or into up to twelve instrument stems. replace_music_track keeps one part and writes a new other part: fresh singing over the original backing, or new backing under the original voice, returned as a finished mix with the separated stems.
Both tools take a direct link to the full song and save every part as its own file in your library, ready to mix, remix or put under a video.
Writing a good music prompt
Describe genre, tempo, instruments, mood, structure and ending, and say what the vocals should do. Put section tags such as [verse] and [chorus] on their own lines in the lyrics. For a background bed, give the exact length and say it should sit under speech. The PlugMuse skill for music turns a loose request into this structure before calling the music generation MCP tool.
- Instrumental only: set force_instrumental.
- Suno lengths are a target; ElevenLabs Music lengths are exact.
- Mix music under narration later with add_audio_to_video (mix).
Where a music generation MCP server fits
A music generation MCP server is useful wherever a project needs sound quickly: a jingle for an ad, a background bed for an explainer, intro and outro music for a podcast, a theme for a game prototype, UI sounds for an app, or ambience for a film scene. The agent can match the music to the script and the video length, and then mix it under narration with the editing tools.
Because songs come back as two takes per Suno job, you can pick the better arrangement without paying twice. For strict timing, the music generation MCP tool routes the job to ElevenLabs Music, which hits the exact length.
Tips for usable tracks
Give the use, the length and the mood before the genre. Say how it should end, because endings are where generated music most often falls apart. For background music, ask for no vocals and a steady level so speech stays clear. For effects, describe the source, action, space and ending in one or two sentences; vague prompts give generic sounds.
When the music generation MCP server is used for a video, generate the music after the cut is locked, so the length matches.
Example: music and effects for a short ad
You have a 20-second ad and need a bed and two effects. The agent asks ElevenLabs Music for exactly 20 seconds of light, upbeat acoustic guitar with no vocals and a clean ending, then asks for a soft whoosh for the logo reveal and a gentle chime for the call to action. The music generation MCP server returns three files. The agent lays the music under the voiceover with add_audio_to_video in mix mode and places the effects with the film timeline, so the whole soundtrack can be changed without re-rendering the pictures.
If you later want a full song with lyrics for the campaign, the same conversation can switch to Suno V6 and keep the brand mood consistent across both pieces.
What you get back
Songs and beds come back as MP3 files at permanent links; Suno jobs return two takes side by side. Effects arrive in seconds as short MP3s, with loops ready to repeat. Separated stems arrive as one labeled file per part, so you can mute, swap or remix them in any editor.
Step by step
From idea to track with the music generation MCP server
- Connect PlugMuse to your agent and sign in.
- Say what the music is for, how long it should be, and whether it has vocals.
- Paste exact lyrics when the words matter; otherwise describe the theme.
- The agent calls generate_music or generate_sound_effect and returns the files.
- Split, replace or mix tracks later with the stem and editing tools.
Try it
Prompts to try
- Write and produce a 2-minute upbeat indie pop song about a road trip, female vocals.
- Make a 30-second calm piano bed for a product explainer, no vocals, gentle ending.
- Create a seamless 20-second rain-on-window ambience loop.
- Split this song into vocals and backing so I can make a karaoke version.
- Keep my vocals and replace the backing with acoustic guitar and soft drums.
FAQ
Questions and answers
Can I use the music commercially?
Use follows the PlugMuse terms and each model provider’s license terms. Check them for your use case.
Why do I get two songs?
Suno V6 returns two takes per job at one price, so you can choose the better one.
Can I set an exact length?
Yes, with ElevenLabs Music (3 seconds to 10 minutes). Suno treats length as a target.
Can the music generation MCP server make sound effects?
Yes. generate_sound_effect makes effects and ambiences up to 30 seconds, optionally as loops.
How do I separate stems from a song?
Pass a direct link to the full song and choose vocals and backing, four stems, or up to twelve instrument stems.
How do I add music to a video?
Use add_audio_to_video with mix to keep the video’s sound under the music, or replace to swap it.
How long does a song take?
Usually one to three minutes; effects take a few seconds.
Can I make a loop?
Yes. Sound effects and ambiences can be made as seamless loops.
Can I get the music in a lossless format?
ElevenLabs Music offers MP3 at several bitrates; Suno returns MP3. Ask for the highest MP3 quality when the track is the final master.
Connect in a minute. Start with 20 free credits.
Add the MCP server URL to your AI agent and generate images, video and audio from your first chat.