Gizmos Audacity

io.github.gizmos-quest由 GitHub 账号 gizmos-quest 发布v0.1.0更新于 Oct 24, 2026

Safe local audio editing, analysis and production in Audacity 3.7 through mod-script-pipe.

已验证STDIO仅桌面开发者工具媒体与设计

概览

AI 生成的概览

本地 MCP 服务器,让助手通过 mod-script-pipe 在运行中的 Audacity 3.7 里编辑、处理、标注、导出和测量音频。

可以做什么
  • 启动、查看并控制 Audacity 会话:状态、项目信息、窗口、对话框、恢复、退出。
  • 导入音频,选择、编辑轨道与片段,应用淡入淡出与包络,导出混音和项目。
  • 生成音频、应用效果、采集噪声样本、运行清理流水线、自动闪避、宏与批处理。
  • 创建和读取标签、导出标签区间、写入标签文件。
  • 测量峰值/RMS 及可选的 LUFS 或真峰值,比较文件,检查静音与对比度,读取文件元数据,查看历史与偏好设置。
适用场景
适合希望助手在本机真实 Audacity 项目中动手的场景:导入录音、执行降噪或效果链、添加章节标签、导出混音,以及交付前检查响度。
运行要求
通过 npx 以 stdio 在本机运行,仅限桌面端。需要 Node.js 24.21 或更高版本,且与 Audacity 以同一用户运行;需要英文版 Audacity 3.7.x(3.7.8 为参考版本,3.7.9 已验证)并启用 mod-script-pipe,不支持 Audacity 4。LUFS、真峰值、其他格式与元数据需可选的 ffmpeg/ffprobe。可选环境变量 AUDACITY_EXE、AUDACITY_CONFIG、AUDACITY_FFMPEG、AUDACITY_FFPROBE 用于指定路径。
安装前请注意
脚本化效果不会生成单独的撤销记录,且会拒绝已存在的项目保存路径,因此破坏性处理前请另存新的 .aup3 备份。超时后编辑可能已完成或仍在运行。mod-script-pipe 信任以你的用户身份运行的本地进程,请只保留一个控制方。效果可能耗时十分钟,需调长客户端工具超时。服务器不会下载运行时或模型,也不会结束 Audacity 进程。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Gizmos Audacity,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Gizmos Audacity MCP

Local MCP tools for editing, processing and measuring audio in Audacity.

[Node 24.21+] [MIT]

45 typed tools · Audacity 3.7.x · Node 24.21+ · stdio

Import audio, edit tracks and clips, apply effects, write labels, export mixes, and measure peak/RMS or optional LUFS/true peak. Audacity does the processing. Windows supports hidden windows and native dialog recovery. macOS/Linux support the scripting FIFOs; their native window lifecycle is not qualified.

Requirements

  • English Audacity 3.7.x with mod-script-pipe enabled: 3.7.8 is the reference build (bundled catalogue, parameter limits, source audit) and 3.7.9 is verified; other patch levels are refused until verified. On Windows, install and pin it: winget install --id Audacity.Audacity -e --version 3.7.8, then winget pin add --id Audacity.Audacity -e --version 3.7.8.
  • Audacity 4 is not supported: 4.0 removed the scripting interface (mod-script-pipe). Support would be reconsidered only if Audacity ships a scripting host with full control.
  • Node.js 24.21 or newer, running as the same user as Audacity.
  • Optional ffmpeg/ffprobe for LUFS, LRA, true peak, other file formats and metadata. Native PCM/float WAV measurement needs neither.

Quick start

The npm package is @gizmos-quest/audacity-mcp. For a source checkout, run npm ci, then npm run build; use node dist/main.js as the server command.

  1. Install Audacity 3.7.8. Enable mod-script-pipe in Preferences → Modules, choose English in Preferences → Interface, and turn off Preferences → Application → Check for updates (update notices are modal and block scripting until closed). Restart Audacity.

  2. Check setup:

    sh
    npx -y @gizmos-quest/audacity-mcp doctor

    With Audacity stopped, doctor --fix can enable the scripting module. It saves a config backup first. Setup and configuration.

  3. Add the local server to your client using a snippet below, then restart the client if it requires that. Keep one server in control of the shared pipe.

Clients

Claude Code

sh
claude mcp add --scope user --transport stdio audacity -- npx -y @gizmos-quest/audacity-mcp

Claude Desktop / Cursor — add this to the client's MCP configuration:

json
{  "mcpServers": {    "audacity": {      "command": "npx",      "args": ["-y", "@gizmos-quest/audacity-mcp"]    }  }}

VS Code — .vscode/mcp.json:

json
{  "servers": {    "audacity": {      "type": "stdio",      "command": "npx",      "args": ["-y", "@gizmos-quest/audacity-mcp"]    }  }}

Codex — ~/.codex/config.toml:

toml
[mcp_servers.audacity]command = "npx"args = ["-y", "@gizmos-quest/audacity-mcp"]startup_timeout_sec = 90tool_timeout_sec = 900

Effects can take ten minutes; allow a longer client tool timeout. See client setup for official references and Windows command resolution. Troubleshooting covers missing pipes and localized plugin IDs.

First prompt

Check Audacity's status and launch it if stopped. Import my voice recording as Voice. Measure it, then show a dry-run voice cleanup plan without normalization or noise reduction. Ask before applying it and save a project backup first.

A pipeline preview takes a named or zero-based track reference:

json
{"track":"Voice","preset":"voice","dryRun":true,"loudness":"none"}

Try the reproducible voice-over example: generated audio, reviewed cleanup, a ducked bed, chapters/subtitles and measured delivery. Its opt-in runner drives the built server over stdio against live Audacity.

Tools

GroupTools
Session and discoverylaunch, fresh, quit, window, dialogs, recover, status, project_info, info, describe
Edit and mixselect, import, export, project, track_set, track_edit, clip_move, clip_set, edit, fade, envelope_set
Processgenerate, effect, noise_profile, pipeline, auto_duck, command, menu, macros, batch
Labelslabels_set, labels, labels_file, label_regions_export
Measure and controlmeasure, measure_file, compare_files, loudness_target, silence, contrast, probe_file, targets, transport, history, preferences

Every name starts with audacity_. Tool reference includes arguments and units; the capability matrix lists limits.

Safety

  • Save a new .aup3 backup before destructive processing. Scripted effects do not create individual undo entries. Existing project save paths are refused.
  • Strict inputs and a reviewed catalogue block known modal commands. Hidden Audacity still runs its UI and audio engine; it has no native headless mode.
  • A timeout can leave an edit completed or still running. Inspect dialogs, use explicit recovery, then inspect the project before deciding what to do.
  • Noise reduction requires fresh process state and an explicit room-tone capture; normalization, limiting and timing changes stay explicit.
  • mod-script-pipe trusts local processes running as your user. Use one controller. The server never downloads runtimes/models or kills Audacity.

Native safety limits · Effect requirements · Testing · Architecture · Contributing · Security

MIT licensed. Research and source attribution are in NOTICE.md. Audacity is a trademark of Muse Group; this project is unaffiliated.

来源:README.md,提交 2699244

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.0最新Oct 11, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分