audacity4-mcp

v0.1.0
audacity4-mcp Checked 5 days ago Published 3 months ago

MCP server for AI-driven audio editing in Audacity 4

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

auto_analyze_audio

Analyze the current project's audio and recommend a cleanup pipeline. Selects all audio first, exports it to a temp WAV, measures it, and returns peak/noise/clipping/click/silence-gap/dynamic-range diagnostics plus a recommendation for which pipeline to run next.

analyze_beat_finder

Find beats in the selected audio and add a label at each one. Adds labels to the project's label track (creating one if needed) - call label_list afterward to read the detected beat positions. Args: threshold_percent: Sensitivity threshold, 5-100. Lower finds more beats. Default: 65

ParameterTypeDescription
threshold_percentinteger

analyze_label_sounds

Detect sounds separated by silence and add a label for each one (or for each silence gap, depending on label_type). Adds labels to the project's label track (creating one if needed) - call label_list afterward to read the detected regions. Args: threshold_db: Level below which audio counts as silence, -100 to 0. Default: -30.0 measurement: How to measure level - "peak", "avg", or "rms". Default: "peak" min_silence_duration: Minimum silence length to count as a gap, in seconds. Default: 1.0 min_label_interval: Min…

ParameterTypeDescription
label_typestring
measurementstring
min_label_intervalnumber
min_silence_durationnumber
threshold_dbnumber

analyze_sample_data_export

Export raw sample values from the selection to a text/CSV/HTML file. Args: path: Absolute output path. Extension determines format (.txt, .csv, .html). limit: Maximum number of samples to export, 1-1000000. Default: 100 units: Measurement scale - "dB" or "Linear". Default: "dB"

ParameterTypeDescription
path *string
limitinteger
unitsstring

auto_cleanup_podcast

ONE-CLICK PODCAST CLEANUP. Runs in background - returns a job_id immediately. Use check_pipeline_status to monitor. Pipeline: DC offset > noise reduction (opt) > compress 4:1 > safe LUFS loudness (-16 LUFS, Apple Podcasts target) with clip-safe fallback. Args: remove_noise: Apply noise reduction using the first 0.5s as a noise profile. Default: True. IMPORTANT: the first 0.5s should be room tone/silence if this is True.

ParameterTypeDescription
remove_noiseboolean

auto_audiobook_mastering

ONE-CLICK AUDIOBOOK MASTERING: ACX/Audible compliant processing. Runs in background - returns a job_id immediately. Use check_pipeline_status to monitor. Pipeline: DC offset > noise reduction (opt) > compression 2.5:1 > RMS -20dB (safe, clip-checked) > peak cap -3.5dB. Targets ACX requirements: RMS -23 to -18 dB, peaks below -3 dB (capped at -3.5 for safety margin), noise floor below -60 dB. Args: remove_noise: Apply noise reduction using the first 0.5s as a noise profile. Default: True. IMPORTANT: the first…

ParameterTypeDescription
remove_noiseboolean

auto_cleanup_interview

ONE-CLICK INTERVIEW CLEANUP: Light-touch processing for dialogue and multiple speakers. Runs in background - returns a job_id immediately. Use check_pipeline_status to monitor. Pipeline: DC offset > noise reduction 8dB (opt) > compression 2.5:1 > safe LUFS loudness. Lighter than podcast - preserves natural conversation dynamics. Args: remove_noise: Apply noise reduction using the first 0.5s as a noise profile. Default: True. IMPORTANT: the first 0.5s should be room tone/silence if this is True.…

ParameterTypeDescription
remove_noiseboolean

auto_cleanup_vocal

ONE-CLICK VOCAL CLEANUP: Professional processing for singing and studio vocals. Runs in background - returns a job_id immediately. Use check_pipeline_status to monitor. Pipeline: DC offset > noise reduction 10dB (opt) > compression 3:1 > presence EQ (treble+3dB/bass-1dB) > safe LUFS loudness. Args: remove_noise: Apply noise reduction using the first 0.5s as a noise profile. Default: True. IMPORTANT: the first 0.5s should be room tone/silence if this is True.

ParameterTypeDescription
remove_noiseboolean

auto_cleanup_live

ONE-CLICK LIVE RECORDING CLEANUP: Aggressive processing for noisy/field recordings. Runs in background - returns a job_id immediately. Use check_pipeline_status to monitor. Pipeline: DC offset > click removal > noise reduction 12dB (always on) > compression 5:1 > safe LUFS loudness. Designed for live performances, field recordings, and noisy environments. IMPORTANT: The first 0.5 seconds MUST be room tone / ambient noise for noise profiling.

auto_master_music

