Audionaut

io.github.kvoltmer由 GitHub 帳號 kvoltmer 發布v0.5.0更新於 Nov 2, 2026

Edit Audionaut multitrack projects: cut, fade, analyse, export. Requires the Audionaut app.

概覽

AI 產生的概覽

讓助理檢視並編輯 Audionaut 多軌音訊專案:匯入、剪裁、淡入淡出、分析、自動剪輯、分離音軌與匯出。

可以做什麼
  • 檢視與建立專案:讀取速度、軌道、片段及其音訊檔案,或建立空白專案封裝
  • 匯入與匯出音訊:將檔案匯入為新軌道,離線算圖為 WAV、FLAC、AIFF、Ogg Vorbis 或 MP3
  • 分析與自動剪輯:執行分段、節拍與起音分析,依音樂結構切分片段並組出編排
  • 編輯時間軸:切分片段,建立、重新命名、重新裁切、放置與清理區域,移動或移除片段、軌道與聲道
  • 調整聲音:設定片段增益、淡入淡出與曲線、播放速度(變調或保持音高的時間伸縮)、軌道聲像
  • 分離鼓、貝斯、其他與人聲分軌,並向維護者送出功能請求或錯誤回報
適用情境
適合讓助理對 Audionaut 專案做重複或批次編輯,例如每隔若干小節切分、用區域拼出編排、批次加上淡入淡出與增益、算圖匯出,而不必在圖形介面中逐項操作。只有已在使用 Audionaut 應用程式時才有意義。
執行需求
必須安裝 Audionaut 應用程式(建議 1.6.3 或更新版本),本套件單獨使用沒有作用。npm 套件需 Node.js 18 或更新版本,以 stdio 在本機執行。若未自動找到,可用 AUDIONAUT_CLI 指向應用程式執行檔或 audionaut-cli。macOS 上受沙盒限制的應用程式只能存取 ~/Music,專案與音訊須放在其中。分軌功能需先在應用程式中下載一次 Demucs 模型。
安裝前請注意
這些工具會寫入專案:編輯片段、軌道、區域與聲道,並建立或覆寫專案檔與匯出檔。專案在應用程式中開啟時,編輯會進入使用者的復原記錄,儲存仍由使用者自行完成;否則會直接寫入專案檔。分軌僅用 CPU,可能耗時數分鐘。request_feature 與 report_bug 會把文字以 GitHub issue 送給維護者,經由中繼或 GitHub CLI,除非被停用;僅在使用者提供時才附上回報者姓名或電子郵件。可用 AUDIONAUT_DISABLE_ANALYTICS 關閉使用統計。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Audionaut,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

audionaut-mcp

An MCP server that lets AI agents (Claude Code, Claude Desktop, and any other MCP client) edit Audionaut projects: cut, move, fade, analyse, auto-edit and export. It is a thin wrapper: every tool runs one Audionaut command with --json and relays the result — no engine logic lives here.

Requires the Audionaut app (Mac App Store / GitHub Releases). On its own this package does nothing.

Quick start

You need Audionaut — 1.6.3 or later is recommended; 1.6.2 works on macOS and Linux — and Node.js 18 or later.

Claude Code:

claude mcp add audionaut -- npx -y audionaut-mcp

Claude Desktop (claude_desktop_config.json):

json
{  "mcpServers": {    "audionaut": {      "command": "npx",      "args": ["-y", "audionaut-mcp"]    }  }}

On Windows, if Claude Desktop cannot start npx, use "command": "cmd", "args": ["/c", "npx", "-y", "audionaut-mcp"].

Then ask for something like "split the clip in ~/Music/Audionaut/Demo Project.audium every 16 bars". Keep the project open in Audionaut to watch the edits arrive; each one is a single undo step.

On macOS, keep projects in your Music folder. Audionaut is sandboxed there (App Store and website download alike) and can only reach ~/Music: projects, audio to import and export targets all have to be inside it, for example in ~/Music/Audionaut. The server refuses other paths up front with sandbox_denied and a hint. Windows and Linux have no such limit.

To see which Audionaut the server found and whether it answers:

npx -y audionaut-mcp --check

The server looks for, in order: AUDIONAUT_CLI; a developer build of audionaut-cli (see the end of this page); audionaut-cli on PATH; the installed app — /Applications or ~/Applications (or wherever Spotlight finds it) on macOS, Program Files\Audionaut on Windows, audionaut from the .deb or an Audionaut*.AppImage in ~/Applications or ~/.local/bin on Linux. Anywhere else, point AUDIONAUT_CLI at the binary, e.g. your AppImage.

separate_stems needs the Demucs model, which you download once in the app (Settings ▸ Separation). The model weights are licensed for research use.

