Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CUBASE_MCP_CONFIGNoPath to the MCP configuration used when launching `dist/src/server.js`; other machines start the server with their own Node path and this variable. The virtual MIDI port names are fixed (`CubaseAI MCP To Cubase` / `CubaseAI MCP From Cubase`) and are not configurable.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Cubase AI 16 runs as an owned background instance; nothing here opens, focuses or operates a window. Start with cubase_runtime_status, then cubase_project_create or cubase_project_open; both return the session that every other tool needs (cubase_status returns the current one). To write music: cubase_tempo_set, cubase_transport_set (signature), then cubase_midi_import with a song in quarter-note beats; cubase_midi_read returns what Cubase holds. cubase_channels_list shows the tracks; cubase_channel_set renames, selects, mutes and sets volume or pan; cubase_track_edit duplicates, moves, clears or removes a track; cubase_command_execute runs one allowlisted command (see cubase_commands_list) on the current selection and cursor; cubase_transport_action plays and stops; cubase_project_save stores the project. Object IDs and parameter tags are valid for one session only: copy them from the latest listing. A receipt with execution "submitted" means the host accepted the request, not that the change happened: read the state back. Never repeat a submitted or timed-out operation automatically. If cubase_runtime_windows reports an unexpected window, replace the instance; no tool can answer a host prompt. cubase://constraints lists what is not supported.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
cubase_statusB

Handshake with the live Cubase 16 bridge. Returns the current session and observed capabilities, never simulated state.

cubase_host_infoB

Read the actual host application name, version and edition-dependent slot/channel limits. Unavailable fields are null with explicit errors.

cubase_objects_listB

Discover actual host objects. Omit parentId for the root. IDs are valid only for this session and root. Pagination is explicit.

cubase_object_getA

Inspect an object already returned by discovery; unobserved or stale IDs are rejected.

cubase_mixer_channel_infoB

Read host-reported visibility, mixer index and zone for a previously discovered channel object.

cubase_parameters_listC

Discover actual parameter tags, values, units and edit locks for an observed object.

cubase_parameter_getA

Read one previously discovered parameter and its current value, display, default, type and edit-lock state. Rejects stale object IDs and tags.

cubase_parameter_setB

Write a discovered parameter using exactly the requested representation. expectedValue compares the current native process value. Re-read to verify an asynchronous host change.

cubase_parameter_edit_lock_setB

Submit an edit-lock change for an observed parameter. expectedLocked must match the current host lock state; re-read the parameter to verify the outcome.

cubase_plugins_listB

List plugins offered by the active host for a discovered plugin slot, without opening plugin windows.

cubase_plugin_setA

Load or replace a plug-in by a UID discovered for this slot. The host discard prompt is suppressed. No plug-in window is opened. Use cubase_plugin_unload to clear a discovered occupied slot. Requires explicit confirmation.

cubase_controls_listB

Page declared controls and groups independently. Follow nextOffset and nextGroupOffset until null; unknown values remain unknown until host feedback arrives.

cubase_control_getB

Read one declared control, its availability, read-only status and last host feedback.

cubase_control_setA

Set one declared background control by key; value is normalized 0..1. The control must belong to the active mapping page (see cubase_pages_list; mixer.* keys need the mixer page). Bank channel writes require a previously observed expectedChannelUniqueId. Plug-in bank and insert-viewer writes require the exact pluginIdentity from cubase_control_get and the current channel identity. Optionally guard a track control using both its unique and runtime IDs. Buttons may be momentary. settleMs waits for host feedback and reports confirmation.state; without it the receipt is submission only. Does not open or focus a window.

cubase_tempo_setB

Submit a tempo in BPM through the native transport API. The host determines its supported range; inspect the observed tempo before assuming completion.

cubase_transport_getC

Read observed tempo and locator callbacks and available tempo/time setter features. Values not yet observed are null.

cubase_locator_setA

Set the playhead or one cycle locator in the selected primary/secondary time-display format. Supply a Cubase time string in that existing format; does not change the display or open a dialog.

cubase_commands_listA

Page the fixed key-command allowlist with live canPerform state. Filter by group (edit, track, transport, marker, midi, audio, nudge, navigate, automation, mixer, project). This is a fixed table, not the complete Cubase menu; nothing outside it can run.

cubase_command_getA

Read one allowlisted command: its Cubase category/name, context note, live canPerform state and how many binding events the host has reported for it in this session.

cubase_command_executeA

Execute one allowlisted key command once on the main mapping page, only when canPerform succeeds. settleMs waits for the host binding event and returns bindingObserved; that confirms the trigger reached Cubase, not the resulting project change, which must be read back (objects, parameters, files). project.save uses one prepared MIDI input on its internal Save mapping page and returns a new session. Commands act on the current Cubase selection and cursor; no window is opened or focused by this server.