ONE-CLICK MUSIC MASTERING: Professionally master your music track with genre-tuned settings. Runs in background - returns a job_id immediately. Use check_pipeline_status to monitor. Pipeline: click removal > noise reduction (opt, off by default for produced music) > compression (genre-tuned) > bass/treble sweetening (genre-tuned) > safe peak ceiling (no fixed loudness target - genre expectations vary too widely). Args: style: Genre preset - "edm", "hiphop", "rock", "pop", "classical", "acoustic". Default: "ed…

ParameterTypeDescription
noise_reduceboolean
stylestring

auto_lofi_effect

CREATIVE LO-FI EFFECT: Apply a vintage/lo-fi sound to your audio. Runs in background - returns a job_id immediately. Use check_pipeline_status to monitor. Pipeline: bass/treble warmth > compression 2:1 > safe peak ceiling. NOTE: currently warmth + compression only, not the full frequency-cutoff filtering v3 had (see auto_lofi_effect's result "note" field for why). Args: intensity: "light" (subtle warmth), "medium" (classic lo-fi), "heavy" (extreme tape sound). Default: "medium"

ParameterTypeDescription
intensitystring

check_pipeline_status

Check the status of a running cleanup pipeline. Args: job_id: The job ID returned by an auto_ pipeline tool.

ParameterTypeDescription
job_id *string

edit_cut

Cut the selected audio to clipboard. Select tracks and a time range first.

edit_copy

Copy the selected audio to clipboard. Select tracks and a time range first.

edit_paste

Paste audio from clipboard at the start of the current selection. Select the destination position first with select_region (or cursor_set).

edit_delete

Delete the selected audio, closing the gap (does not copy to clipboard). Select tracks and a time range first.

edit_split

Split the selected clip(s) at the selection boundaries (in place, no new track). Select tracks and a time range first.

edit_trim

Trim audio outside the selection (delete everything except the selected region). Select tracks and a time range first.

edit_silence

Replace the selected audio with silence. Select tracks and a time range first.

edit_duplicate

Duplicate the selected audio into a new track. Select tracks and a time range first.

edit_split_new

Split the selected audio into a new track at the selection boundaries, leaving the original track unchanged. Select tracks and a time range first.

edit_split_cut

Cut the selected audio to clipboard WITHOUT closing the gap - leaves silence where the audio was. Select tracks and a time range first.

edit_split_delete

Delete the selected audio WITHOUT closing the gap - leaves silence where the audio was. Select tracks and a time range first.

edit_disjoin

Split the selected audio into separate clips at detected silences. Select tracks and a time range first.

edit_join

Join the selected clips into one clip. Select tracks and a time range first.

edit_undo

Undo the last edit. Fails cleanly if there's nothing to undo.

edit_redo

Redo the last undone edit. Fails cleanly if there's nothing to redo.

list_effects

List available effects/plugins actually installed in this Audacity - builtin, VST3, Nyquist, etc. Each result's "title" is the effect_id to pass to apply-effect (or any effect_* tool's underlying command) - that path resolves by title with a fallback. Its "id" is the real internal PluginID, which add_realtime_effect REQUIRES instead - confirmed live that passing a title there fails ("cannot load the effect"), since RealtimeEffectService::addRealtimeEffect has no title fallback. IMPORTANT (confirmed live): "category" only works for Builti…

ParameterTypeDescription
categorystring
familystring
limitinteger
searchstring

normalize

Normalize the selected audio to a target peak level. Args: peak_level_db: Target peak level in dB (-145 to 0). Default: -3.0 remove_dc: Remove DC offset before normalizing. Default: True stereo_independent: Normalize L/R channels separately. Default: False

ParameterTypeDescription
peak_level_dbnumber
remove_dcboolean
stereo_independentboolean

get_noise_profile

Capture a noise profile from the currently selected audio region. IMPORTANT: Select a region of pure noise (e.g. 0.5-2 seconds of silence/background noise) before calling this. This profile is used by the noise_reduction tool. Sets NoiseReductionEffect's GetProfile flag and runs it - the same call the "Get Noise Profile" button in Audacity's Noise Reduction dialog makes.

noise_reduction

Apply noise reduction to the selected audio. You MUST call get_noise_profile first on a region of pure noise, then select the audio you want to clean, then call this. Args: sensitivity: Detection sensitivity (0.01-24). Default: 6.0 noise_gain_db: Amount of noise reduction in dB (0-48). Default: 12.0 frequency_smoothing_bands: Frequency smoothing bands (0-12). Default: 3

ParameterTypeDescription
frequency_smoothing_bandsinteger
noise_gain_dbnumber
sensitivitynumber