A stem split takes minutes for a full song, and exporting or analysing a long project can too. When your client sends a progressToken with the call, separate_stems, export_audio and analyze report progress (Audionaut 1.6.5 and later). A call is only stopped after ten minutes without any sign of life, not ten minutes in total.

Projects that are open in Audionaut

The tools do not need the user to save first, and they will not write over a document the user has open. When Audionaut is holding the project, the CLI hands the command to the app: it acts on the document as the user currently sees it, unsaved changes included, and the result lands in their undo history as one step instead of touching Project.json. Saving stays theirs to do.

With no app holding the project, the tools read and write the project file as they always have. If an app is holding one but cannot be reached, the command fails (host_unavailable) rather than falling back to the file, which would be missing whatever is unsaved.

Autosave.json and Host.json inside a package belong to the app — never read or edit them.

Tools

ToolWrapsPurpose
get_project_infoinfoTempo, tracks, clips, files (or the raw persistence JSON)
create_projectcreateNew empty .audium package
import_audioimportAdd audio files (creates a new track)
export_audioexportOffline render to WAV, FLAC, AIFF, Ogg Vorbis or MP3
analyzeanalyzeSegment, beat and onset analysis, cached next to the project
auto_editauto-editSegment a clip using cached analysis
assembleassembleBuild an arrangement from regions
splitsplitSplit clips at a timeline position (bars/beats/seconds/clocks)
create_regioncreate-regionCreate a named region from a timeline range
set_regionset-regionRename and/or retrim a region (affects all its clips)
remove_clipremove-clipRemove clip(s) from the timeline
move_clipmove-clipMove one clip to a new position and/or another track
place_clipplace-clipPlace an existing region on the timeline
cleanup_regionscleanup-regionsDelete every region no clip uses
clip_gainclip-gainSet a clip's gain (linear or dB, all channels or one)
clip_fadesclip-fadesSet a clip's fade lengths, offsets and curves
clip_speedclip-speedSet a clip's speed and mode (varispeed or pitch-preserving stretch), or lock it to the project tempo
remove_trackremove-trackRemove a whole track (channels, clips and regions)
remove_channelremove-channelRemove one channel from a track
track_pantrack-panPan a track's channel strips, -1 left to 1 right (all strips or one)
request_feature—Send a feature request to the maintainer (see below)
report_bug—Send a bug report to the maintainer (see below)
separate_stemsseparateSplit a clip into Drums/Bass/Other/Vocals tracks (Demucs; needs the downloaded model)

A typical agent flow: create_project → import_audio → analyze → auto_edit/assemble → export_audio. CLI errors come back as tool errors carrying the CLI's own code: message (e.g. demucs_unavailable: ... in builds without stem separation), so agents can react.

Feature requests and bug reports from agents

Agents run into the edges of what the tools expose, and into their bugs, long before a person would file an issue, so two tools give them a direct channel. request_feature takes a title, a description and (ideally) what the agent was trying to do and which tool fell short. report_bug takes the same plus steps to reproduce, the expected behaviour and the project shape; its description tells agents to quote the exact tool call and error text and never to attach audio. The server's instructions point agents at the right one whenever a task needs something the tools cannot do or a tool misbehaves, and tell them to say so to the user. A reporter name or e-mail is included only when the user offers one. Both become GitHub issues - enhancement + agent-request for features, bug + agent-report for bugs; the reply carries the issue URL and the feature-request discussion.

Transports, tried in order:

  1. Relay — the default: a deployment of Tools/feature-request-relay, a Cloudflare Worker that files the issue with its own GitHub token. This is the path for end users, who have no GitHub credentials on the agent side. AUDIONAUT_FEATURE_REQUEST_URL points at another deployment; an empty value skips the relay.
  2. GitHub CLI — when the relay is skipped and gh is installed and logged in, the issue is filed with gh issue create under the user's own account (developer machines).
  3. Nothing — otherwise the reply says sent: false and carries a prefilled new-issue URL for the user to open themselves.

AUDIONAUT_DISABLE_FEATURE_REQUESTS=1 skips the first two for both tools (test harnesses, air-gapped setups); the smoke test points the relay URL at a local stand-in.

Environment variables

VariableEffect
AUDIONAUT_CLIBinary that runs the commands: an Audionaut app or audionaut-cli
AUDIONAUT_SKIP_PATH_CHECK1 skips the ~/Music pre-check for the sandboxed macOS app
AUDIONAUT_DISABLE_ANALYTICS1 never sends usage analytics, whatever the app's consent setting
AUDIONAUT_FEATURE_REQUEST_URLIssue relay for request_feature/report_bug; empty skips it
AUDIONAUT_DISABLE_FEATURE_REQUESTS1 never files issues; replies carry a prefilled link instead

