
NUX MG-30
io.github.voronkovd由 GitHub 账号 voronkovd 发布v0.1.1更新于 Oct 24, 2026
Control a NUX MG-30 guitar processor over USB MIDI: amps, effects, knobs and presets.
概览
通过 USB MIDI 控制 NUX MG-30 吉他综合效果器,让助手选择音箱与效果、调节旋钮并保存或备份预设。
- 可以做什么
- 连接并列出 MIDI 端口,读取当前编辑缓冲区的预设、模型、开关与旋钮状态
- 在信号链各模块(哇音、压缩、效果、音箱、均衡、噪声门、调制、延迟、混响、箱体)中选择模型并开关模块
- 按名称或序号设置旋钮,并从 JSON 文件一次性套用多模块音色补丁
- 列出并解析 128 个已存预设、切换预设、把编辑缓冲区保存到槽位或重命名预设
- 备份全部预设、查看备份列表、恢复单个预设,以及保存和加载补丁文件
- 适用场景
- 适合把 NUX MG-30 接在电脑上、希望用对话方式搭建和微调音色而不必手动拧旋钮的人,也适合用 JSON 文件备份和整理预设。
- 运行要求
- 需运行在连接 MG-30 的电脑上,因为要直接访问 USB MIDI 端口。需要 Python 3.10+ 和 MCP 客户端,可通过 uvx、pipx 或 pip 安装。可选配置项:MG30_PORT、MG30_CHANNEL、MG30_DATA_DIR、MG30_DEVICE_MAP、MG30_DEBUG_TOOLS。仅在 macOS 上开发测试,Linux 与 Windows 未经验证。
安装
在 SourceWeft 中
- 打开 控制台中的 NUX MG-30,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
nux-mg30-mcp
An MCP server that lets an AI assistant (Claude Desktop or any other MCP client) control a NUX MG-30 guitar processor over USB MIDI.
Describe the sound you want in plain words ("tight Children of Bodom rhythm tone", "less fizz, more mids on the lead"), and the assistant picks models, turns knobs, saves and names presets on the unit.
Unofficial project. It is not affiliated with or endorsed by NUX / Cherub Technology. The preset protocol was reverse-engineered on firmware 5.0.2, and other firmware versions may differ. Writing presets overwrites slots on your device, so run
backup_presetsfirst.
What it can do
- Live editing: select a model in any block (35 amps, 24 cabs/IRs, 15 drives, 14 modulations, 8 delays, 6 reverbs, …), switch blocks on and off, set knobs by name (
gain,middle,1.2k,subd, …). - Read presets: list all 128 presets with names and amps, decode any preset (name, signal chain, models, knob values), and read the edit buffer including unsaved edits.
- Write presets: save the edit buffer to any slot with a name, rename presets, and back up or restore presets to and from JSON files. Every write is verified by reading it back.
- Tone recipes: apply a whole tone from a JSON patch file. Examples are in
examples/patches.
Requirements
- A NUX MG-30 connected over USB. The device shows up as a class-compliant MIDI port.
- Python 3.10+.
- An MCP client, for example Claude Desktop.
The server has to run on the computer the MG-30 is plugged into, because it needs direct access to the USB MIDI port. Development and testing were done on macOS; Linux and Windows should work through python-rtmidi, but they are untested.
Installation
The easiest way is uv: uvx downloads and runs the server, no manual setup needed.
Claude Desktop
Open Settings → Developer → Edit Config and add:
Restart Claude Desktop completely. The tools show up under the nux-mg30 server. If Claude cannot find uvx, use its absolute path (which uvx, typically ~/.local/bin/uvx).
Alternatively, install it with pipx install nux-mg30-mcp or pip install nux-mg30-mcp and use "command": "nux-mg30-mcp".
From source
Then use "command": "/absolute/path/to/nux-mg30-mcp/.venv/bin/nux-mg30-mcp" in the client config.
Optional check without any AI client: lower your volume, then run python scripts/midi_check.py. The script mutes the AMP block for 1.5 seconds and restores it.
Configuration
Put these under "env" in the MCP client config.
First steps
- Ask the assistant to back up all presets (
backup_presets). - Ask it to list presets to see what is where.
- Pick a free or unimportant slot and describe a sound. For example: "Switch to 12C and build a Death 'Sound of Perseverance' rhythm tone, then save it as 'Chuck Rhythm'."
Tools
Blocks are wah, comp, efx, amp, eq, ng (gate), mod, dly, rvb, ir (cab) and sendreturn. Common aliases such as delay, reverb, cab and gate also work. Model and knob names are listed in device_map.json.
Patch format
Selecting a model resets that block's knobs to the model defaults, so set knobs after the model (apply_patch does this in the right order). The files in examples/patches are starting points recreated by ear from recordings. They are not official artist presets.
Limitations
- The device does not report knob changes you make with its own controls. The server re-reads the edit buffer when it needs the current state.
- The signal-chain order cannot be changed through MIDI yet. To get a different chain, start from a preset that already has it (for example, the factory acoustic presets put the IR before the amp).
- Parts of the preset format are still unknown: parts 1–2 of each preset, and the data after the name (probably footswitch and expression assignments). These are preserved untouched when writing.
- Unverified: wah pedal position (CC11), send/return knobs, patch volume, CC79.
- The MG-30 drops MIDI messages sent faster than about 40 ms apart, so the server throttles itself.
How it works
Everything is documented in docs/PROTOCOL.md: the CC map, the SysEx read/write/commit commands, and the 7-bit slot layout of the preset data. Findings for other firmware versions or other NUX units are very welcome.
Development
The tests run against a fake device and a real preset dump, so no hardware is needed. With MG30_DEBUG_TOOLS=1 the server also exposes debug_monitor (record incoming MIDI), debug_sysex_query, debug_send_cc, debug_send_sysex and debug_probe_cc (find which bits of the preset a CC changes). These tools were used to reverse-engineer the format.
License
MIT, see LICENSE.
NUX, MG-30 and QuickTone are trademarks of their respective owners. Model names used by the device, such as amp and pedal names, refer to the products they emulate and are used here only to identify the models.
来源:README.md,提交 f232231
工具
0版本历史
1- v0.1.1最新Oct 1, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分