1. Conduid
  2. Developer Tools
  3. Musescore
MCP server · Developer Tools

Musescore

A Model Context Protocol (MCP) server that provides programmatic control over MuseScore!

76Good

Scored 8 hours ago · breakdown

About Musescore

Musescore is an MCP server published by ghchen99 in the Developer Tools category: a Model Context Protocol (MCP) server that provides programmatic control over MuseScore!. Conduid read 73 tools from its source: add_articulation, add_break, add_instrument, add_label, add_lyrics, add_marker and 67 more. No package is published for it, so it installs from a source checkout.

The repository has 160 stars and 45 forks, is licensed MIT, and its last commit was on 28 Nov 2026. The latest release is v0.2.1 (13 Oct 2026). It follows v0.2.0 (13 Oct 2026), and the 3 most recent releases go back to v0.1.0 (13 Oct 2026). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Its topics include fastmcp, music and devtools.

Install

From source
git clone https://github.com/ghchen99/mcp-musescore

Tools (73)

add_articulationAdd an articulation to the chords that contain the chosen drums in a range of bars (and beats): 'half_open' (half-open hi-hat), 'open', 'closed' (hi-hat), 'accent', 'marcato', 'staccato', 'tenuto'. E.g. drums=['hi-hat'], symbol='half_open' marks the hi-hats of bars 72-85 as half-open. Chords that already have it are left alone. Remove with remove_articulations.
ParameterTypeDescription
drumsarray
end_beatnumber
end_measureany
first_staffinteger
last_staffinteger
pitchesarray
start_beatnumber
start_measure *any
symbolstring
add_breakEnd a system (line), page or section after a bar, as from MuseScore's Breaks & spacers palette. A break of that kind the bar already has is refused. get_score lists breaks under [Markings]; remove them with remove_annotations(kinds=['breaks']). For a fixed number of bars on every system, use set_measures_per_system.
ParameterTypeDescription
kindstring
measure *any
add_instrumentAdd a new staff/instrument to the score.
ParameterTypeDescription
instrument_id *string
add_labelAdd a label in a colored box (a boxed staff text) at the start of a measure, e.g. a section tag like 'Groove x7' or 'Fill'. Saved in the score; remove with clear_highlights.
ParameterTypeDescription
backgroundstring
borderstring
measure *any
staffinteger
text *string
add_lyricsAdd lyrics to consecutive notes starting from the current cursor position, one entry per note (rests are skipped). End a syllable with '-' to hyphenate it to the next one ("Hel-", "lo"). Use "_" (or "") for a note that continues the previous syllable: no lyric is placed there and the previous syllable gets an extender line over it, as MuseScore draws a melisma.
ParameterTypeDescription
lyrics *array
verseinteger
add_markerAdd a repeat marker or jump to a bar, as from MuseScore's Repeats & jumps palette: 'segno', 'coda', 'to_coda' (the words To Coda), 'to_coda_symbol' (To and the coda sign), 'fine', or a jump: 'dc', 'dc_al_fine', 'dc_al_coda', 'ds', 'ds_al_fine', 'ds_al_coda'. Segno and Coda go on the bar they start; To Coda, Fine and the jumps on the bar they end. A jump's reply lists under `missing` the markers it needs that the score doesn't have yet (D.S. al Coda needs a Segno, a To Coda and a Coda): add them too, or ask the user where they go. A marker the bar already has is refused. Remove with remove_annotations (kinds 'markers', 'jumps').
ParameterTypeDescription
marker *string
measure *any
add_noteAdd a note at the current cursor position with the specified pitch and duration. Sequential notes write a melody. Set add_to_chord=True to stack a pitch on the current chord.
ParameterTypeDescription
add_to_chordboolean
advance_cursor_after_actionboolean
durationobject
pitchinteger
add_rehearsal_markAdd a rehearsal mark (section label such as 'A' or 'Verse') at the start of a bar. Experimental: check the score afterwards.
ParameterTypeDescription
measure *any
text *string
add_restAdd a rest at the current cursor position.
ParameterTypeDescription
advance_cursor_after_actionboolean
durationobject
add_textAdd free text at a bar (optionally at a beat) with its own look: size, italic/bold, color, above or below the staff. Defaults give a small, italic, light-grey cue, e.g. the first words of a section's lyrics as a reminder for the player. kind='expression' makes it an expression text. Use the text the user provides. Remove with Ctrl+Z, or select the texts in MuseScore and delete them.
ParameterTypeDescription
beatnumber
boldboolean
colorstring
italicboolean
kindstring
measure *any
placementstring
sizenumber
staffinteger
text *string
add_tieTie notes of the chord at the cursor to the same pitches in the next chord of that staff. A tie joins two notes of the same pitch into one longer sound. Only pitches in both chords can be tied: by default every such pitch is tied; pass pitches to tie only some of them (e.g. tie C and E of C-E-G into C-E-A with pitches=[60, 64]). Afterwards the cursor is on the second chord, so calling add_tie again continues a tie chain. Note that after add_note the cursor is already on the next position: move back to the first note (e.g. with prev_element) before calling add_tie. Write both chords completely before tying: MuseScore treats tied chords as one, so a pitch added afterwards with add_note(add_to_chord=True) to the second chord is also added, tied, to the first. While writing music, add_tied_note is usually simpler. Fails without changing the score when no pitch can be tied, e.g. when the next element is a rest.
ParameterTypeDescription
pitchesarray
add_tied_noteWrite the next note or chord at the cursor, tied to the chord before the cursor: like pressing + in MuseScore's note input. Use it after add_note to hold a note longer, e.g. across a barline. By default the new chord repeats every pitch of the chord before it, all tied; pass pitches to tie only some of them, and extra_pitches for new pitches in the same chord without a tie (e.g. C-E-G into C-E-A: pitches=[60, 64], extra_pitches=[69]). Add new pitches this way, not with add_note(add_to_chord=True) afterwards: MuseScore treats tied chords as one and would also add the pitch, tied, to the chord before. A note longer than the rest of the bar is split at the barline into tied notes, and the cursor moves past all of it. Fails without changing the score when there is no note before the cursor or a pitch is not in it.
ParameterTypeDescription
advance_cursor_after_actionboolean
duration *object
extra_pitchesarray
pitchesarray
add_tupletAdd an empty tuplet (rests) at the current cursor position. By default the cursor stays on its first slot, so the following add_note calls fill it slot by slot, each with the duration of one slot (an eighth for a triplet of eighths). With advance_cursor_after_action=True the cursor moves past the whole tuplet instead.
ParameterTypeDescription
advance_cursor_after_actionboolean
durationobject
ratioobject
add_voltaAdd a volta (1st/2nd ending bracket) over a range of bars. Experimental: the plugin API has no dedicated volta call, so check the result; if it fails, the measures are selected and the reply says which palette item to click.
ParameterTypeDescription
end_measureany
endingsarray
start_measure *any
textstring
append_measureAppend measures to the end of the score.
ParameterTypeDescription
countinteger
apply_measure_repeatsTurn bars of one staff into measure-repeat signs (1-, 2- or 4-bar) automatically. MuseScore's plugin API cannot place these signs, so this saves the score, backs the file up, writes the signs into the file and reloads it in MuseScore. The reload resets MuseScore's undo history: use restore_backup to undo. Each sign repeats the bars just before it, and the replaced bars' notes are deleted. Bars with ties or slurs crossing their barlines are skipped and reported. Pass all groups for a staff in one call.
ParameterTypeDescription
groups *array
score_pathstring
staff *integer
beam_over_restsBeam eighths and shorter across rests inside a beat group (a dotted quarter in 12/8, a beat in 4/4), as drum charts write them: one beamed group per beat with the rest under the beam, instead of separate flags broken at every rest. Only rests with beamable notes before and after them in the same group change. Run it over the whole drum staff once the chart is done. clear=True puts the rests back on automatic beaming.
ParameterTypeDescription
clearboolean
end_measureany
first_staffinteger
last_staffinteger
start_measureany
clear_colorReset notes and rests in a range of measures and staves (optionally only some beats) to the default black.
ParameterTypeDescription
end_beatnumber
end_measureany
first_staffinteger
last_staffinteger
start_beatnumber
start_measure *any
clear_highlightsRemove highlights from a range of measures and staves. kinds: 'highlights' = bands and boxes from highlight_bars, highlight_notes and highlight_symbols; 'markings' = boxes behind dynamics (highlight_markings); 'labels' = boxed labels (add_label); 'notes' = small notehead boxes made by older versions. Recolored notes and symbols are reset with clear_color / highlight_symbols(mode='color', clear=True).
ParameterTypeDescription
end_measureany
first_staffinteger
kindsarray
last_staffinteger
start_measureany
collapse_to_repeatCollapse a run of repeated bars or phrases into one played N times: keeps the first phrase_bars bars from start, deletes the rest of the run, and puts start/end repeat barlines with a play count around the kept bars (shown as e.g. '7x'). With phrase_bars=2, bars start..end must be a 2-bar phrase repeated (e.g. 28-35 becomes 28-29 x4). This changes every staff, so use it in a score that contains only the part being charted (make_part_score). It refuses when any staff's copies differ in anything but ghost notes and crashes on beat 1, unless force=True. Later bars move up: collapse from the end of the score backwards. Needs MuseScore 4.6+.
ParameterTypeDescription
end *any
forceboolean
phrase_barsinteger
start *any
color_rangeColor the notes and rests (with their stems, beams, accidentals, dots, ties and grace notes such as flams) in a range of measures and staves, e.g. to highlight a passage. Use start_beat/end_beat to color only part of a bar, e.g. a fill on beats 3-4: notes and rests starting in that span are colored.
ParameterTypeDescription
colorstring
end_beatnumber
end_measureany
first_staffinteger
last_staffinteger
start_beatnumber
start_measure *any
voicesarray
connect_to_musescoreConnect to the MuseScore WebSocket API.
delete_measuresRemove whole measures (on every staff) from the score, like MuseScore's Remove selected range (Ctrl+Del). Works with multi-measure rests on (they are switched off meanwhile) and reports an error if MuseScore deleted fewer measures than asked. Later bars move up (and their printed numbers with them, unless the score sets them), so when removing several ranges start from the last one.
ParameterTypeDescription
end_measureany
start_measure *any
delete_selectionDelete the current selection, or the specified measure.
ParameterTypeDescription
measureany
find_elementsFind chord symbols, markers (Segno, Coda, To Coda, Fine), jumps, texts, boxed labels, rehearsal marks and tempo markings in a range of bars (the whole score by default), with what set_properties can change: placement ('above'/'below'), align ('left'/'center'/'right'), fontSize (points) and offset ([x, y] in staff spaces from where MuseScore puts it, y downwards). Use it to see what set_properties will change: both take the same selection. Markers and jumps belong to the bar and have no beat.
ParameterTypeDescription
beatnumber
containsstring
end_measureany
exactboolean
first_staffinteger
kindsarray
last_staffinteger
start_measureany
find_groove_sectionsMap the sections of a groove-based part (drums by default): for each section the groove bar, the bars that copy it exactly, near copies (with the hits that differ), and fills. Proposes measure-repeat signs for exact copies only, as ready-made apply_measure_repeats groups, and a collapse_to_repeat range for a 'groove bar x N' chart. Show near copies to the user and only replace them once approved: a repeat sign deletes their differences.
ParameterTypeDescription
end_measureany
start_measureany
stavesarray
tolerancenumber
find_repeated_measuresFind repeated material in the score. Returns (1) per-staff bars that repeat the previous 1, 2 or 4 bars, candidates for measure-repeat signs (these declutter the page but keep the length), and (2) whole-score passages played again right away, candidates for repeat barlines and 1st/2nd endings (these shorten the score once the duplicate measures are deleted). Each passage lists the tool calls that apply it. Reads the score in small chunks, so it works on large scores. Bars are as printed in the score as it is now: apply passages from the last one backwards.
ParameterTypeDescription
end_measureany
highlightboolean
start_measureany
stavesarray
get_cursor_infoGet information about the current cursor position.
get_scoreGet the notes of the current score as LilyPond (or raw JSON), a range of bars at a time.
ParameterTypeDescription
end_measureany
formatstring
start_measureany
stavesarray
get_styleRead score style settings (Format → Style) by MuseScore's internal key, e.g. "createMultiMeasureRests", "chordSymbolAFontSize", "minMeasureWidth". Returns the current values, and lists under "unknown" the keys MuseScore does not have.
ParameterTypeDescription
keys *array
ghost_notesList the ghost notes (notes in parentheses) per bar, or remove them (mode='remove'). A chord made only of ghost notes becomes a rest. Show the list to the user before removing: whether a chart keeps ghost notes is their choice.
ParameterTypeDescription
drumsarray
end_measureany
first_staffinteger
last_staffinteger
modestring
pitchesarray
start_measureany
go_to_beginning_of_scoreNavigate to the beginning of the score.
go_to_final_measureNavigate to the final measure of the score.
go_to_measureNavigate to a bar and select it across all staves. The cursor moves to beat 1 of that bar on the first staff, so the next cursor tool (add_note, add_rest, add_lyrics, set_time_signature...) acts there; use next_staff to move down to another staff.
ParameterTypeDescription
measure *any
highlight_barsHighlight bars like a highlighter pen: a thick, semi-transparent band behind the notes of each staff in the range, following the bars across line breaks. start_beat/end_beat limit it to part of a bar. Saved in the score; remove with clear_highlights. Experimental: check the result in the score.
ParameterTypeDescription
colorstring
end_beatnumber
end_measureany
first_staffinteger
last_staffinteger
opacitynumber
start_beatnumber
start_measure *any
highlight_markingsHighlight markings such as dynamics (f, mf, ff) with a translucent box behind each one. get_score lists the markings in each measure. Remove with clear_highlights.
ParameterTypeDescription
colorstring
end_measureany
first_staffinteger
last_staffinteger
opacitynumber
start_measureany
typesarray
highlight_notesHighlight individual hits like a highlighter pen: a translucent box around each matching note, as wide as the note and as tall as the whole staff (taller if the note sits above or below it). Hits close enough for their boxes to touch share one box. Use drums (e.g. ["crash"]) or pitches to pick notes in a chord. start_beat/end_beat limit it to part of a bar. Boxes are sized to the current layout: if the layout changes a lot, clear and highlight again. Remove with clear_highlights.
ParameterTypeDescription
colorstring
drumsarray
end_beatnumber
end_measureany
first_staffinteger
last_staffinteger
opacitynumber
pitchesarray
start_beatnumber
start_measure *any
highlight_symbolsHighlight or recolor time signatures, repeat barlines (start/end repeat signs with their dots) and measure-repeat signs. mode='highlight' draws a full-staff-height translucent box around each one (pastel light blue by default); mode='color' recolors the symbol itself (clear=True resets it to black).
ParameterTypeDescription
clearboolean
colorstring
end_measureany
first_staffinteger
kindsarray
last_staffinteger
modestring
opacitynumber
start_measureany
insert_measureInsert a measure at the current position.
label_section_countsWrite each section's bar count (e.g. '2x4+2'). placement='label' (default, the chart style the user chose) puts it in parentheses in the section label (rehearsal mark): 'Chorus 1 (2x4)', and sets the labels to label_size points with label_clearance spaces around them, so MuseScore places and spaces them. placement='beside' writes it in bold red right of the label at the label's height (moved past a text already there or up over notes); MuseScore doesn't leave room for it between systems, so it can run into dynamics of the system above: only on request. Without counts, uses song_structure's counts (the ones already written in the labels where they still add up). Running it again replaces the counts in either form; clear=True removes them.
ParameterTypeDescription
clearboolean
colorstring
countsarray
label_clearancenumber
label_sizenumber
placementstring
sizenumber
staffinteger
make_part_scoreMake a separate score containing only some parts (e.g. the drum kit) to build a chart in: saves the current score, writes a copy of its file without the other instruments (tempo, rehearsal marks, repeats and the title move to the kept staff), closes the original and opens the copy in its place (the plugin can only work in its own window). The original is saved and unchanged; if the copy can't be opened, the original is reopened. Works even when another instrument has a damaged bar. in_place=True instead removes the other instruments from the open score itself, without saving anything first (so a damaged bar in another instrument is never written again) and after backing up the full score (MusicXML export, plus a copy of its .mscz when it can be identified); it reports bars left that don't add up. Staff indices in the new score start again from 0.
ParameterTypeDescription
in_placeboolean
output_pathstring
score_pathstring
staves *array
move_chord_symbolMove a chord symbol to another beat or bar, keeping its name. Refused when its name isn't readable (a chord symbol imported from MusicXML, until the score is saved, closed and opened again; saving alone is not enough): ask the user for the name, then set_chord_symbol at the new place and remove the old one. A target beat that already has a chord symbol, or that no note or rest starts on (a plugin can't add one there), is refused too.
ParameterTypeDescription
beatnumber
measure *any
staffinteger
to_beatnumber
to_measure *any
next_elementMove cursor to the next element.
next_staffMove cursor to the next staff.
number_bars_as_playedMake the displayed bar numbers count repeated bars, as played: after a passage between repeat barlines played N times, the next bar's number jumps by (N - 1) x the passage length. Recomputes all bars (MuseScore's 'Add to measure number'), so it can be run again after changing repeats. exclude_from_count leaves bars out of the count, e.g. [1] for a silent pickup or intro bar. reset=True removes all offsets and exclusions instead (plain 1..N numbering). Voltas are not taken into account. Needs MuseScore 4.6+. Tools take and give bars as printed, so after this call they go by the new numbers.
ParameterTypeDescription
exclude_from_countarray
resetboolean
ping_musescorePing the MuseScore WebSocket API to check connection.
prepare_measure_repeatPrepare measure-repeat signs: selects the measures that should become repeat signs, on the given staves, and returns what to click in MuseScore. The plugin API cannot place measure-repeat signs itself.
ParameterTypeDescription
barsstring
end_measureany
first_staffinteger
last_staffinteger
start_measure *any
prev_elementMove cursor to the previous element.
prev_staffMove cursor to the previous staff.
processSequenceRun several score commands in order in a single call. Each item is {"action": <name>, "params": {...}}, using the same camelCase action names and parameters as the plugin (e.g. "addNote" with pitch, duration, advanceCursorAfterAction).
ParameterTypeDescription
sequence *any
remove_annotationsRemove texts and marks from a range of bars, e.g. to redo part of a chart. kinds: 'texts' (add_text: cues, '*' marks, legends), 'labels' (boxed add_label texts), 'rehearsal_marks', 'tempo' (tempo markings, which also changes playback), 'voltas', 'markers' (Segno, Coda, To Coda, Fine) and 'jumps' (D.C., D.S. ...), which belong to the bar, not a staff, 'chord_symbols' (e.g. contains='G7', exact=True removes only G7s) and 'breaks' (system, page and section breaks). `contains` limits it to texts containing that string, e.g. '**'; `beat` to one beat of each bar. Defaults to the whole score. Highlights and note colors are removed with clear_highlights / clear_color instead.
ParameterTypeDescription
beatnumber
containsstring
end_measureany
exactboolean
first_staffinteger
kindsarray
last_staffinteger
start_measureany
remove_articulationsRemove articulations (by default the hi-hat symbols half_open, open, closed) from the chords that contain the chosen drums in a range of bars.
ParameterTypeDescription
drumsarray
end_measureany
first_staffinteger
last_staffinteger
pitchesarray
start_measureany
symbolsarray
renderShow the score as MuseScore engraves it, as an image: what get_score's text cannot show, such as overlapping chord symbols, marker placement, system and page breaks and spacing. page=N gives a whole page (for layout); measures='X-Y' crops those bars from their page at higher detail, with everything attached to them (chord symbols, texts, lyrics, markers), as they stand on their systems: the other bars of those systems are left blank, so a blank space before the first bar means the system starts earlier. Bars are named as printed in the score, as the user sees them. Render again after a change to check it.
ParameterTypeDescription
measuresstring
pageinteger
restore_backupBring back the version of the open score saved before an apply_measure_repeats edit (the newest backup by default) and reload it in MuseScore. The current version is backed up first.
ParameterTypeDescription
backupstring
score_pathstring
select_current_measureSelect the current measure.
select_custom_rangeSelect a custom range of ticks across staves. Useful for retrieving continuous phrasing that spans measure boundaries. end_staff is exclusive, so one staff N is start_staff=N, end_staff=N+1.
ParameterTypeDescription
end_staff *integer
end_tick *integer
start_staff *integer
start_tick *integer
set_chord_symbolSet the chord symbol on a beat: adds one, or changes the one there (the reply's `replaced` gives the old name). MuseScore reads the name as when typed, e.g. 'Bb7', 'F#m7b5', 'C/E'. A chord symbol sits on a note or rest: on a beat that none starts on (e.g. inside a half note) one already there can be changed, but a new one can't be added (a plugin limit): that is refused, with the beats that have one, and the user can add it by hand. Remove with remove_annotations(kinds=['chord_symbols']).
ParameterTypeDescription
beatnumber
chord *string
measure *any
staffinteger
set_end_notesPrint notes at the end of the score, in a text frame after the last bar: a bold heading and one line per item, e.g. a summary of how a chart differs from the original (what was collapsed, which differences were dropped, what stays written out). Replaces notes added before (the report's `previous` lists them), so it can be re-run; append=True keeps their lines and adds the new ones; no heading and no lines removes them. Edits the score file and reloads it (undo with restore_backup).
ParameterTypeDescription
appendboolean
headingstring
lines *array
score_pathstring
set_instrument_soundChange the sound of an instrument on a staff.
ParameterTypeDescription
instrument_id *string
staff *integer
set_measure_numberSet the displayed number of one bar: add_to_number is MuseScore's 'Add to measure number' (the offset carries on to all later bars), exclude_from_count is 'Exclude from measure count'.
ParameterTypeDescription
add_to_numberinteger
exclude_from_countboolean
measure *any
set_measure_stretchMake bars wider or narrower, as Format > Stretch does: 1 is MuseScore's own width, 1.5 half as wide again, 0.8 narrower. Wider bars can push the next bars onto the next system; render to check.
ParameterTypeDescription
end_measureany
start_measure *any
stretch *number
set_measures_per_systemPut the same number of bars on every system over a range of bars (the whole score by default). method 'locks' (default) works as Format > Measures per system: system locks, which keep each system's bars when bars before them change. method 'breaks' puts a system break after every N bars instead (shown by get_score, and fixed to their bars). Either way the range's system breaks and locks are removed first, so the result is exactly N bars a system; per_system=0 only removes them, back to MuseScore's own layout. Page and section breaks stay. The reply's `systems` gives each system's first and last bar afterwards; render a page to see it.
ParameterTypeDescription
end_measureany
methodstring
per_system *integer
start_measureany
set_propertiesChange how elements look on every one find_elements finds with the same selection: placement ('above'/'below' the staff), align ('left'/'center'/'right'), font_size (points), offset ([x, y] in staff spaces, replacing the current one) or move_by ([dx, dy] added to it; y grows downwards, so [0, 1] moves down one space), and reset (put those properties back to the style's value). When placement changes, MuseScore also takes the style's offset for that side; move_by is added after. Refused when nothing matches. The reply lists the elements as they are afterwards; render to check.
ParameterTypeDescription
alignstring
beatnumber
containsstring
end_measureany
exactboolean
first_staffinteger
font_sizenumber
kindsarray
last_staffinteger
move_byarray
offsetarray
placementstring
resetany
start_measureany
set_repeat_barlinesPut start and end repeat barlines around a range of bars, or remove them. Needs MuseScore 4.6 or newer; on older versions the measures are selected and the reply says which palette items to click.
ParameterTypeDescription
clearboolean
end_measure *any
play_countinteger
start_measure *any
set_score_headerTidy the title frame at the top of the score: title, subtitle, composer, lyricist and the part name shown top-left in part scores (a long part name such as 'Player | Kit | Drums' runs into the title). Leave a field out to keep it, pass an empty string to remove it. Edits the score file and reloads it (undo with restore_backup).
ParameterTypeDescription
composerstring
lyriciststring
part_namestring
score_pathstring
subtitlestring
titlestring
set_song_structurePrint the song structure as a table on a new page at the end of the score, after the end notes: the song and artist under the heading (taken from the title frame unless given), then one row per section with its bars (as played), groove and fills, and the total. Get the rows from song_structure and give grooves and fills musical names. Replaces a structure page added before; no rows removes it. Edits the score file and reloads it (undo with restore_backup).
ParameterTypeDescription
artiststring
headingstring
rows *array
score_pathstring
songstring
set_staff_muteMute or unmute a staff.
ParameterTypeDescription
mute *boolean
staff *integer
set_styleChange score style settings (Format → Style), given as {key: value} with MuseScore's internal keys. An unknown key is refused, and the settings before it stay applied. Returns each value as MuseScore reads it back after the change; check it with get_style or render when unsure.
ParameterTypeDescription
styles *object
set_tempoSet the tempo with a tempo marking (in quarter-note beats per minute) at the current cursor position, or at the start of the given bar.
ParameterTypeDescription
bpm *number
measureany
set_time_signatureSet the time signature.
ParameterTypeDescription
denominatorinteger
numeratorinteger
simplify_rollRewrite a cymbal roll (a run of repeated or tied cymbal notes, e.g. a crash swell) as one long note per bar, tied across barlines, with a tremolo: the same sound with far fewer symbols. The roll starts on start_beat of start_measure (default beat 1; earlier notes in that bar stay as written) and ends at the end of end_measure, or after end_beat in it. Lengths that no single note value can hold are written as tied notes. Notes of the first chord that are not part of the roll (e.g. a kick) move to voice 2 with their own length. Refuses (changing nothing) if other notes or rests sit inside the roll or it doesn't start and end where notes do. Edits the score file and reloads it (undo with restore_backup).
ParameterTypeDescription
drumsarray
end_beatnumber
end_measure *any
pitchesarray
score_pathstring
slashesinteger
staff *integer
start_beatnumber
start_measure *any
song_structureOutline the song for a structure page: the sections (from the rehearsal marks) with how many bars each lasts as played (repeats counted), the grooves in it (bars that recur, named Groove A, B... with the drums they use; hi-hat openings, crashes and ghost notes don't make a new groove) and the fills (bars that don't recur). Each section's `count` is its length in fours as drummers count it (6 -> '4+2', 12 -> '3x4', bars before the first groove bar counted on their own: '2+4+2'); bars excluded from the bar count (a count-in) are left out. suggested_rows can go to set_song_structure as they are, but give the grooves and fills musical names first (e.g. 'Verse shuffle', 'Tom fill into chorus').
ParameterTypeDescription
staffinteger
tolerancenumber
undoUndo the last action.

Security checks

Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 1.6K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by uv.lock.
  • !No dynamic code executionScanned 33 source files and found 1 call to eval or shell execution, in dev/check_plugin_js_syntax.js:9. Review how tool inputs reach them before granting credentials.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdioserver.py:51
Starts other programs
1 calldev/plugin_harness.py:195
Outbound network calls
No outbound network calls
Writes or deletes files
13 callsdev/plugin_harness.py:259, dev/plugin_harness.py:262, dev/plugin_harness.py:278
Lockfile
uv.lock

Pattern matches on the source text of 33 files: places to read, not proof of what the code does at run time.

Releases

v0.2.1v0.2.1 - Score Viewing Tools Added (MCP Apps) · 13 Oct 2026What's Changed jazz piano examples added by @ghchen99 in https://github.com/ghchen99/mcp-musescore/pull/12 `show_score` is an MCP App: the tool result is rendered as notation by a small VexFlow page (`src/ui/score_viewer.html`) inside…
v0.2.0v0.2.0 - FastMCP version update (v4) · 13 Oct 2026What's Changed Update FastMCP version & pipeline by @ghchen99 in https://github.com/ghchen99/mcp-musescore/pull/11 Full Changelog: https://github.com/ghchen99/mcp-musescore/compare/v0.1.0...v0.2.0
v0.1.0v0.1.0 - Initial working MCP server · 13 Oct 2026What's Changed feat: Support for full polyphony, LilyPond conversion & Slim JSON optimization by @CariacouP in https://github.com/ghchen99/mcp-musescore/pull/1 Reconnect on a stale socket instead of failing until restart by @RNeumann12 in…

README

The repository's README runs to about 1.6K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Musescore

How do I install Musescore?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Musescore safe to use with an AI agent?

Its trust score is 76 out of 100 (good). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Conduid's scan of 33 source files found that it serves MCP over stdio, starts other programs (1 call) and writes or deletes files (13 calls). Its dependencies are pinned by uv.lock. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Musescore still maintained?

Yes — the latest release is v0.2.1 (13 Oct 2026), and the last commit was 3 days ago. The repository has 160 stars.

What tools does Musescore provide?

Conduid read 73 tools from the source: add_articulation, add_break, add_instrument, add_label, add_lyrics, add_marker, add_note, add_rehearsal_mark and 65 more. 61 of them publish their parameters, listed under Tools above.

What license is Musescore released under?

The repository declares the MIT license. That applies to the latest release, v0.2.1, as well.