io.github.AudialAI/audial-mcp
OfficialThis MCP server exposes Audial's hosted audio tools so you can process, analyze, generate, and manage audio from an MCP client.
Split tracks into stems, optionally retimed/rekeyed.
Analyze tempo/key/loudness; segment song sections, bars, and tempo; add audio features, tags, timed lyrics, and sample packs to an analysis.
Master tracks with optional reference matching.
Generate sample packs and MIDI from audio.
Generate music for text-to-music, covers, remixes, lego, and understand tasks.
Convert isolated one-shots into editable Audial Synth/Vital or Serum 2 presets.
Sing lyrics in a reference voice from a MIDI/audio melody and reference clip.
Check pipeline/service status, API usage, prior local results, and Audial account/sign-in state; sign in or out.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@io.github.AudialAI/audial-mcp split the vocals and drums from ~/Music/song.mp3"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
audial-mcp
Powered by Audial — run Audial's hosted audio tools from any MCP client: split stems, analyze audio, find a song's sections, tempo and bars and add audio features, tags or timed lyrics to that analysis, master tracks, build sample packs, convert audio to MIDI, generate music, turn a one-shot into an editable Audial Synth or Serum 2 preset, and sing lyrics in a reference voice. See the API reference for details on what each tool calls.
mcp-name: io.github.AudialAI/audial-mcp
Install
You need an Audial account (https://audialmusic.ai?utm_source=github&utm_medium=readme&utm_campaign=mcp) and
uv. There is no API key to copy:
the first time a tool runs, a sign-in page opens in your browser. Approve it and the tool
carries on.
Claude Code
claude mcp add audial -e AUDIAL_RESULTS_DIR=~/Audial -- uvx audial-mcpClaude Desktop, one click
Download audial-mcp-<version>.mcpb from the latest release and double-click it. Claude Desktop fetches what it needs, so there is nothing else to install or configure.
Claude Desktop / Cursor / any client with a JSON config
{
"mcpServers": {
"audial": {
"command": "uvx",
"args": ["audial-mcp"],
"env": {
"AUDIAL_RESULTS_DIR": "~/Audial"
}
}
}
}Signing in
The sign-in is saved on your computer (~/.audial/credentials.json, readable only by you) and
shared with the audial command line and Python SDK, so audial login in a terminal signs
the MCP server in too. If you have not approved within two minutes the tool returns the
sign-in link instead; approve it and ask again. The account, sign_in and sign_out tools
show and change who is signed in, and each connected computer is listed, and can be
disconnected, under Apps & API Keys in your profile at audialmusic.ai.
On a server or in CI, where nobody can sign in, set AUDIAL_API_KEY to a key created on that
page. A key set this way takes priority over a saved sign-in.
Related MCP server: media-gen-mcp
Tools
Tool | What it does |
| Split a track into vocals, drums, bass, other (optionally retime / rekey) |
| BPM, key and other characteristics |
| Song sections, tempo, bars and key from the mix, in about half a minute; returns an |
| Energy, danceability and loudness for the song and each section, plus the key, mode and tatum |
| Genres, instruments and moods for the mix and each part, plus a written description |
| Lyrics as timed lines, and when the vocal starts (word timings in the saved file) |
| Mastering, optionally matched to a reference |
| Sample pack from an analysis, or from a file in one call |
| Audio to MIDI |
| Text to music, covers, remixes, lego and understand with the Audial music model |
| One isolated sound → editable Audial Synth (Vital) preset. Not for loops or melodies |
| One isolated sound → editable Xfer Serum 2 (.SerumPreset) preset. Not for loops or melodies |
| Lyrics + reference voice → sung vocal and MIDI |
| Look up a pipeline by id: its state, each step, and the outputs so far |
| Which tools have a worker awake right now, and what a cold start will cost |
| This month's API usage: plan, limit, calls used and left, reset time |
| Browse previous results in your results folder |
Analysis and add-ons
segment analyses the mix in about half a minute: no stems needed. It returns the analysis in
Audial's analysis format 5 (metadata.analysis, the same object the website's JSON button
saves): the BPM, time signature, key and Camelot key, the sections (label, start, end, first bar,
bar count and drum fills), the lead-in before bar 1 and a tempo map, plus an analysis_id.
Every time is in seconds. Beats and bars aren't listed one by one: grid describes them --
where each constant-tempo piece starts, its BPM, and its bar and beat. Every beat time is
start + k × 60 / bpm. Most tracks have one piece.
Pass the analysis_id to audio_features, tag_audio, get_lyrics or generate_samples to
add that result to the analysis, whenever you like. Nothing is uploaded again. Each of them also
takes a file_path instead, and then runs segment on it first.
Audio features need nothing more, so they can run straight after the analysis. They return
key,camelot,features(energy, danceability, loudness_lufs, mode, mode_confidence, tatum) and each section's energy, danceability and loudness.tag_audioreturnsgenres,instruments,moods,stems(each part's instruments and moods, or{"silent": true}) anddescription;get_lyricsreturnsvocal_startand timedlines. These are the same blocks the analysis holds once each add-on has run.Tags, lyrics and the sample pack read the track's stems. Audial makes them automatically after each analysis, so right after a new one these tools wait a few minutes for them.
If a tool analysed a file and the next step failed or timed out, the error gives the new
analysis_id: call the tool again with it, rather than with the file.
An analysis counts as one run. Everything you add to it (features, tags, lyrics, a sample pack) is included.
generate_samples on a file runs as an Audial pipeline: it prepares the track (analysis and
stems together), then builds the pack, as one job. Each step is reported as it starts and
finishes ("prepare completed in 41 s; sample-pack running"). The pipeline id comes back as the
result's execution_id -- pass it to pipeline_status to check on a job whose call timed out.
segment with features (kept for older integrations) is a pipeline as well.
Per-note lyrics
text2vox lines lyrics up with a melody. lyrics_mode="per_note" is the mode that gives
exact control: the lyrics are pipe-delimited, one token per MIDI note, and a hold keeps
the previous syllable going through the next note.
Token | Meaning |
| Sung on this note |
| Hold: continue the previous syllable through this note (the documented form) |
| Hold as well |
empty | Hold as well -- what a double pipe produces |
amazing|-|-|grace|-|how|sweet|the|soundThat sings "amazing" across notes 1-3 and "grace" across notes 4-5, and needs a MIDI file with exactly nine notes. There is no rest token: a note that should be silent should not be in the MIDI. The token count must equal the note count, and the first token must be a syllable -- a lyric string that breaks either rule comes back as a tool error naming the note it is about ("note 1 has no syllable; the first note needs one (position 1)"), before anything is uploaded.
text2vox sings one note at a time: the MIDI must be a single melody line, not chords or
harmony. Two notes that start together (a chord), or a note that starts more than 50 ms
before the previous one ends, is refused before anything runs, naming the note number and
its time (MELODY_INVALID, or LYRICS_INVALID with per_note). Overlaps of 50 ms or less
are trimmed automatically. With per_note, a note with no length (usually one stacked on
another note of the same pitch) or a note that never ends is refused too. Nothing is
charged for a refused file.
Cold starts
Audial's workers scale to zero, so the first job after an idle period spends extra time
starting one and loading the model -- a few minutes on a GPU tool; every job after it is fast.
The analysis and each add-on (audio_features, tag_audio, get_lyrics) run on workers of
their own, so the first add-on after a quiet spell can start up for a minute or more even when
segment was quick. Audial reports that phase on the job it is already polling, and every
tool here relays it as a progress notification and a log line:
Warming up the machine — the first request takes a few minutes longer than usual
(about 3 min); every run after this is faster
Working on your job…It is the same sentence the Audial website, CLI and plugins show. service_status answers
the same question before you start anything, so a long wait can be explained in advance.
What leaves your machine
Audio and text you pass to a tool are uploaded to Audial's API (https://api.audialmusic.ai)
over HTTPS and processed on Audial's servers; results are downloaded into
AUDIAL_RESULTS_DIR (default ~/Audial). Nothing else is sent.
A tool given an analysis_id uploads nothing: it works on the audio Audial already has for
that analysis. Audial makes and keeps the track's stems with each analysis, like your
other results. To tag a track, tag_audio has Audial's servers look up the track's title and
artist in a public music database; that lookup gets the title and artist, never the audio.
Two other files are read if they exist, because the Audial SDK looks for them:
~/.audial/.audial_config.json and a .env in the directory the server was started from.
Credentials from your MCP client's config always win: audial-mcp snapshots its environment
before the SDK loads either file, so neither can redirect your credentials or the API host.
Every tool except list_results calls the Audial API, which requires an active Audial subscription on the account; without one the tool returns the API's subscription message. When the month's API calls are used up, the tool says so, with the reset date, and does not retry; usage shows what is left.
Configuration
Variable | Required | Default |
| no | browser sign-in |
| no; only with an older API key that does not start with | |
| no |
|
| no |
|
| no | production API |
Remote server (streamable HTTP)
audial-mcp --http runs the same tools as a remote MCP server, for clients that connect to
a URL instead of starting a local process. It serves streamable HTTP at /mcp, and at
/claude/mcp without music and voice generation (see below).
uvx audial-mcp --http --host 0.0.0.0 --port 8000 --public-url https://mcp.example.comIt works differently from the local server:
Each request brings its own Audial API key as
Authorization: Bearer aud_..., so one server can serve many accounts. The server never uses a key from its own environment or a sign-in saved on the host. The browser sign-in tools andlist_resultsaren't offered.Files go in as links. Each file argument is an https link to the file, or a file the client attached, given as
{"download_url": ..., "file_id": ...}. The server downloads it, up to 100 MB, from public addresses only, and deletes it when the job ends. Local paths are refused.Files attached in Claude can be uploaded (off by default). On
/claude/mcp, for the accountsAUDIAL_MCP_CLAUDE_UPLOADSnames, anupload_filetool takes a file the user attached in Claude through Claude's file-upload extension (io.modelcontextprotocol/files, protocol 2026-07-28): Claude sends the bytes toPUT <public url>/claude/uploads/<token>(one file, one write, 30 minutes), and the tool returns an id,upload:..., that any tool's file argument takes in place of a link, for the same account, for 24 hours. Up to 100 MB of WAV, MP3, AIFF, FLAC, M4A, OGG, AAC or MIDI, checked by size, SHA-256 and the file's own bytes. Claude sends files only to a directory connector whose hosts Anthropic has approved.Results come back as download links. Each file's
pathis a link under<public url>/files/, valid for 24 hours.Long jobs don't hold the call open. A job still running after 40 seconds returns
status: runningwith ajob_id.check_jobtakes that id and returns the result once the job is done. Only the account that started a job can check it.Sign-in keys from OAuth expire. A key is trusted for up to 5 minutes, never past its expiry. One with under 15 minutes left is refused with a 401, so the client refreshes it before a job that runs on it. A key the API refuses mid-call is dropped, so the next request gets the 401. Tokens need the
audialscope; a user's own API key has it.Two endpoints, one server.
/mcpserves every remote tool; ChatGPT uses it./claude/mcpserves the same tools withoutgenerate_musicandtext2vox, for the Claude directory, whose policy (4B) excludes music and voice generation. There, those two are neither listed nor callable, andservice_statusdoesn't report on them. Jobs,check_joband download links are shared: a job started on one endpoint can be checked on the other. Each endpoint publishes its own OAuth protected-resource metadata, at/.well-known/oauth-protected-resource/mcpand.../claude/mcp. An OAuth token works on the endpoint it was issued for, or on both if it was issued for the whole server (the public URL). A user's own API key works on both.ChatGPT hears no sales talk. ChatGPT's plugin rules forbid plans, upgrades and checkout links. When a call comes from ChatGPT (recognised by the client its sign-in was issued to, the
_metaChatGPT adds to every call, or its user agent), a refusal says plainly that the account has no runs left. Other clients get the usual wording.
Variable / option | Default |
|
|
|
|
|
|
| none |
|
|
|
|
| system temp folder |
| no cap |
| none |
|
|
Jobs, results and uploaded files are kept by the process and its work folder, so run one
instance.
GET /healthz reports the version. The hosted server at https://mcp.audialmusic.ai is
deployed with .do/app-mcp.yaml (DigitalOcean App Platform).
License
MIT. Source: https://github.com/AudialAI/audial-mcp
Available Tools
20 toolsaccountShow the Audial account in useARead-only
Show whether this computer is signed in to Audial, and as whom.
Use when a tool reports a credentials problem or the user asks which account is in use. Reads local settings only.
Inputs: no named parameters. Returns: Which Audial account this server is using.
analyzeAnalyze audioARead-only
Analyze a track: BPM, key, loudness and other characteristics.
Use this first whenever the user asks for tempo, key or loudness. It is the fastest tool
(seconds), does not count as a run, and changes nothing. The answer is in metadata and
the same data is saved to the results folder.
Inputs: file_path (required). Returns: tool, files, summary, metadata, +2 more
audio_featuresAudio featuresA
Measure energy, danceability and loudness for the song and each section, plus the key, mode and tatum.
Give the analysis_id from segment: nothing is uploaded and it is included in that analysis's
run. A file_path runs segment first (one run). Needs no stems, so it can run straight after
segment. Energy and danceability run 0-1: energy reflects loudness, rhythmic activity and
low end; danceability, how strong and regular the beat is. Both are measured per section,
so a drop reads higher than its breakdown. loudness_lufs is integrated loudness in LUFS.
The values are in metadata: key and camelot, features (energy, danceability,
loudness_lufs, mode, mode_confidence, tatum) and sections (label, start, end, energy,
danceability, loudness_lufs); null means not measured. They are saved to the results
folder.
Inputs: file_path, analysis_id. Returns: tool, files, summary, metadata, +2 more
generate_midiAudio to MIDIA
Transcribe an audio file to MIDI.
Use to get notes out of audio. On a full mix, run stem_split first and transcribe the stem you want. Counts as one run. MIDI files go to a new results folder; the source is unchanged.
Inputs: file_path (required), bpm. Returns: tool, files, summary, metadata, +2 more
generate_musicGenerate musicA
Generate music with the Audial music model.
Text to music, covers, remixes, lego (re-render with one track emphasised),
or analysis (understand). Use for new or transformed music, not to edit an existing mix:
that is master or stem_split. Takes a few minutes and counts as one run, and audio goes to
a new results folder. When Audial wrote the lyrics, the summary has them:
show them to the user, who can edit them and run again with lyrics.
Inputs: prompt (required), bpm, seed, lyrics, +15 more. Returns: tool, files, summary, metadata, +2 more
generate_samplesGenerate a sample packA
Extract a sample pack (one-shots and loops) from a track.
Use when the user wants drum hits or loops taken from a finished track. With the
analysis_id from segment, the pack is built from that analysis's sections and the stems
Audial made for it: nothing is uploaded and it is included in the analysis's run (right
after a new analysis it waits a few minutes for the stems). With file_path it runs the
sample-pack pipeline: prepares the track (analysis and stems together), then builds the
pack; one call, counted as one run, each step reported as it starts and finishes. If that
call times out the job keeps running: pipeline_status finds it. Samples go to a new
results folder.
Inputs: genre, job_type, file_path, components, +1 more. Returns: tool, files, summary, metadata, +2 more
get_lyricsGet lyricsA
Transcribe a track's lyrics as timed lines.
Give the analysis_id from segment: nothing is uploaded and it is included in that analysis's
run. A file_path runs segment first (one run). Lyrics read the vocal stem, which Audial makes
automatically after each analysis: right after a new analysis this waits for it (a few
minutes). metadata.lines has one {start, end, text} per line in seconds on the track's
timeline, and vocal_start when the vocal starts. Word timings ([word, start, end]) are
in the saved lyrics.json. A track without vocals comes back with no lines and
vocal_start null.
Inputs: file_path, analysis_id. Returns: tool, files, summary, metadata, +2 more
list_resultsList previous resultsARead-only
List previous Audial results in the results folder, newest first.
Use when the user asks where an earlier output went. Reads the local folder only: no account needed and nothing is sent anywhere.
Inputs: tool, limit. Returns: result
masterMaster a trackA
Master a mix, optionally matching a reference track.
Use for a finished stereo mix, not for separate stems. Pass a reference track when the user names one. Takes a few minutes and counts as one run. The master goes to a new results folder; the source is unchanged.
Inputs: file_path (required), reference_file. Returns: tool, files, summary, metadata, +2 more
pipeline_statusPipeline statusARead-only
Look up an Audial pipeline by id: its state, each step, and the outputs so far.
Useful when a generate_samples call on a file, or a segment call with features, timed
out: the pipeline keeps running on Audial's side and this says how far it got.
Inputs: pipeline_id (required). Returns: object
segmentSegment audioA
Find song sections, tempo and bars (about half a minute).
Use for song structure. Send the mix: no stems needed, and it counts as one run.
metadata.analysis is the analysis (format 5; every time in seconds): bpm,
time_signature, key and camelot (null when no key was found), structure ("dance"
or "song" section names), bar1 (the first downbeat), lead_in (the time before bar 1,
or null), sections (label, start, end, start_bar, bars, fills: drum fill times) and a
tempo map. Beats and bars are not listed one by one: grid describes them -- where each
constant-tempo piece starts, its BPM, and its bar and beat. Every beat time is
start + k * 60 / bpm, and most tracks have one piece. The analysis_id it returns adds
audio_features, tag_audio, get_lyrics or generate_samples to this analysis without another
run. For tempo and key alone, analyze is quicker.
Inputs: file_path (required), edm, genre, features. Returns: tool, files, summary, metadata, +2 more
service_statusService statusARead-only
Which Audial tools have a worker awake right now, and what a cold one will cost.
Audial's GPU workers scale to zero. A tool reported warm: false will spend
expectedColdStartMs starting a worker before it does any work -- a few minutes, once --
on top of the job's own expectedRunMs. Worth checking before starting a long job, and
worth telling the user about with the notice text when something is cold: otherwise the
wait looks like a hang. Nothing here starts a job or costs anything.
Inputs: tool. Returns: object
sign_inSign in to AudialA
Sign in to Audial through the user's browser. Opens an approval page and waits for it.
Not needed before other tools: they start the same sign-in when nobody is signed in.
Inputs: switch_account. Returns: Which Audial account this server is using.
sign_outSign out of AudialADestructive
Sign out of Audial on this computer and disconnect it from the account.
Only when the user asks to sign out or switch accounts. The next job asks them to sign in again. Results already downloaded stay where they are.
Inputs: no named parameters. Returns: Which Audial account this server is using.
sound2serumResynthesize a one-shot into a Serum 2 presetA
Turn one isolated sound into an editable Xfer Serum 2 preset.
Not for loops or melodies, which give a poor preset. If the result's summary says the match is weak, tell the user and suggest trimming the input to one note.
Inputs: file_path (required). Returns: tool, files, summary, metadata, +2 more
sound2vitalResynthesize a one-shot into a synth presetA
Turn one isolated sound into an editable Audial Synth preset.
Not for loops or melodies, which give a poor preset. If the result's summary says the match is weak, tell the user and suggest trimming the input to one note.
Inputs: file_path (required). Returns: tool, files, summary, metadata, +2 more
stem_splitSplit stemsA
Split a track into separate instrument stems, optionally retimed and rekeyed.
Use for a full song or mix when the user wants vocals, drums, bass or an instrumental on their own. For tempo and key alone use analyze; for sections use segment. Takes a few minutes and counts as one run. Stems go to a new results folder; the source is unchanged.
Inputs: file_path (required), stems, algorithm, target_bpm, +1 more. Returns: tool, files, summary, metadata, +2 more
tag_audioTag audioA
Tag a track: genres, instruments and moods for the mix and each part, plus a written description.
Give the analysis_id from segment: nothing is uploaded and it is included in that analysis's
run. A file_path runs segment first (one run). Tags read the track's stems, which Audial
makes automatically after each analysis: right after a new analysis this waits for them (a
few minutes). The tags are in metadata: genres, instruments and moods of the mix,
stems (drums, bass, melody, vocals: each {instruments, moods}, or {silent: true} when
that part is silent) and description. They are saved to the results folder.
Inputs: file_path, analysis_id. Returns: tool, files, summary, metadata, +2 more
text2voxSing lyrics in a reference voiceA
Synthesize a sung vocal (and MIDI) from lyrics, a melody and a reference voice.
Needs both a reference clip of the voice and a melody, as MIDI or audio. A MIDI melody must be one note at a time: a single melody line, not chords or harmony. lyrics_mode decides how the lyrics are lined up with the melody's notes; "per_note" is the one that gives exact control. See the lyrics_mode and lyrics descriptions. Takes a few minutes and counts as one run. Audio and MIDI go to a new results folder.
Inputs: lyrics (required), reference_file (required), seed, midi_file, +11 more. Returns: tool, files, summary, metadata, +2 more
usageAPI usageARead-only
This month's Audial API usage: plan, monthly limit, calls used and left, and the reset time.
resetsAt is milliseconds since the epoch (null before the first call this period). When
remaining is 0 and topupRemaining is 0, further calls are refused until the reset.
Reading this does not count as a call.
Inputs: no named parameters. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 20 tools
Most tools target a clearly distinct operation (segment, stem_split, master, get_lyrics, tag_audio, text2vox), and the descriptions explicitly resolve the riskiest overlaps (analyze vs segment, audio_features vs segment, generate_music vs master/stem_split). The remaining soft overlaps are sound2vital vs sound2serum (separated only by the target synth) and analyze vs segment/audio_features, which measure some of the same properties but are steered by 'use analyze for tempo/key alone' guidance.
Everything is lowercase snake_case, but the verb conventions are mixed: bare verbs (segment, analyze, master), verb_noun (generate_samples, generate_midi, tag_audio, list_results), noun_noun (stem_split, audio_features, pipeline_status), verb_prep (sign_in, sign_out), and a '2' shorthand (sound2vital, sound2serum, text2vox). Still readable and mostly self-explanatory, but there is no single predictable pattern an agent can rely on.
At 20 tools this is on the heavy side, but the domain genuinely spans analysis, stems, mastering, sample/MIDI generation, lyrics, tagging, synthesis, presets, account and service utilities, and each tool maps to a distinct capability rather than a redundant variant. It is close to the upper bound of what an agent can hold comfortably, so slightly over-scoped but defensible.
The surface covers the full job lifecycle: auth (sign_in/sign_out/account), quota (usage), job execution across all major audio operations, and diagnostics (pipeline_status, service_status, list_results). Minor gaps exist around results management — there is no tool to retrieve details of a saved result beyond listing it, nor to delete/cancel work — but agents can work around these via the filesystem and status tools.
Maintenance
Related MCP Connectors
Remote MCP server for audio stem separation, denoise, reverb, and MIDI export.
Hosted MCP tools for FFmpeg-style video and audio processing through FFMPEG API.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Audio, music, video, image, PDF, speech, text and web-check tools callable from any MCP client.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to programmatically edit, analyze, and export audio projects through MCP tools, including multi-track editing, effects, transcription, and semantic search.1-
- FlicenseNot gradedqualityDmaintenanceEnables AI clients like Claude and ChatGPT to generate images and videos, animate images, create lip-synced videos, list TTS voices, and manage media via remote MCP tools.-

AudioPod MCP Serverofficial
AlicenseNot gradedqualityCmaintenanceProvides ten hosted audio AI tools — TTS, voice cloning, music generation, stem separation, speaker separation, transcription, denoising, media conversion, and job polling — over a single streamable-HTTP endpoint for any MCP-capable agent.MIT- AlicenseNot gradedqualityBmaintenanceEnables users to generate music, manage LoRAs, recordings, and studio workflows through MCP tools.MIT