The server sets two variables for every Audionaut it runs, which the open app uses to group an agent's edits into undo steps: AUDIONAUT_AGENT_SESSION (one id per server process) and AUDIONAUT_AGENT_TASK (the editing tool's task parameter). Edits with the same session and task share one undo step in the user's app, and edits that name no task share one step per session; a user edit, an undo or ten idle minutes start a new one.

Developing: building the CLI from source

From a clone of the repo, the server prefers a CMake build of the standalone audionaut-cli, which is not sandboxed:

  1. Build the CLI (from the repo root):

    cmake -B build -S Audionaut/Catch2Testscmake --build build -j8 --target AudionautCli
  2. Install the server's dependencies:

    cd Tools/audionaut-mcp && npm install
  3. Register the checkout instead of the npm package. Claude Code:

    claude mcp add audionaut -- node /path/to/Audionaut/Tools/audionaut-mcp/index.js

    Claude Desktop: the JSON above with "command": "node" and "args": ["/path/to/Audionaut/Tools/audionaut-mcp/index.js"].

npm test drives the server through a real MCP client against whichever binary it finds (AUDIONAUT_CLI picks one). With the sandboxed macOS app it works in a scratch folder under ~/Music; AUDIONAUT_TEST_DIR overrides the location.

Paths in tool arguments are best given absolute — relative paths resolve against the server process's working directory, which depends on the MCP client.

來源:Tools/audionaut-mcp/README.md,提交 4121818

工具

23

get_project_info

Get project info

Summarizes an Audionaut project: tempo, tracks, clips with positions/durations and their audio files. Set raw=true for the full persistence JSON instead of the summary.

輸入參數rawproject必填

create_project

Create project

Creates a new empty Audionaut project (.audium package) with one track. Fails if the path already exists.

輸入參數project必填channels

import_audio

Import audio

Imports one or more audio files into the project at the given position and saves it. Note: importing creates a new track holding the files.

輸入參數taskfiles必填project必填position_seconds

export_audio

Export audio

Renders the project offline to an audio file (no audio device needed). The output's extension picks the format: .wav (8/16/24/32 bit), .flac (lossless and compressed, 16/24 bit, at most 8 channels per file), .aiff (8/16/24 bit), .ogg (Ogg Vorbis, lossy, at most 8 channels) or .mp3 (lossy, mono or stereo, at most 48 kHz). Lossy formats take bitrate_kbps instead of bit_depth. Pass region to bounce a single region instead - always dry, without any clip's gains or fades. Reports progress in 5% steps when the call carries a progressToken.

輸入參數trackoutput必填regionproject必填channelsbit_depthmulti_monosample_ratebitrate_kbpsstart_secondslength_seconds

analyze

Analyze audio

Runs audio analysis (segment boundaries, beats with BPM, onsets) on the project's audio files - or one standalone audio file - and caches the results next to the project for auto_edit/assemble to use. Reports progress as each file and type finishes when the call carries a progressToken.

輸入參數typestarget必填

auto_edit

Auto-edit clip

Segments a clip on a track using cached analysis results (run analyze first). Splits the clip into musically-aligned regions.

輸入參數cliptasktrackproject必填measuressegmentscrossfadesduration_seconds

assemble

Assemble arrangement

Builds an arrangement of the given duration from the project's regions, sequentially or at random (requires regions - e.g. from auto_edit).

輸入參數modeseedtasktrackproject必填crossfadesduration_seconds

split

Split clips

