NUX MG-30

v0.1.1
io.github.voronkovd/nux-mg30-mcp Checked 2 days ago Published 2 months ago

Control a NUX MG-30 guitar processor over USB MIDI: amps, effects, knobs and presets.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_midi_ports

List MIDI output ports on this computer (to find the MG-30).

connect

Connect to the MG-30. port_hint: substring of the port name (empty = auto-detect).

ParameterTypeDescription
port_hintstring

device_state

Current preset number plus models, on/off state and knob values of the edit buffer (read from the device, including unsaved edits).

set_model

Select a model in a block by name (e.g. amp "Vivo", efx "T Scream", ir "V412") or number. Blocks: wah, comp, efx, amp, eq, ng, mod, dly, rvb, ir, sendreturn. Selecting a model resets that block's knobs to the model defaults.

ParameterTypeDescription
block *string
model *
onboolean

set_block

Turn a block on or off, keeping its current model.

ParameterTypeDescription
block *string
on *boolean

set_knob

Set a knob of a block. knob: label for the current model (e.g. "gain", "middle", "1.2k") or 1-based index in screen order. value: 0..100 (selectors such as SubD use small integers).

ParameterTypeDescription
block *string
knob *
value *number

apply_patch

Apply several settings at once. Format: {"blocks": {"amp": {"model": "Vivo", "on": true, "knobs": {"gain": 60, "middle": 65}}, "dly": {"on": false}}} Order per block: model, then on/off, then knobs. Blocks not listed are untouched.

ParameterTypeDescription
patch *object

select_preset

Switch preset, by device label ('07A', '12C') or Program Change number 0..127.

ParameterTypeDescription
preset *

list_presets

List stored presets: slot, name and amp model.

ParameterTypeDescription
firstinteger
lastinteger

preset_info

Decode a preset: name, signal chain, models, on/off and knob values. preset: 'current' (edit buffer incl. unsaved edits) or a slot ('07A' / 0..127).

ParameterTypeDescription
preset

save_preset

Save the CURRENT edit buffer (with all unsaved edits) into a slot, optionally renaming it. OVERWRITES the target slot - confirm with the user before writing over an existing preset. Verified by reading the slot back.

ParameterTypeDescription
preset *
namestring

rename_preset

Rename a stored preset (1..16 ASCII characters) without changing anything else. Note: if it is the current preset, the edit buffer is reloaded and unsaved edits are lost.

ParameterTypeDescription
name *string
preset *

backup_presets

Back up all 128 stored presets to a JSON file in the data directory.

ParameterTypeDescription
labelstring

list_backups

List backup files in the data directory.

restore_preset

Write one preset from a backup file back to the device. backup_file: file name from list_backups; source: slot in the backup ('07A'); target: slot to write to (default: same as source). OVERWRITES the target slot.

ParameterTypeDescription
backup_file *string
source *string
targetstring

save_patch_file

Store a patch (apply_patch format) as a JSON file in the data directory.

ParameterTypeDescription
name *string
patch *object

list_patch_files

List stored patch files.

load_patch_file

Load a patch (a name from list_patch_files or a path to a .json file) and, by default, apply it.

ParameterTypeDescription
name *string
applyboolean