compressor

Apply dynamic range compression to the selected audio. Args: threshold_db: Level above which compression starts (dB). Default: -12 ratio: Compression ratio (e.g. 4.0 = 4:1). Default: 4.0 attack_ms: Attack time in milliseconds. Default: 3.0 release_ms: Release time in milliseconds. Default: 100.0 makeup_gain_db: Makeup gain applied after compression (dB). Default: -3.0 knee_width_db: Soft-knee width in dB. Default: 6.0

ParameterTypeDescription
attack_msnumber
knee_width_dbnumber
makeup_gain_dbnumber
rationumber
release_msnumber
threshold_dbnumber

limiter

Apply a limiter to prevent audio from exceeding a ceiling. Args: threshold_db: Level above which limiting starts (dB). Default: -6 makeup_target_db: Output ceiling (dB) - the industry-standard streaming ceiling is -1.0. Default: -1.0 release_ms: Release time in milliseconds. Default: 20.0 knee_width_db: Soft-knee width in dB. Default: 2.0

ParameterTypeDescription
knee_width_dbnumber
makeup_target_dbnumber
release_msnumber
threshold_dbnumber

loudness_normalize

Normalize audio to a target LUFS loudness. DANGER: can boost quiet/badly recorded audio by 20-30dB causing clipping - measure levels with auto_analyze_audio first. Targets: -16 LUFS (Apple Podcasts), -14 LUFS (Spotify/YouTube), -11 LUFS (loud masters). Args: lufs_level: Target loudness in LUFS (-145 to 0). Default: -16.0 stereo_independent: Normalize L/R channels independently. Default: False dual_mono: Treat mono as dual-mono for correct LUFS measurement. Default: True

ParameterTypeDescription
dual_monoboolean
lufs_levelnumber
stereo_independentboolean

click_removal

Remove clicks and pops from the selected audio (e.g. vinyl recordings). Args: threshold: Click detection threshold (0-900). Higher = fewer clicks removed. Default: 200 spike_width: Maximum width of a click in samples (0-40). Default: 20

ParameterTypeDescription
spike_widthinteger
thresholdinteger

bass_and_treble

Adjust bass and treble frequencies with a simple tonal shaping tool. Args: bass: Bass adjustment in dB (-30 to 30). Default: 0 treble: Treble adjustment in dB (-30 to 30). Default: 0 gain: Output gain in dB (-30 to 30). Default: 0

ParameterTypeDescription
bassnumber
gainnumber
treblenumber

effect_amplify

Amplify (or attenuate) the selected audio by a linear ratio. Args: ratio: Amplification ratio (e.g. 2.0 = +6dB, 0.5 = -6dB). Range: 0.003162-316.227766. Default: 1.0 allow_clipping: Allow the result to clip instead of being limited. Default: False

ParameterTypeDescription
allow_clippingboolean
rationumber

effect_fade_in

Apply a fade-in to the selected audio. Select the region to fade first.

effect_fade_out

Apply a fade-out to the selected audio. Select the region to fade first.

effect_reverb

Apply reverb to the selected audio. Args: room_size: Room size percentage (0-100). Default: 75 pre_delay: Pre-delay in ms (0-200). Default: 10 reverberance: Reverberance percentage (0-100). Default: 50 hf_damping: High frequency damping percentage (0-100). Default: 50 tone_low: Tone low percentage (0-100). Default: 100 tone_high: Tone high percentage (0-100). Default: 100 wet_gain: Wet signal gain in dB (-20 to 10). Default: -1.0 dry_gain: Dry signal gain in dB (-20 to 10). Default: -1.0…

ParameterTypeDescription
dry_gainnumber
hf_dampingnumber
pre_delaynumber
reverberancenumber
room_sizenumber
stereo_widthnumber
tone_highnumber
tone_lownumber
wet_gainnumber
wet_onlyboolean

effect_change_pitch

Change the pitch of the selected audio without changing tempo. Args: semitones: Number of semitones to shift (negative = lower, positive = higher) use_high_quality_stretching: Use the higher-quality SBSMS algorithm (slower). Default: False

ParameterTypeDescription
semitonesnumber
use_high_quality_stretchingboolean

effect_paulstretch

Extreme time-stretch effect (creates ambient/drone textures). Select audio first. Args: stretch_factor: How much to stretch (1.0 = no change, 10.0 = 10x longer). Default: 10.0 time_resolution: Time resolution in seconds - smaller = better quality, slower (>= 0.00099). Default: 0.25

ParameterTypeDescription
stretch_factornumber
time_resolutionnumber

effect_reverse

Reverse the selected audio. Select a region first.