cubase_pages_listA

List the mapping pages of the bridge (main, mixer), which one is active and the activation feedback counters. surfaceInput "stalled" means the page did not finish activating and its bindings cannot write.

cubase_page_activateA

Activate the main or mixer mapping page. The reply carries a NEW session; discover objects and controls again. Only mixer.* controls live on the mixer page; everything else needs the main page.

cubase_channels_listB

Overview of the mixer channels of the active project in project order: type (AudioChannel, MidiChannel, Synth, OutputChannel, ...), title, uniqueIdString and the fields name, volume, pan, mute, solo, selected, monitor, recordEnable, automationRead/Write, midiChannel, input, output and freeze with their current value and display text. Each field also names the objectId and tag that carry it, admitted for cubase_parameter_set. Tracks without a mixer channel (marker, chord, video, folder, ruler) are not listed. Object IDs are valid for this session only.

cubase_channel_setA

Write one field of a channel returned by cubase_channels_list. name takes text; mute, solo, selected, monitor, recordEnable, automationRead and automationWrite take a boolean; volume and pan take a normalized number 0..1 (pan 0.5 is centre) or the host display text (for example "-6" dB). selected=true selects that channel exclusively. The receipt carries the value read immediately before and after; list the channels again to confirm an asynchronous change.

cubase_transport_stateA

Read the transport of the active project: playing, stopped, recording, cycle, punch in/out, metronome, precount, cursor position in both time displays, cycle locators, time signature and the last observed tempo. Values are read from the host at call time; tempo is null until the host has reported it.

cubase_transport_setB

Write one transport field: signature takes "numerator/denominator" (for example "3/4") and changes the time signature at the project start; cycle, metronome, precount, punchIn and punchOut take a boolean. The receipt carries the transport state before and after.

cubase_selected_trackB

Read the current selected channel runtime ID and unique ID directly from Cubase. Use them to guard track controls and navigation.

cubase_track_navigateB

Select the previous or next track using the native MIDI Remote action. Requires the selected channel uniqueId and optionally its runtimeId; returns submitted, not verified completion.

cubase_transport_actionA

Trigger one transport action once: start, stop, returnToZero, gotoEnd, gotoNextMarker, gotoPrevMarker, stepBar or stepBackBar. settleMs later the transport is read again and returned as "after"; compare it with "before" to confirm the effect. Playback runs in the owned background instance; nothing is focused.

cubase_track_editA

Edit one track through its mixer channel from cubase_channels_list: duplicate, moveUp, moveDown, moveFirst, moveLast, clearEvents (delete every event on the track) or remove. The tool first selects exactly that channel and confirms the selection, then runs the fixed command sequence once; remove deletes the track events first because Cubase asks for confirmation before removing a track with content. The result lists the channels before and after, what was added or removed, each command step with its host binding event, and any unexpected window on the private desktop. Object IDs change after an edit: list the channels again.

cubase_midi_importA

Add MIDI data to the managed project as new tracks: this is how MIDI tracks with notes are created. Supply either song (tracks with notes in quarter-note beats: pitch 0-127, start, duration, velocity; optional channel 0-15, GM program, controller and pitch-bend events; channel 9 is the GM drum channel) or midiPath (an existing local .mid file). The data is written as a Standard MIDI File and imported once through the MIDI file import of the host, following the Cubase MIDI import preferences of this installation; here every file track becomes one MIDI track routed to a HALion Sonic instance that the import creates, so put a whole arrangement into one call where possible. Tempo and time-signature events of the file are not applied to an existing project: use cubase_tempo_set and cubase_transport_set. The result lists the channels that the import added; read the notes back with cubase_midi_read. Never repeated automatically.

cubase_events_listA

Read the native track/part/event tree, including individual MIDI notes. Returns each path, temporary eventId, type, name, lock state, host-converted startSeconds/durationSeconds and native time values. MIDI notes also include pitch, 7-bit velocity, channel and the original velocityNormalized. Paths and IDs are lifetime-bound; rediscover after structural changes or reopen. Use exact observed values with cubase_event_edit or cubase_midi_note_edit. No file-write command, selection change or window is used.

cubase_automation_readB

Read native automation lanes and normalized points belonging to one track from cubase_events_list. Lane rows identify parameterTag and laneEventId (eventId); point rows carry temporary eventId, startSeconds and normalizedValue. The returned paths and IDs are lifetime-bound. Page using nextOffset; rediscover after structural edits or reopen.

cubase_automation_editA

