MCP Audio Studio
io.github.mario-andreschak由 GitHub 账号 mario-andreschak 发布v0.2.2更新于 Oct 24, 2026
A digital audio workstation MCP App with sequencing, mixing, effects, automation, and rendering.
概览
一个本地 MCP 服务器兼 MCP App,为助手提供数字音频工作站,可编曲、混音、加效果、做自动化并渲染 WAV。
- 可以做什么
- 打开和管理工作室项目:渲染工作室界面,读取、新建、替换、导入和导出项目,切换传输模式。编辑轨道与音符:增删改乐器或音频轨道,设置通道机架的步进。放置和调整音频片段,包括导入的 WAV 文件。混音与处理:设置音量、声像、发送和均衡器,增删改效果与插件槽。自动化参数并离线渲染 16 位立体声 WAV 音频,再取回最近的渲染结果。
- 适用场景
- 适合让助手搭建或修改音乐项目、调整混音、添加效果或自动化,并输出渲染好的 WAV 文件,同时在交互式工作室界面中看到同一个项目。
- 运行要求
- 在本地以 stdio(或 HTTP/HTTPS)运行。通过 npx 使用 npm 包需 Node.js 18 或更高版本,也可下载 Windows、macOS 或 Linux 的独立可执行文件。可选 MCP_AUDIO_STUDIO_DATA 指定用于持久化的 JSON 文件,不设置则项目仅保存在内存中。可选 MCP_AUDIO_STUDIO_TLS_CERT 和 MCP_AUDIO_STUDIO_TLS_KEY 提供受信任的 HTTPS 证书。
安装
在 SourceWeft 中
- 打开 控制台中的 MCP Audio Studio,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
MCP Audio Studio
An interactive digital audio workstation delivered as an MCP server and MCP App. It combines an FL-style channel rack, piano roll, playlist, mixer, effects, automation, plugin slots, audio-file tracks, microphone recording, and offline WAV rendering in one package.
[MCP Audio Studio channel rack]
The model and the person use the same authoritative project. Every UI action calls an MCP tool; every model-side edit becomes visible in an open studio through revision polling.
What works
- Tempo, time signature, swing, metronome, loop, play/stop, and microphone record controls.
- Instrument and audio tracks with a 16-step channel rack and chromatic piano roll.
- Audio file import, clip placement, gain/trim metadata, and browser playback.
- Per-channel and master volume, pan, mute, solo, sends, and animated meters.
- Four-band equalizer and filter, delay, reverb, distortion, compressor, chorus, and limiter slots.
- Playback and render automation for master/track mixing, EQ, sends, built-in effects, instrument parameters, and numeric plugin parameters, with linear, hold, and smooth control points.
- Built-in DSP slots, browser-safe Web Audio Module (WAM) slots, and VST3 control/state slots.
- Pure-JavaScript stereo WAV rendering, returned as playable MCP audio content.
- Project persistence, import, and export.
- stdio, Streamable HTTP, and HTTPS transports.
- Standalone browser mode at the HTTP/HTTPS server root.
Run it
npm via npx (recommended)
The package is published on npm. With Node.js 18 or newer, run it without installing or cloning the repository:
The HTTP studio opens at http://127.0.0.1:3100/; the MCP endpoint is http://127.0.0.1:3100/mcp.
One standalone executable
Download the executable for Windows, macOS, or Linux from GitHub Releases. It contains the server, MCP App, runtime, and JavaScript dependencies.
Without configured certificates, HTTPS mode creates an ephemeral self-signed localhost certificate. For a trusted certificate, set MCP_AUDIO_STUDIO_TLS_CERT and MCP_AUDIO_STUDIO_TLS_KEY.
From source
For local development from a checked-out repository:
MCP client configuration
Use the npm package in an MCP client without a separate installation:
For a checked-out repository instead:
For a downloaded executable, replace command with its absolute path and use ["--stdio"] for args.
Call studio_ui to render the studio. The tool declares _meta.ui.resourceUri = "ui://audio-studio/studio-v1.html", and the resource uses the portable text/html;profile=mcp-app MIME type and MCP Apps bridge.
MCP tools
All data tools work without a UI and return model-readable text plus structured content. studio_ui is the dedicated render tool, avoiding unnecessary iframe remounts.
VST3 and WAM support
MCP Apps run in a sandboxed browser iframe, which cannot load native .dll, .so, or .vst3 binaries. This release therefore provides:
- WAM URL slots for browser-safe plugin modules.
- VST3 slots with paths, enable/bypass, parameters, opaque state, and automation targets.
- A stable project/tool representation intended for a future native plugin-host bridge.
The bundled Web Audio and offline render engines process built-in instruments/effects. Native VST3 DSP is not executed in this release; representing it otherwise would be unsafe and technically inaccurate. A native bridge should isolate each plugin in its own process and use licensed VST3 hosting APIs.
Persistence and audio files
Pass --data ./studio-project.json or set MCP_AUDIO_STUDIO_DATA to persist every revision. Imported audio is stored as a data URL inside the project. Browser imports and microphone recordings are normalized to PCM WAV so browser playback and offline rendering use the same asset; direct MCP imports should provide PCM/float WAV data. Offline rendering always emits 16-bit stereo WAV.
Recent renders are kept in memory (up to eight) and are accessible with get_render or, in web mode, GET /renders/:id.
Development
npm run build produces a single ./dist/index.js with the entire minified React MCP App embedded as a string. Tests use the official MCP SDK’s linked in-memory transport to verify tool and UI resource discovery.
Publishing to npm
To publish the current version:
The release command signs in through npm when necessary, runs the complete check suite, publishes the package publicly, and confirms that npm serves the version. It is safe to rerun: if that exact version is already published, it verifies the project and skips the duplicate publish.
Run npm run release:check to validate the release helper without publishing.
Security
- The web server disables identifying headers and uses a 64 MB JSON limit for embedded audio.
- MCP App permissions request microphone and clipboard-write; hosts may deny either capability.
- The app declares inline, fullscreen, and picture-in-picture (
pip) display-mode support; the host chooses which declared modes are available. - Remote WAM and audio URLs are represented in project state but are not allowed by the embedded MCP App CSP in this release.
- VST3 paths are metadata only and are never executed.
See SECURITY.md for reporting vulnerabilities.
License
MIT
来源:README.md,提交 594cbb9
工具
0版本历史
1- v0.2.2最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分