effect_invert

Invert (flip phase) the selected audio. Useful for phase cancellation.

effect_repair

Repair a very short damaged section of audio (a few dozen samples at most). Select the damaged region first - it must be extremely short, or the effect will refuse to run.

effect_sliding_stretch

Change tempo and/or pitch gradually across the selection (sliding time stretch). Args: rate_change_start: Tempo change at start in % (-90 to 500). Default: 0 rate_change_end: Tempo change at end in % (-90 to 500). Default: 0 pitch_change_start_semitones: Pitch change at start in semitones (-12 to 12). Default: 0 pitch_change_end_semitones: Pitch change at end in semitones (-12 to 12). Default: 0

ParameterTypeDescription
pitch_change_end_semitonesnumber
pitch_change_start_semitonesnumber
rate_change_endnumber
rate_change_startnumber

effect_remove_dc_offset

Remove DC offset from the selected audio without changing its peak level. v4's "Remove DC offset" is invoked here as Normalize with only the DC checkbox on and level-normalization off (ApplyVolume=0) - confirmed the same parameter set as the already-verified normalize() tool, just with volume application disabled. Takes no parameters.

effect_adjustable_fade

Apply a customizable fade to the selected audio. Requires a SINGLE-clip selection - confirmed live that a selection spanning multiple clips triggers an unguarded assert/crash (Au3SelectionController::rightMostSelectedClipEndTime). A clean single-clip selection was also confirmed live to work correctly (isError: false, no crash). Normalize has the same "single clip only" precondition but fails gracefully with a normal error instead of crashing when violated - this one does not, so get the selection right. Args: fade_t…

ParameterTypeDescription
end_levelnumber
fade_typestring
mid_fade_adjust_percentnumber
start_levelnumber
unitsstring

truncate_silence

Find and shorten runs of silence in the selected audio. Args: threshold_db: Silence threshold in dB, -80 to -20. Default: -20.0 minimum_silence: Minimum silence duration to detect, in seconds, >= 0.001. Default: 0.5 truncate_to: Duration to truncate silence down to, in seconds. Default: 0.5 compress_ratio: Percent to compress the remaining silence by, 0-99.9. Default: 50.0 independent_channels: Detect silence independently per channel. Default: False

ParameterTypeDescription
compress_rationumber
independent_channelsboolean
minimum_silencenumber
threshold_dbnumber
truncate_tonumber

effect_clip_fix

Repair clipped (distorted) peaks in the selected audio. Args: threshold: Clipping threshold percent, 0-100. Default: 95.0 gain_db: Gain adjustment in dB, -30 to 0. Default: -9.0

ParameterTypeDescription
gain_dbnumber
thresholdnumber

effect_crossfade_clips

Crossfade the overlap between two adjacent, overlapping clips. Select the overlapping region across both clips first. Takes no parameters.

effect_crossfade_tracks

Crossfade the selected region between two overlapping tracks. Args: curve_type: 0=Constant Gain, 1=Constant Power (1), 2=Constant Power (2), 3=Custom Curve. Default: 0

ParameterTypeDescription
curve_typeinteger

effect_studio_fade_out

Apply a smoother, more natural fade-out than effect_fade_out to the selected audio. Takes no parameters.

effect_notch_filter

Apply a notch filter to remove a narrow frequency band (e.g. mains hum) from the selected audio. Args: frequency_hz: Center frequency to notch out in Hz, > 0. Default: 60.0 q: Q (narrowness) of the notch, 0.1-1000. Default: 1.0

ParameterTypeDescription
frequency_hznumber
qnumber

effect_tremolo

Apply a tremolo (amplitude modulation) effect to the selected audio. Args: wave_type: 0=Sine, 1=Triangle, 2=Sawtooth, 3=Inverse Sawtooth, 4=Square. Default: 0 phase_degrees: LFO starting phase, -180 to 180. Default: 0 wet_percent: Wet mix percent, 1-100. Default: 40 lfo_hz: LFO rate in Hz, 0.001-1000. Default: 4.0

ParameterTypeDescription
lfo_hznumber
phase_degreesinteger
wave_typeinteger
wet_percentinteger

generate_tone

Generate a tone. Fills the currently selected time range - call select_region first to control duration. Args: waveform: "Sine", "Square", "Sawtooth", "Square, no alias", or "Triangle". Default: "Sine" frequency: Frequency in Hz (>= 1). Default: 440 amplitude: Amplitude (0-1). Default: 0.8

ParameterTypeDescription
amplitudenumber
frequencynumber
waveformstring

generate_chirp

