Skip to main content
Glama
Waveform MCP Server

Waveform MCP Server

by romanbelaire

Waveform MCP Server

Local, safety-first MCP server for inspecting saved Tracktion Waveform 13 edits. Version 0.1.0 detects Waveform, lists .tracktionedit files, validates paths, and reports saved tracks/plugins/tempo. It can also generate a native diagnostic macro, but never imports or runs it automatically.

It also includes a separate, deliberately constrained Tracktion Engine headless worker under native/. It is not a replacement for the Waveform application; it currently renders whole saved edits to new WAV files through Tracktion Engine.

Setup

npm install
npm run build

Configure the MCP client to run the built entry point from its local clone:

node <path-to-waveform-mcp>\dist\index.js

Optional environment variables:

  • WAVEFORM_PROJECT_ROOT — defaults to C:\Users\roman\Documents\waveform

  • WAVEFORM_EXECUTABLE — overrides automatic Waveform 13 executable discovery

  • WAVEFORM_MACRO_OUTPUT_ROOT — defaults to generated-macros in the current working directory

  • WAVEFORM_CHECKPOINT_ROOT — defaults to checkpoints in the current working directory

  • TRACKTION_ENGINE_SOURCE — defaults to tracktion_engine_source in this project

  • WAVEFORM_HEADLESS_WORKER — path to a built waveform-headless.exe

  • WAVEFORM_RENDER_OUTPUT_ROOT — defaults to headless-renders in this project; headless renders can only target a new .wav file there

Related MCP server: LiveSession MCP

Safety model

  • Only reads .tracktionedit files inside WAVEFORM_PROJECT_ROOT.

  • Does not launch, control, save, or alter Waveform.

  • Project snapshots reflect saved files only; unsaved Waveform changes are explicitly excluded.

Implemented tools

  • waveform_get_status

  • waveform_list_projects

  • waveform_validate_edit_path

  • waveform_get_project_snapshot

  • waveform_create_selection_diagnostic_macro

  • waveform_create_reset_mute_solo_macro — generates, but never runs, a documented mix-state reset macro

  • waveform_plan_track_gain — plan-only; it cannot apply the change yet

  • waveform_create_checkpoint — copies only an unchanged, revision-verified saved edit

  • waveform_headless_get_capabilities — reports whether the offline Tracktion Engine companion is buildable or ready; it never launches it

  • waveform_headless_inspect — loads a saved edit in Engine examining mode without plug-ins

  • waveform_headless_preflight_wav — validates a new WAV output and referenced system-VST3 plug-ins without rendering

  • waveform_headless_render_wav — explicit, revision-bound new-file-only render; requires confirm_output_write: true

Headless companion

The headless worker is a separate native process so it can contain audio-device and plug-in crashes without taking down the MCP server. It supports capability checks, inspection, VST3-aware preflight, and whole-edit new-file-only WAV rendering. Read the headless workflow and agent skill before operating or extending it.

To prepare a native build on Windows:

git -C tracktion_engine_source submodule update --init --recursive
# Install Visual Studio 2022 Build Tools: Desktop development with C++ + CMake/Ninja.
cmake -S native -B native/build -DTRACKTION_ENGINE_SOURCE="$PWD/tracktion_engine_source"
cmake --build native/build --config Release

For a render that matters, require an unchanged saved-edit revision, a checkpoint, a new output location under a configured render root, and a preflight that fails closed for missing or untrusted external plug-ins. Public Tracktion Engine is GPL/commercial licensed; review that licensing before distributing a compiled companion.

Batch mastering (local workflow)

For a set of already checkpointed projects, scripts/master-batch.ps1 runs a sequential, non-destructive delivery workflow using a local manifest:

  1. render each edit to a new 44.1 kHz / 24-bit WAV with the native Tracktion Engine worker;

  2. analyze the render and apply FFmpeg two-pass loudnorm targeting −14 LUFS integrated, −1.0 dBTP, and 11 LU LRA;

  3. encode a new 320 kbps CBR MP3; and

  4. verify the source edit’s SHA-256 against its recorded checkpoint revision.

Outputs are intentionally separate from source projects:

  • raw Waveform-engine renders: headless-renders/

  • mastered WAVs and MP3s: masters/

The batch creates missing outputs only; it does not overwrite files, save projects, or alter edits. It is an offline loudness/delivery pass, not an automated artistic mix decision or a claim of byte-for-byte Waveform parity. See the batch mastering runbook before running it.

Repository notes

This repository intentionally excludes local dependencies, Tracktion Engine source, compiled binaries, checkpoints, generated macros, and audio renders. A clone requires its own licensed/local Tracktion and plug-in setup, plus FFmpeg for MP3 delivery. Do not commit .tracktionedit source projects or rendered audio unless you have the rights and intend to distribute them.

License

MIT. See LICENSE.

Available Tools

12 tools
waveform_create_checkpointCreate a revision-verified Waveform checkpointA
Idempotent

Copies a saved .tracktionedit file to the local checkpoint directory only if it still matches an expected SHA-256 revision from a snapshot or mix plan. The source project is never modified or overwritten.

Inputs: edit_path (required), expected_revision (required), response_format.

