
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 分