Generate a chirp (frequency sweep). Fills the currently selected time range - call select_region first to control duration. Args: waveform: "Sine", "Square", "Sawtooth", "Square, no alias", or "Triangle". Default: "Sine" start_freq: Starting frequency in Hz (>= 1). Default: 440 end_freq: Ending frequency in Hz (>= 1). Default: 1320 start_amp: Starting amplitude (0-1). Default: 0.8 end_amp: Ending amplitude (0-1). Default: 0.1

ParameterTypeDescription
end_ampnumber
end_freqnumber
start_ampnumber
start_freqnumber
waveformstring

generate_noise

Generate noise. Fills the currently selected time range - call select_region first to control duration. Args: noise_type: "White", "Pink", or "Brownian". Default: "White" amplitude: Amplitude (0-1). Default: 0.8

ParameterTypeDescription
amplitudenumber
noise_typestring

generate_dtmf

Generate DTMF (telephone) tones. Fills the currently selected time range - call select_region first to control duration. Args: sequence: Text to encode as DTMF tones. Default: "audacity" (Audacity's own default) duty_cycle: Tone vs silence ratio percentage (0-100). Default: 55 amplitude: Amplitude (0-1). Default: 0.8

ParameterTypeDescription
amplitudenumber
duty_cyclenumber
sequencestring

generate_silence

Generate silence. Fills the currently selected time range - call select_region first to control duration. Takes no parameters.

generate_rhythm_track

Generate a metronome/click rhythm track. Args: tempo_bpm: Tempo, 30-300 beats/minute. Default: 120.0 beats_per_bar: Time signature numerator, 1-20. Default: 4 swing: Swing amount, -1 to 1. Default: 0.0 num_bars: Number of bars to generate, 0-1000. Set to 0 to use duration_seconds instead. Default: 16 duration_seconds: Duration to fill, used only when num_bars is 0. Default: 0.0 start_offset: Silence before the first beat, in seconds. Default: 0.0 click_type: One of: Metronome, Ping (sho…

ParameterTypeDescription
beats_per_barinteger
click_typestring
duration_secondsnumber
num_barsinteger
start_offsetnumber
strong_beat_pitchinteger
swingnumber
tempo_bpmnumber
weak_beat_pitchinteger

label_list

List all labels on the project's (first) label track, with key, text, and time range.

label_add_track

Create a new, empty label track.

label_add

Add a label at the current selection/playback position. Creates a label track automatically if none exists yet. Args: text: Optional text for the new label.

ParameterTypeDescription
textstring

label_remove

Remove a label by its key. Args: key: The label's key, in "trackId:itemId" format (from label_list/label_add).

ParameterTypeDescription
key *string

label_update_text

Change the text of an existing label. Args: key: The label's key, in "trackId:itemId" format. text: The new text for the label.

ParameterTypeDescription
key *string
text *string

label_add_at

Add a label at an exact time range, regardless of the current selection. Composed from select_region + label_add (add-label places the new label at whatever is currently selected - confirmed in handleAddLabel's source comments). Changes the current selection as a side effect. Args: start: Start time in seconds. end: End time in seconds (>= start). text: Optional text for the new label.

ParameterTypeDescription
end *number
start *number
textstring

label_add_batch

Add multiple labels in one call. Args: labels: List of {"start": float, "end": float, "text": str (optional)}.

ParameterTypeDescription
labels *array

label_get_all

Get all labels as structured data (key, text/title, start, end) rather than the raw MCP content blocks label_list returns.

label_find

Find labels whose text contains the given (case-insensitive) substring. Args: query: Substring to search for in label text.

ParameterTypeDescription
query *string

label_regular_intervals

Add labels at regular intervals across a known duration. There is no C++ primitive to query project/selection duration yet, so the caller must supply it explicitly (e.g. from project_export_audio's or an analysis tool's measured length) rather than this tool guessing. Args: interval: Spacing between labels, in seconds (> 0). duration: Total duration to cover, in seconds (> 0). text_prefix: Text prefix for each label; each gets a "N" suffix, 1-based. Default: "Marker"

ParameterTypeDescription
duration *number
interval *number
text_prefixstring

label_delete_audio_at

Delete the audio under a single label (by key), closing the gap. Args: key: The label's key, in "trackId:itemId" format (from label_list).

ParameterTypeDescription
key *string

label_cut_regions

Cut the audio under every label to the clipboard, closing the gaps. Only the LAST cut survives on the clipboard (each cut overwrites it) - this collapses every labeled region but only the final one is recoverable via paste. Processes labels last-to-first so earlier label times stay valid as later regions are removed. Label track itself is unaffected.

label_delete_regions

Delete the audio under every label, closing the gaps. Processes labels last-to-first so earlier label times stay valid as later regions are removed. Re-read label_list afterwards - the timeline shifted.

label_silence_regions

Replace the audio under every label with silence, keeping the timeline length. Order doesn't matter - silencing doesn't shift anything. Labels stay put.

label_split_regions

Split the audio clips at every label's start and end boundary. Order doesn't matter - splitting doesn't shift anything. Labels stay put.

label_join_regions

Join the audio clips across every labeled region back together. The inverse of label_split_regions. Order doesn't matter. Labels stay put.

get_default_export_folder

Get the default folder for exporting audio files. Returns the user's Music folder path (falling back to their home folder if Music doesn't exist). Use this when the user doesn't specify where to save.

project_new

Create a new project in the current window. Only works when no project is currently open - if one is open, close it first with project_close (after saving with project_save_as if needed), since replacing an open project here would open a whole separate application window instead.

project_open

Open an existing Audacity project file (.aup4 - Audacity 4's native format; .aup3 files are Audacity 3 format and will trigger an interactive conversion prompt in the app, which is not safe to trigger over MCP). Args: path: Absolute path to the .aup4 project file

ParameterTypeDescription
path *string

project_import_audio

Import an audio file into the current project as a new track. Requires a project to already be open - use project_new or project_open first. Args: path: Absolute path to the audio file (wav, mp3, ogg, flac, etc.)

ParameterTypeDescription
path *string

project_close

Close the current project. Refuses if there are unsaved changes - save with project_save_as first, since closing a dirty project would otherwise require an interactive save-changes dialog that isn't safe to trigger over MCP.

project_save_as

Save the current project to a new .aup4 file. ONLY call when the user explicitly asks - do NOT auto-save after effects or pipelines. Args: path: Absolute path for the new .aup4 file overwrite: Set true to replace an existing file at that path - refused by default

ParameterTypeDescription
path *string
overwriteboolean

project_export_audio

Export the full project's audio (all tracks, stereo, 44.1kHz WAV). MANDATORY: ALWAYS tell the user where the file will be saved BEFORE exporting. NEVER save directly to the user's home folder root - use a subfolder like Music, Documents, or Desktop. Args: path: Absolute path for the exported .wav file overwrite: Set true to replace an existing file at that path - refused by default

ParameterTypeDescription
path *string
overwriteboolean

project_export_selection

Export only the current selection's audio (mono, 44.1kHz WAV). Select a time range first with select_region or select_all. MANDATORY: ALWAYS tell the user where the file will be saved BEFORE exporting. NEVER save directly to the user's home folder root - use a subfolder like Music, Documents, or Desktop. Args: path: Absolute path for the exported .wav file overwrite: Set true to replace an existing file at that path - refused by default

ParameterTypeDescription
path *string
overwriteboolean

project_save

Save the current project. Refuses if the project has never been saved before (has no file path yet) or has no unsaved changes - check the returned message for why, if isError is true.

recent_commands

List recently executed MCP commands with their id, timestamp, success, and result message. Useful for checking what an earlier command actually did, or finding a command's id to look up with command_status.

command_status

Look up the recorded result of a previously executed command by its id. Args: command_id: The command id, as returned in a recent_commands entry.

ParameterTypeDescription
command_id *string

project_get_info

Get project-wide info: path, display name, unsaved-changes state, duration, and a summary of every track (id, title, type, rate, mute/solo, clip count). Use a track's id with track_get_info for its full clip (or label) list.

add_realtime_effect

Add a non-destructive realtime effect to a track's (or the Master bus's) effect chain. Unlike apply-effect/effect_* tools, this stays adjustable and removable afterward - the actual VST/plugin GUI can still be opened live in Audacity to tweak it, same as adding it by hand via the Realtime Effects panel. Args: track_id: Track id, from project_get_info's track list. Use -2 for the Master bus. effect_id: The real PluginID, from list_effects' "id" field - NOT "title". Confirmed live: passing a title he…

ParameterTypeDescription
effect_id *string
track_id *integer

list_realtime_effects

List the realtime effect chain on a track or the Master bus, with each effect's index (for remove_realtime_effect/set_realtime_effect_active), name, and active state. Args: track_id: Track id, from project_get_info's track list. Use -2 for the Master bus.

ParameterTypeDescription
track_id *integer

remove_realtime_effect

Remove one effect from a track's (or the Master bus's) realtime effect chain by index. Args: track_id: Track id, from project_get_info's track list. Use -2 for the Master bus. index: Position in the chain, from list_realtime_effects.

ParameterTypeDescription
index *integer
track_id *integer

set_realtime_effect_active

Enable or bypass one effect in a track's (or the Master bus's) realtime effect chain, without removing it. Args: track_id: Track id, from project_get_info's track list. Use -2 for the Master bus. index: Position in the chain, from list_realtime_effects. active: True to enable, False to bypass.