waveform_create_reset_mute_solo_macroCreate Waveform reset mute/solo macroA
Idempotent

Creates a native Waveform macro that turns off mute, solo, and solo-isolate on all tracks in the active edit when the user later chooses to run it. This tool only creates the local macro file; it does not import or execute it.

Inputs: response_format.

waveform_create_selection_diagnostic_macroCreate Waveform selection diagnostic macroA
Idempotent

Creates a native Waveform .tracktionscript macro that only reports the names of currently selected tracks. It does not import, execute, or modify anything in Waveform; import is a separate user-controlled step.

Inputs: response_format.

waveform_get_project_snapshotGet saved edit snapshotA
Read-onlyIdempotent

Parses a saved .tracktionedit file and returns tracks, clips, plugins, tempo, and a content revision. It never reads unsaved live changes or modifies the edit.

Inputs: edit_path (required), response_format.

waveform_get_statusGet Waveform statusA
Read-onlyIdempotent

Reports whether the local Waveform 13 executable and project root are available. This does not launch or modify Waveform.

Inputs: response_format.

waveform_headless_get_capabilitiesGet headless companion capabilitiesA
Read-onlyIdempotent

Reports whether the local Tracktion Engine headless worker is built and which safety constraints apply. This is read-only and never launches the worker.

Inputs: response_format.

waveform_headless_inspectInspect a saved edit through Tracktion EngineA
Read-onlyIdempotent

Loads a saved .tracktionedit with Tracktion Engine in non-plugin examining mode and reports the Engine-visible duration. It does not modify the edit or instantiate plug-ins.

Inputs: edit_path (required), response_format.

waveform_headless_preflight_wavPreflight a new headless WAV renderA
Read-onlyIdempotent

Validates a whole-edit 44.1 kHz/24-bit WAV render through Tracktion Engine, including locally referenced VST3 registration. No audio output is written.

Inputs: edit_path (required), output_name (required), response_format.

waveform_headless_render_wavRender a new headless WAVA
Idempotent

Renders a whole saved edit to a new 44.1 kHz/24-bit WAV beneath the configured render-output root. It rechecks the supplied saved-edit revision immediately before launching the native worker, never overwrites, and requires explicit confirmation.

Inputs: edit_path (required), output_name (required), expected_revision (required), confirm_output_write (required), +1 more.

waveform_list_projectsList Waveform editsB
Read-onlyIdempotent

Lists saved .tracktionedit files below the configured Waveform project root. Results are paginated and read-only.

Inputs: limit, offset, response_format.

waveform_plan_track_gainPlan a Waveform track gain changeB
Read-onlyIdempotent

Builds a revision-bound, non-executing plan to set the gain of exactly one saved track. It does not modify the edit or Waveform. Apply support is deliberately withheld until the live macro/control bridge can verify the active edit and create a checkpoint.

Inputs: gain_db (required), edit_path (required), track_id, track_name, +1 more.

waveform_validate_edit_pathValidate Waveform edit pathA
Read-onlyIdempotent

Checks that an edit path exists, has the .tracktionedit extension, and is contained by the configured project root. Use before requesting a project snapshot.

Inputs: edit_path (required), response_format.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 12 tools

    Disambiguation4/5

    Most tools target distinct operations, and the descriptions clearly separate related pairs like preflight versus render and snapshot versus headless inspect. A few boundaries are subtle because multiple tools read the same saved edit, so an agent may need to read descriptions carefully to choose among them.

    Naming Consistency5/5

    All tools use a consistent waveform_ snake_case prefix followed by predictable verb-led names such as get_status, list_projects, validate_edit_path, create_*_macro, and plan_track_gain. The headless_ namespace is also applied consistently to the Tracktion Engine worker tools.

    Tool Count5/5

    Twelve tools is well within the appropriate range for a focused DAW automation/readiness server. Each tool appears to cover a distinct part of the workflow: status, discovery, validation, inspection, rendering, macro creation, planning, and checkpointing.

    Completeness3/5

    The surface covers a strong read-only and planning workflow, but it lacks several lifecycle operations: no way to import/execute generated macros, no apply for the track-gain plan, and no list/restore operation for checkpoints. Some of these omissions are explicitly deliberate, but they still leave notable dead ends for an agent trying to complete changes.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI clients to create, edit, validate, preview, and render Shotcut projects (saved as MLT XML) without operating the GUI, using structured timeline editing tools and local safety mechanisms.
      31
      MIT
    • A
      license
      C
      quality
      B
      maintenance
      Enables AI clients such as Claude to compose, arrange, sound-design and mix inside Ableton Live, with loudness/true-peak measurements from real bounces and reference matching. It also lets users summarise, lint, diff and export Live Sets offline while Live is closed, with every tool marked read-only or destructive and destructive batches run as a single undo step.
      148
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables MCP clients to inspect, validate, and convert local cryo-EM files, detect and correct gain-reference orientation and convention, and scan datasets with compact summaries and damaged-file diagnostics. Processing stays local, with read-only inspection and controlled file writing.
      BSD 3-Clause
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables local, natural-language inspection of Ableton Live project files, including BPM and track structure, plugin inventories, sample references, device chains, duplicate detection, and missing-sample or plugin audits.
      6
      MIT