Splits the clip under the given timeline position into two on every track that has one there (the GUI's Split command). Fails with nothing_to_split when no clip spans the position.

輸入參數at必填taskunitproject必填

create_region

Create region

Creates a named region from a timeline range on every track whose clip fully contains it (the GUI's Create Region command). The arrangement itself is unchanged. The name must not be taken by another region (error name_taken).

輸入參數end必填name必填taskunitstart必填project必填

set_region

Edit region

Renames a region and/or retrims its source-relative range (clamped to the source audio). Clips have no length of their own, so a retrim affects every clip using the region.

輸入參數endtaskunitstarttracklengthregion必填renameproject必填

remove_clip

Remove clips

Removes the clip at a timeline position (one clip; ambiguity across tracks needs track), or every placement of a named region. delete_region also drops the region itself unless other clips use it.

輸入參數attaskunittrackregionproject必填delete_region

move_clip

Move clip

Moves one clip to a new timeline position and/or onto another track. Address it by position (at) or region name; the address must match exactly one clip. to_track takes a track id, or "new" to create a track for it; without to the clip keeps its position. Give at least one of to and to_track.

輸入參數attotaskunittrackregionproject必填to_track

place_clip

Place clip

Creates a new clip from an existing named region at a timeline position, on the track that owns the region (track only disambiguates same-named regions).

輸入參數at必填taskunittrackregion必填project必填

cleanup_regions

Delete unused regions

Deletes every region that has no clip on the timeline (the GUI's Delete Unused Regions). The audio files stay in the package.

輸入參數taskproject必填

clip_gain

Set clip gain

Sets the addressed clip's gain - linear by default, dB with db=true - on every destination channel, or one channel. The address (at or region) must match exactly one clip.

輸入參數atdbgain必填taskunittrackregionchannelproject必填

clip_speed

Set clip speed

Sets a clip's playback speed (ratio 0.25-4, 2.0 = double speed, half as long). The mode picks how: repitch (default, varispeed - pitch and length change together) or stretch (pitch-preserving time-stretch). Mode can also be changed on its own. lockTempo ties the clip to the project tempo (speed = project tempo / clip tempo, following tempo changes); the clip tempo is detected by beat tracking or given with `tempo`, which implies the lock.

輸入參數atmodetaskunitratiotempotracklengthregionproject必填lockTemposemitones

separate_stems

Separate stems

Splits a clip into Drums/Bass/Other/Vocals tracks with the Demucs (htdemucs) source separator, aligned with the source clip. Slow: minutes for a full song, CPU only; reports progress in 5% steps when the call carries a progressToken. Needs the model weights, which the Audionaut app downloads once (Settings > Separation); fails with model_missing until then, and with demucs_unavailable in builds without Demucs.

輸入參數cliptasktrackproject必填threadsmute_source

clip_fades

Set clip fades

Sets the addressed clip's fade ramps and curve exponents (0.1-4, 0.5 = equal power). All four fade values are in `unit` (default bars) and 0 clears one. Each ramp has two edges measured inward from the clip edge: the fade-in runs from fade_in_start to fade_in after the clip start, the fade-out from fade_out to fade_out_end before the clip end, so a ramp lasts fade_in - fade_in_start (or fade_out - fade_out_end). A negative offset puts that edge outside the clip, playing source audio beyond it - e.g. fade_out 0.25 with fade_out_end -0.25 (seconds) is a 0.5 s ramp centred on the clip end, the outgoing half of a crossfade. Values are clamped against each other within the clip. The address must match exactly one clip.

輸入參數attaskunittrackregionfade_inproject必填fade_outfade_out_endfade_in_curvefade_in_startfade_out_curve

remove_track

Remove track

Removes a whole track from the project, including its channels, clips and regions. Track ids are positions in the track list, so the ids of the tracks below shift up by one. The audio files stay in the package.

輸入參數tasktrack必填project必填

remove_channel

Remove channel

Removes one channel (0-based) from a track, like deleting a channel strip in the GUI. Channel mappings and per-channel clip gains shift down; the audio files stay in the package.

輸入參數tasktrack必填channel必填project必填

track_pan

Pan a track

Sets the pan position of a track's channel strips, -1 (hard left) to 1 (hard right), 0 centred - the pan slider of the channel view. Every strip of the track by default, one with channel. A mono stem has one strip; a stereo import's two strips start at -1 and 1. Playback and export_audio both follow it; get_project_info shows the current pans per track.

輸入參數pan必填tasktrack必填channelproject必填

request_feature

Request a feature

Sends a feature request to the Audionaut maintainer as a GitHub issue. Use it when a task needs something the other tools cannot do: a missing verb or option, a limit that got in the way, or a workflow that took a clumsy workaround. Say what the user was trying to achieve and why the current tools fall short - that context is what makes the request actionable. Tell the user you are sending it; include their name or e-mail only if they offered it. If nothing could be sent, the reply carries a prefilled issue link to hand to the user.

輸入參數title必填contextreporterdescription必填

report_bug

Report a bug

Reports a bug in Audionaut to the maintainer as a GitHub issue. Use it when a tool misbehaves: an error that should not happen, a wrong or inconsistent result, a crash, or a project left in a bad state. Quote the exact tool call and error text - the CLI's code and message - and say what you expected instead; that is what makes the report reproducible. Never include the audio itself, and keep file paths to what is needed. Tell the user you are sending it; include their name or e-mail only if they offered it. If nothing could be sent, the reply carries a prefilled issue link to hand to the user.

輸入參數stepstitle必填contextexpectedreporterdescription必填

版本歷史

5
  1. v0.5.0最新Oct 26, 2026
  2. v0.4.1Oct 21, 2026
  3. v0.4.0Oct 14, 2026
  4. v0.3.0Oct 2, 2026
  5. v0.2.0Sep 29, 2026

評分

已滿足適用檢查項的 80%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分
  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。