ParameterTypeDescription
active *boolean
index *integer
track_id *integer

list_effect_parameters

List a realtime effect's real, plugin-reported parameters - name, units, min/max/default/current value, and a human-formatted current value string. Works uniformly across Builtin/VST3/LV2/AudioUnit plugins via Audacity's own parameter-extraction layer - no need to guess a plugin's parameter names or ranges (e.g. a reverb's actual "Mix"/"Decay"/"Size" parameters, a compressor's "Threshold"/"Ratio"). Args: track_id: Track id, from project_get_info's track list. Use -2 for the Master bus. index: Position in t…

ParameterTypeDescription
index *integer
track_id *integer

set_effect_parameter

Set one real-time parameter on a realtime effect to an exact value - e.g. the actual wet/dry mix or decay time of a reverb, not just add/remove/bypass the whole effect. Args: track_id: Track id, from project_get_info's track list. Use -2 for the Master bus. index: Position in the chain, from list_realtime_effects. parameter_id: Parameter id, from list_effect_parameters' "id" field. value: New value within [minValue, maxValue] from list_effect_parameters. CONFIRMED LIVE: for VST3 plugins thi…

ParameterTypeDescription
index *integer
parameter_id *string
track_id *integer
value *number

list_effect_presets

List a realtime effect's real factory presets (e.g. a reverb's named room/hall presets), if the plugin format exposes any. Not every plugin has factory presets - an empty list is a normal result, not an error. Args: track_id: Track id, from project_get_info's track list. Use -2 for the Master bus. index: Position in the chain, from list_realtime_effects.