Create an automation lane or insert/change/move/delete one point. createLane takes the parameter objectId/expectedUniqueId and expected.laneCount, without lane/point IDs; the parameter must be observed as automatable. Point actions use laneEventId, parameterTag and expected.pointCount from cubase_automation_read. Existing points require pointEventId and exact expected startSeconds/normalizedValue. insert takes positionSeconds/value; setValue takes value; move takes positionSeconds; delete takes neither. Native identity/count checks and readback confirm each change. Requires stopped transport; no replay. Native undo is not certified.

cubase_routes_listA

List actual audio input/output or send bus targets for a discovered channel, including target IDs, names, hierarchy paths and availability. field=send requires zero-based sendIndex and returns sendSlot identity. Copy root from cubase_events_list and channel identity from cubase_channels_list. IDs are current-project state only.

cubase_routing_setA

Connect audio input/output or a send to an enumerated bus. Supply current value and exact target ID/name from cubase_routes_list. field=send also requires sendIndex and expectedSlotUniqueId. Native write is confirmed through independent MIDI feedback. No dialog or replay.

cubase_plugin_unloadA

Unload the plug-in in one discovered occupied slot of the owned project without a discard prompt. Copy projectRoot from cubase_events_list and slot identity plus its single plugin child ID from cubase_objects_list. Requires stopped transport and exact slot/plugin identities. confirmed requires the slot to be empty after the native operation.

cubase_track_createA

Create one named empty MIDI, instrument, Group, FX or folder track through the native factory and host insertion transaction. Copy root from cubase_events_list. Requires stopped transport and an owned project. An instrument track starts with an empty instrument slot; discover that slot and use cubase_plugin_set to assign an offered instrument. confirmed checks the native tree and a new named mixer channel, except folders which have no mixer channel. No Add Track window or MIDI import is used.

cubase_event_editA

Move or trim one existing audio event or MIDI part in place through IProjectObject/MEditContext, without selection commands or reimport. Copy root, path and expected type/name/startSeconds/durationSeconds from cubase_events_list. The native side re-enumerates and rejects any mismatch or locked/track target. field=position sets absolute project seconds; field=duration sets seconds (audio is trimmed, not stretched beyond its current length). Returns before/after from host getters and confirmed; the source file is untouched. Native undo integration is not certified. Stop transport first; never repeated automatically.

cubase_midi_note_editA

Edit one existing MIDI note in place, without selection, reimport or commands. Copy root, path, eventId and all expected fields from cubase_events_list. Sets one field per call: pitch 0..127, velocity 1..127, position in seconds or positive duration in seconds. Requires stopped transport and an unlocked note/parent. Returns actual before/after and confirmed. Does not create notes, alter routing or add instruments. Undo integration is not certified; never replay an unconfirmed mutation.

cubase_audio_importA

Import a local WAV, AIFF or FLAC file into the owned project through native pool/arranger operations, without opening a chooser or running a key command. The original file is preserved and a unique copy is placed in the project Audio folder. Cubase plays a file whose sample rate differs from the project rate without conversion (a 48 kHz file in a 44.1 kHz project runs 8.1 % slow and flat), so the project rate is read from the saved .cpr and compared first: sampleRateMismatch "convert" (default) writes a converted 32-bit float WAV copy and imports that (WAV sources only), "reject" refuses the import, "ignore" imports the file as it is. The result reports projectSampleRate and the conversion. position optionally sets the project cursor through the transport API; otherwise the current cursor is used. trackName optionally renames the single added audio channel. Returns source metadata, native receipt and actual added channels; no automatic replay.

cubase_midi_readA

Read the MIDI content of the managed project back from Cubase: the host writes its own Standard MIDI File into the project folder once (key command "Write MIDI File to Project Folder") and this tool parses that file. Returns tempo, time signature, one summary per MIDI track (name, channels, programs, note count, pitch range) and a page of notes in quarter-note beats. Muted and solo-muted tracks and tracks without events are not written by Cubase; muted MIDI channels are listed in mutedChannels. Use track, noteOffset and noteLimit to page; includeControllers adds controller and pitch-bend events.

cubase_audio_exportA

Render the managed project through the native NonUI audio exporter, without opening a file/export dialog or executing a key command. outputPath selects a new absolute file; existing files are preserved. format is wav, aiff or flac (inferred from an explicit path, otherwise wav); sampleRate defaults to 48000, bitDepth to 24, floatingPoint to false. 32-bit float is supported for WAV/AIFF; FLAC takes 16/24-bit integer samples. range sets the two locators through the transport API, or omit it to use the current range. Stop the transport first. Returns the actual file metadata and, for WAV, audio levels. Requested settings must match the emitted header. No automatic replay.

