eztab-mcp

v0.10.2
@hidechae/eztab-mcp Checked 1 hour ago Published 1 day ago

MCP server for EZTab — lets an AI agent build and edit guitar/bass tablature.

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

get_tab

Return a readable rendering of the document currently under edit in this session. `from`/`to` (0-based, inclusive) limit it to a range of measures. If nothing has been created yet, say so and offer new_tab.

ParameterTypeDescription
frominteger
tointeger
trackintegerShow only this track (default: all tracks).

new_tab

Start a fresh document, replacing any current one. Tuning is top (highest) to bottom (lowest).

ParameterTypeDescription
artiststring
measuresinteger
presetstring
tempointeger
titlestring
tuningarrayOpen notes from the top (highest) string to the bottom (lowest), each WITH its octave, e.g. standard guitar ["E4","B3","G3","D3","A2","E2"], bass ["G2","D2","A1","E1"]. A missing octave is filled in s…

list_tabs

List the tabs in the user's EZTab library (id, title, artist, measures, last update). Tabs open for editing in the app are marked with the device. Use the id with open_tab.

ParameterTypeDescription
querystringFilter by title/artist (case-insensitive).

open_tab

Load a tab from the user's EZTab library into this session (replacing the current document) so it can be read and edited with the other tools. send_to_eztab then delivers it back to the app as a revision of that tab.

ParameterTypeDescription
id *stringTab id from list_tabs.

send_to_eztab

Send the current document to the EZTab app's inbox. The user then chooses in the app what to do with it — insert its measures at the cursor, create a new tab, or (for a document opened with open_tab) replace that tab — and it stays unsaved until they press Save. Call this once the document has been checked with get_tab.

ParameterTypeDescription
as_newbooleanFor a document opened with open_tab: send it as new material instead of a revision of that tab.
labelstringShort description shown in the app, e.g. 'Guitar II, bars 1–8'.
tracks_checkedbooleanSet to true after checking with the user that the extra tracks line up, when open_tab warned that they may be shifted.

set_title

Set the document title.

ParameterTypeDescription
title *string

set_artist

Set the document artist (may be empty).

ParameterTypeDescription
artist *string

set_cells

Set tab cells. value: a fret number (0-24), 'rest' (stops a sustaining note), 'mute' (a muted/dead 'x' stroke for cutting), or 'clear' (empty = previous note sustains through). Optional `bend` (0.5, 1, or 1.5 semitones) chokes a fret-number note. Optional `tie` joins a fret-number note to the previous note on the same string: true ties/slurs it (a matching pitch just sustains, no re-pick; a different pitch is a hammer-on / pull-off), 'slide' slides into it, 'tap' taps it with the picking hand (a note before it is not needed), false removes the join. When `tie` is omitted and the cell already h…

ParameterTypeDescription
edits *array
trackinteger0-based track (part) index from get_tab; default 0, the main track.

write_measures

Write whole measures, one text string per beat — the easiest way to transcribe a score. Each listed measure is replaced entirely (notes, chords, per-beat subdivisions). `measure` is the 0-based index; using the current measure count appends, so a transcription can be written in order without add_measures. `time` (e.g. "4/4", "6/8") is optional: it defaults to the measure being replaced, or the previous measure when appending. `beats` has exactly one string per beat of the time signature. A beat string is space-separated slots; the slot count is that beat's subdivision (1 = quarter, 2 = eigh…

ParameterTypeDescription
measures *array
trackinteger0-based track (part) to write; default 0. On a track other than 0, chord items (@Name) are rejected (chords belong to track 0) and `time` may not change an existing measure's time signature (it is sha…

set_chords

Set chord-name onsets per column of track 0 (chords belong to the main track; the same time grid as its tab cells, so chords can sit on any subdivision). `measure` and `column` are 0-based; column = the sum of earlier beats' subdivisions + slot-within-beat (see get_tab's ruler). A label of "rest" (or "N.C.") places a chord rest that stops the previous chord (rendered as N.C.). An empty label clears that column's chord.

ParameterTypeDescription
edits *array

set_key

Set or add a key (key change) starting at `measure`. measure 0 is the initial key.