ParameterTypeDescription
index *integer
track_id *integer

apply_effect_preset

Apply one of a realtime effect's factory presets by id. Args: track_id: Track id, from project_get_info's track list. Use -2 for the Master bus. index: Position in the chain, from list_realtime_effects. preset_id: Preset id, from list_effect_presets.

ParameterTypeDescription
index *integer
preset_id *string
track_id *integer

select_all

Select all tracks and all audio data in the project.

select_none

Deselect all tracks and clear the time selection.

select_region

Select a time region. Applies to whichever tracks are currently selected - call select_tracks or select_all first if needed. Args: start: Start time in seconds end: End time in seconds

ParameterTypeDescription
end *number
start *number

select_tracks

Select one or more tracks by index. Args: track: Starting track index (0-based) count: Number of tracks to select

ParameterTypeDescription
track *integer
countinteger

select_zero_crossing

Adjust the current selection boundaries to the nearest zero crossings. Useful before cuts to avoid audible clicks at edit points.

cursor_set

Move the playback cursor / edit point to a specific time. Args: time: Position in seconds

ParameterTypeDescription
time *number

cursor_to_project_start

Move the cursor to the very start of the project (t=0).

cursor_to_project_end

Move the cursor to the end of the project (its total duration).

cursor_to_track_start

Move the cursor to the start of a track's earliest clip. Args: track_id: The track's id, from project_get_info's track list.

ParameterTypeDescription
track_id *integer

cursor_to_track_end

Move the cursor to the end of a track's latest clip. Args: track_id: The track's id, from project_get_info's track list.

ParameterTypeDescription
track_id *integer

select_clip

Select a specific clip by key - selects its track, the clip itself, and the time range spanning it. Args: key: Clip key "trackId:itemId", from track_get_info's clip list.

ParameterTypeDescription
key *string

select_cursor_to_track_end

Select from the current cursor position to the end of a track's latest clip. Args: track_id: The track's id, from project_get_info's track list.

ParameterTypeDescription
track_id *integer

track_add_mono

Add a new mono audio track to the project.

track_add_stereo

Add a new stereo audio track to the project.

track_remove

Remove the currently selected track(s). Select tracks first with select_tracks.

track_set_properties

Set one or more properties of a track by index. Only the properties you pass are changed - omit any you don't want to touch. Args: track: Track index (0-based) name: New track name gain: Track gain in dB (-36 to 36) pan: Track pan (-1.0=left to 1.0=right) mute: Mute the track solo: Solo the track

ParameterTypeDescription
track *integer
gain
mute
name
pan
solo

track_duplicate

Duplicate the currently selected track(s). Select tracks first with select_tracks.

track_resample

Resample the selected track(s) to a new sample rate. Select tracks first with select_tracks. Args: rate: Target sample rate in Hz (e.g. 44100, 48000, 96000). Must be 1-384000.