cubase_runtime_windowsA

Read-only sample of the visible windows of the owned Cubase process on its private desktop. unexpected lists every window that is neither the project window nor the Hub; such a window is usually a prompt opened by the host. This server never operates, focuses or closes a window: when a prompt blocks work, replace the owned instance with cubase_project_open or cubase_project_create (replaceCurrent).

cubase_project_saveA

Submit current-project Save exactly once through MIDI and observe changed, stable bytes at a caller-confirmed existing CPR path (12 bytes to 64 MiB, no links). This does not select a path or perform save-as. file.state=changed_stable is observed content change, not semantic reopen or an atomic document/flush guarantee. Use save.session as the new session. An unchanged file is change_not_observed, never claimed saved.

cubase_runtime_statusA

Inspect the owned private-desktop Cubase process, its lifetime and restricted Job, without starting Cubase or requiring a MIDI handshake. A user-owned or mismatched process is not adopted.

cubase_project_createA

Create a blank project at a new absolute local .cpr path in an owned private-desktop host, perform its first native store and return one MIDI handshake. Before native admission, an observed license-startup stall automatically restarts the owned empty host and license helper once. Replacing an existing owned host requires both flags true and discards unsaved changes. Unowned hosts are preserved; submitted operations are never replayed.

cubase_project_openA

Open an existing local CPR in a fresh owned private-desktop host, wait for mapping readiness and return one MIDI handshake. Before native admission, an observed license-startup stall automatically restarts the owned empty host and license helper once. Replacing an owned host requires both flags true and discards unsaved changes. The native path must match. No dialog is operated or submitted operation replayed.

cubase_project_save_asA

Store the managed current project at a new local .cpr path using the native event-thread method. Requires current MIDI session and matching managed document path. Does not overwrite a destination or operate a dialog. The returned new path is checked against the host document; this is not semantic reopen verification.

cubase_runtime_stopA

End only the lifetime-matched owned private-desktop Cubase and its holder. Explicitly discards unsaved changes; does not save or replay a command. Other Cubase processes are preserved.

cubase_portsA

Enumerate real Windows MIDI ports without opening a connection. Missing configured ports are not replaced with another device.

cubase_capabilitiesA

Return the implementation constraints together with an explicit live-host observation. The constraint list is always available, so discovery does not require a running DAW: host is null and hostState names an absent, silent or incompatible bridge instead of returning a transport timeout. A live host is read with a 2000 ms read-only handshake (cubase_status keeps the full configured budget). Never returns mock host data.

cubase_connection_resetA

Explicitly close a failed connection and perform one new handshake. Does not replay any previous operation. Review uncertain mutation outcomes first.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
constraintsStatic contract and unsupported operations. Not a statement of live host connectivity.

TDQS

B3.3/5.0

Scored across 53 tools

Disambiguation3/5

There are several heavily overlapping clusters: cubase_status/cubase_capabilities/cubase_host_info/cubase_connection_reset all describe host handshake and inspection; cubase_transport_get/cubase_transport_state/cubase_transport_set/cubase_transport_action/cubase_tempo_set/cubase_locator_set all touch transport state; and four different write paths (cubase_parameter_set, cubase_control_set, cubase_channel_set, cubase_routing_set) plus edit tools (cubase_event_edit, cubase_midi_note_edit, cubase_automation_edit, cubase_track_edit) target similar outcomes. The descriptions are unusually detailed and do explain the boundaries, but at 53 tools the agent must read them closely to avoid picking the wrong layer.

Naming Consistency4/5

Nearly all tools follow a cubase_<resource>_<action> or cubase_<action>_<resource> snake_case pattern with a consistent server prefix, making related tools easy to group. Deviations are minor: a handful are noun-only (cubase_ports, cubase_capabilities, cubase_status, cubase_host_info) and the resource/action order is not uniform (cubase_objects_list vs cubase_parameter_get).

Tool Count2/5

53 tools is far above what an agent can navigate comfortably, and many are very narrow variants (connection_reset vs runtime_status vs project_open, parameter_get vs parameters_list vs control_get vs channel_info). The DAW domain is genuinely broad, but this surface clearly needed consolidation into fewer, more general tools.

Completeness4/5

Coverage is unusually deep: project create/open/save/save-as, runtime lifecycle, MIDI and audio import/read/export, automation, routing, plugins, events, channels, transport, key commands and a control-surface layer, plus strong readback/confirmation semantics. Remaining gaps are real but workaroundable: there is no way to add or delete individual MIDI notes or arbitrary events except through full MIDI import plus cubase_midi_note_edit, no undo, and no project delete.

Maintenance

ActivityMaintained
ResponsivenessLimited data