ParameterTypeDescription
measure *integer
mode *string
tonic *string

remove_key

Remove the key change at `measure` (measure 0 cannot be removed).

ParameterTypeDescription
measure *integer

set_section

Set a section marker (e.g. 'Intro', 'Verse', 'Chorus') at `measure`. Empty label removes it.

ParameterTypeDescription
label *string
measure *integer

set_tempo

Set the playback tempo (quarter-note BPM). Without `measure` (or 0) this is the tempo at the start of the song; with `measure` >= 1 it sets a tempo change starting at that measure (an existing change there is updated). A tempo lasts until the next change. A change equal to the tempo before it is dropped.

ParameterTypeDescription
bpm *integer
measureinteger

remove_tempo

Remove the tempo change at `measure` (>= 1); the tempo before it then carries on. The start tempo (measure 0) cannot be removed.

ParameterTypeDescription
measure *integer

set_time_signature

Set a measure's time signature, e.g. beats=6 beatUnit=8 for 6/8. Shared by all tracks: every track's measure is resized, preserving cells/chords by index.

ParameterTypeDescription
beatUnit *integer
beats *integer
measure *integer

set_resolution

Set subdivisions per beat (1=quarter, 2=eighth, 4=sixteenth, 3=eighth triplet, 6=sixteenth triplet, 5=sixteenth quintuplet, 10=32nd quintuplet). Without `beat`, applies to every beat of the measure; with `beat` (0-based) only that beat changes, so straight and tuplet beats can mix in one measure. Existing notes are remapped.

ParameterTypeDescription
measure *integer
subdivisions *integer
beatinteger
trackinteger0-based track whose grid to change; default 0. Each track has its own subdivisions.

add_measures

Insert `count` empty measures into every track. Without `at`, appends; otherwise inserts before index `at`.

ParameterTypeDescription
atinteger
countinteger

remove_measure

Remove the measure at index `measure` from every track (at least one is kept).

ParameterTypeDescription
measure *integer

set_tuning

Replace the tuning / string count. Existing frets are preserved where strings overlap. Order is top (highest) to bottom (lowest).

ParameterTypeDescription
tuning *arrayOpen notes from the top (highest) string to the bottom (lowest), each WITH its octave, e.g. standard guitar ["E4","B3","G3","D3","A2","E2"], bass ["G2","D2","A1","E1"]. A missing octave is filled in s…
trackinteger0-based track (part) index from get_tab; default 0, the main track.

set_tone

Set a track's playback tone. Only the sound changes; the notes stay as written.

ParameterTypeDescription
tone *stringHow the track sounds in playback. Guitar tracks: clean, crunch (light overdrive), distortion, acoustic, piano, synth, strings. Bass tracks (named or tuned like a bass): clean, crunch (overdrive), acou…
trackinteger0-based track (part) index from get_tab; default 0, the main track.

set_backing_style

Set how the chord backing (the chords written with set_chords / @Name) sounds in playback: pad (the default soft pad), guitar (clean electric), acoustic (acoustic guitar), piano, synth, strings, or only the root — or a slash chord's bass note — on a bass (electric) or upright (upright bass).

ParameterTypeDescription
style *string

set_feel

Set the song's feel: straight (the default), swing (swung eighths — each pair of eighths plays as a triplet quarter + eighth), or swing16 (swung sixteenths). Playback follows it and the score shows the swing mark at the top. The notes stay as written.

ParameterTypeDescription
feel *string

add_track

Add a track (part) to the tab, e.g. a bass line or a second guitar — up to 4 tracks including the main one. It starts empty, on track 0's measures and grid; write it with write_measures / set_cells using the new `track` index.

ParameterTypeDescription
name *stringShown in the app, e.g. 'Bass' or 'Guitar 2'.
presetstring
tonestringPlayback tone (see set_tone); default clean.
tuningarrayOverrides preset. Open notes top (highest) to bottom, each WITH its octave (e.g. G2 D2 A1 E1).

remove_track

Remove a track (part) and its notes. Track 0 (the main track) cannot be removed.

ParameterTypeDescription
track *integer