ParameterTypeDescription
rate *integer

track_get_info

Get detailed info about one track: title, type, rate, mute/solo, and its full clip list (start/end/title per clip), or label list for a label track. Args: track_id: The track's id, from project_get_info's track list. NOT the same as track_set_properties'/track_resample's 0-based "track" index - use the "id" field from project_get_info.

ParameterTypeDescription
track_id *integer

track_mute

Mute or unmute a track by index. Convenience wrapper over track_set_properties' mute parameter. Args: track: Track index (0-based) - same convention as track_set_properties, NOT the "id" field from project_get_info/track_get_info. mute: True to mute, False to unmute. Default: True

ParameterTypeDescription
track *integer
muteboolean

get_default_transcription_folder

Get the default folder for saving transcription files. Returns the user's Documents folder. Call this when the user doesn't specify where to save.

check_transcription_status

[EXPERIMENTAL] Check the status of a running transcription job. Call this after starting transcribe_audio, transcribe_to_labels, or transcribe_to_file. Poll every 10-15 seconds until status is 'complete' or 'error'. Args: job_id: The job ID returned when you started the transcription.

ParameterTypeDescription
job_id *string

transcribe_audio

[EXPERIMENTAL] Transcribe the entire project audio using faster-whisper (local, offline). Requires separate setup (pip install faster-whisper). Runs in BACKGROUND - returns a job_id immediately. Use check_transcription_status to monitor progress. Poll every 10-15 seconds. Language auto-detection can occasionally misidentify the language. If you already know the audio's language, pass `language` explicitly (e.g. "en"), or set `task="translate"` to force English output regardless of the spoken language. Args: model_si…

ParameterTypeDescription
language
model_sizestring
taskstring

transcribe_selection

[EXPERIMENTAL] Transcribe only the currently selected audio region. Requires separate setup (pip install faster-whisper). Runs in BACKGROUND - returns a job_id immediately. Select a region first, then call this tool. Args: model_size: Whisper model - "tiny", "base", "small", "medium", "large-v3" language: ISO language code or None for auto-detect task: "transcribe" or "translate"

ParameterTypeDescription
language
model_sizestring
taskstring

transcribe_to_labels

[EXPERIMENTAL] Transcribe audio and add Audacity labels at each segment timestamp. Requires separate setup (pip install faster-whisper). Runs in BACKGROUND - returns a job_id immediately. If labels from a previous attempt need clearing first: select_tracks the label track, then track_remove, before re-running this. Args: model_size: Whisper model - "tiny", "base", "small", "medium", "large-v3" language: ISO language code (e.g. "en") or None for auto-detect task: "transcribe" (labels in the spoken language) or "trans…

ParameterTypeDescription
language
model_sizestring
taskstring

transcribe_to_file

[EXPERIMENTAL] Transcribe audio and export to a subtitle or text file. Requires separate setup (pip install faster-whisper). ALWAYS tell the user where the file will be saved BEFORE starting. If user doesn't specify a path, call get_default_transcription_folder for a real path. Runs in BACKGROUND - returns a job_id immediately. Args: path: Absolute path for the output file (e.g. "C:/Users/You/Documents/transcript.srt") format: Output format - "srt", "vtt", or "txt" model_size: Whisper model - "tiny", "base", "small"…

ParameterTypeDescription
path *string
formatstring
language
model_sizestring
taskstring

transcription_set_model

[EXPERIMENTAL] Pre-download a whisper model. ONLY call this if the user explicitly asks to download or change the model. Do NOT call this before transcribe_audio - transcription tools handle model loading automatically. Runs in BACKGROUND - returns a job_id immediately. Model sizes: - tiny: ~75MB (fastest, least accurate) - base: ~150MB (good balance for most use cases) - small: ~500MB (better accuracy, recommended) - medium: ~1.5GB (high accuracy) - large-v3: ~3GB (best accuracy, slowest) Args: mode…

ParameterTypeDescription
model_sizestring

transport_play_stop

Toggle playback of the current project (play if stopped, stop if playing).

transport_pause

Pause playback.

transport_stop

Stop playback.

transport_rewind_start

Move the playback cursor to the start of the project.

transport_record

Start recording on a new track. Requires a working audio input device - if none is configured, this dispatches without error but recording won't actually engage. Use transport_stop to stop recording.

transport_get_play_position

Get the current playhead position, whether playback is active, and the current time selection (start/end).

transport_play_region

Select a time region and play it, starting from the region's beginning. Args: start: Start time in seconds end: End time in seconds (>= start)

ParameterTypeDescription
end *number
start *number