Cesure
Write, edit, transpose and play guitar tabs and staff notation in Cesure.
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (3)
- HIGH
- MEDIUMin create_score
- MEDIUMin edit_measures
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"cesure": {
"url": "https://api.cesure.app/mcp"
}
}
}Remote-Endpunkte
https://api.cesure.app/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (14)
🟡create_score(score)
Create a score you write as a .cesure and open it as a draft, e.g. {"version":4,"score":{"title":"Song","tempo":96,"key":{"fifths":1,"mode":"minor"},"measures":[{"id":"p1","uncounted":false}],"tracks":[{"name":"Guitar","instrument":"pluck.guitar","tuning":["E4","B3","G3","D3","A2","E2"],"measures":[{"staves":[{"voices":["(E2@6 B2@5 E3@4).2 r.2"]}]}]},{"name":"Bass","instrument":"pluck.bass","tuning":["G2","D2","A1","E1"],"measures":[{"staves":[{"voices":["[email protected] r.2"]}]}]},{"name":"Piano","instrument":"keyboard.piano","measures":[{"staves":[{"voices":["(E4 G4 B4).2 r.2"]},{"voices":["E2.1"]}]}]}]}} (tuning lists the open strings from string 1, as pitches; a track without tuning has no strings, a piano writes its two hands on two staves). A measure that does not read or does not fill its time signature creates nothing, and the refusal names each fault with its place. Measure notation (.cesure): each voice is one string of beats separated by spaces. beat = content.duration[{d | tu 3}]; content = note | (note note …) | r; note = pitch[@string][{note props}] | x@string. Every beat carries its duration: -2 breve, 1 whole, 2 half, 4 quarter, 8, 16, 32, 64, 128, 256. A note is the pitch it sounds, named as meant (C4 = middle C, F#3, Bb2; D#5 is not Eb5); on a track with a tuning, @ and its string (from 1, the highest), never a fret: Cesure deduces it; without @, Cesure chooses the string. A track without tuning has no strings (a piano: two staves, right hand then left), and no @. A track may say "hideWhenEmpty":["never","always"] (one per staff, auto|always|never|instrument): "always" leaves a staff out of a system it plays nothing in, "instrument" only with the whole track, "auto" when the score says "hideEmptyStaves":true; the first system too only with "hideEmptyStavesInFirstSystem":true. x@6 mutes string 6. fret.string (3.1) is still read. A property's values: one bare (tu 3) or several in parentheses (tu (5 4)). Beat props: d dotted, tu 3 triplet on each beat of the group, its first beat also start 1 and its last stop 1 (MusicXML's tuplet start and stop; a triplet quarter and eighth is one group); a beat of a nested group carries every tu it is in, from the widest to the tightest, each with its own edges (tu 3 tu 3 start 2), beam up|down a stem forced to that side, beam split|merge the beam stopped or carried on to the next beat (written only where the source does). A staff's clef: "clef":"treble|soprano|mezzosoprano|alto|tenor|baritone|bass" plus 8vb|8va|15mb|15ma (treble8vb), and {clef alto} on a beat from there on: lines only, never the pitch. An octave line of a staff opens on the beat writing {ot (8va start 1)} and closes where the beat writing {ot (8va stop 1)} ends (8va|8vb|15ma|15mb), nothing between, every voice of the staff under it: its heads stand an octave or two from the pitch, which stays the sounding one. A measure's "chords":[{"chord":"C"},{"at":2,"chord":"G/B"}] writes its chord symbols, each at its instant in quarters, a beat struck there or not. Note props: t tie, h hammer/pull-off and sl slide to the next note on that string, v vibrato, be (0 0 15 4 60 4) a whole-tone bend (its points: each an offset along the note, 0 to 60, and a height in quarter tones; be (0 0 15 4 30 4 45 0 60 0) bends and releases, be (0 4 60 4) is a pre-bend), lr let ring (it sounds on past its length, its written duration unchanged), tw on a tied-from note: its tie waits for the next note of its pitch in its voice, past the beats between (an arpeggio held into its chord, that note marked t). Each voice fills its time signature exactly: 4/4 = 4 quarters = 8 eighths, 3/4 = 3 quarters, 6/8 = 6 eighths; rests complete a short one. The time signature and the marks below are a measure of the piece's, written once for every track, with its id and its "repeat" (the score's "measures", read_score's and edit_measures' measures); a track's measure holds its staves and chords alone, measure i of every track standing in measure i of the piece. A measure of the piece without numerator/denominator is 4/4, whatever came before. "barLineRight":"none" closes a measure on no visible bar line (a cadenza cut where the source draws none). "uncounted":true leaves a measure out of the bar count: it carries the number of the one before and shows none; on the first measure it declares the pickup, measure 0, and a short first measure without the key is read as the pickup ("uncounted":false makes it measure 1). "meter":[4,4] names the meter of an irregular measure no regular one gives (a piece all in a cadenza). "tsVisibility":false prints no time signature where the measure would engrave one. "barNumberDisplay":"hide" counts a measure without showing its number. "incomplete":true makes a measure irregular on purpose, in its own length (a pickup). In edit_measures a measure of the piece kept by its id keeps the marks it leaves out (a new signature drops incomplete and meter), a new one has none, and one written holds for the whole column (null clears barLineRight, barNumberDisplay and meter; false clears uncounted and incomplete; true clears tsVisibility). A time signature on a track's measure is that track's own, kept and never played. A second voice (a bass under a melody) is a second string in voices. Examples (4/4): "[email protected] [email protected] r.2" (C4 then D4 on string 3 (strings from 1, the highest), quarters; a half rest); "(E4@1 C4@2 G3@3).2 [email protected] r.4" (a chord, a half; a muted string); "E4.8 F#4.8 G4.4 Bb3.2" (notes by pitch alone (C4 = middle C): Cesure chooses their strings); "[email protected]{d} [email protected] F#[email protected]{tu 3} [email protected]{tu 3} [email protected]{tu 3} F#4@2{h}.8 [email protected]" (dotted quarter; a triplet of eighths (each beat carries it); a hammer-on to the next note); "[email protected] C4@3{t}.4 F#4@2{sl}.8 G#4@2{v}.8" (a tie to the note before, a slide, a vibrato). A measure of the piece: {"id":"p2","numerator":3,"denominator":4}, the track's measure in it: {"staves":[{"voices":["[email protected] F#[email protected] [email protected] [email protected]","[email protected]{d}"]}]}. The full format: https://cesure.app/format
Eingabe-Schema
{
"type": "object",
"properties": {
"score": {
"type": "string",
"description": "The score, a .cesure written in the notation described above."
}
},
"required": [
"score"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"properties": {}
}⚪import_score(score)
Open as a draft a score the person gives whole: a .cesure file's text, AlphaTex, or an "Open in Cesure" link. The score is taken as it is, never rewritten. A link to any other page (a video, a recording) opens nothing: Cesure reads no page.
Eingabe-Schema
{
"type": "object",
"properties": {
"score": {
"type": "string",
"description": "The .cesure text, AlphaTex, or Open in Cesure link, verbatim."
}
},
"required": [
"score"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"properties": {}
}🟢read_score(draft, track, from, to)
Read measures from..to of a track of the draft (all by default, 200 at most a call: past them, the answer's more says where to go on) as a .cesure file writes them: measures, the measures of the piece (id, time signature and marks, repeat signs), and trackMeasures, the track's own, one in each (voices in the compact notation, second voice, hands, ties included; chord symbols) — with the tempo changes of those measures, by id, a summary of the score and one of the track.
Eingabe-Schema
{
"type": "object",
"properties": {
"draft": {
"type": "string",
"description": "The draft: the id a previous tool gave (draft)."
},
"track": {
"type": "integer",
"description": "The track, from 1 (default 1).",
"minimum": 1
},
"from": {
"type": "integer",
"description": "First measure, from 1 (default 1).",
"minimum": 1
},
"to": {
"type": "integer",
"description": "Last measure (default the last; at most 200 are read a call).",
"minimum": 1
}
},
"required": [
"draft"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"properties": {}
}🔴edit_measures(draft, track, from, to, measures, ...)
Rewrite measures from..to (numbers, inclusive) of one track of the draft with .cesure measures, as read_score returns them: measures, the measures of the piece, and trackMeasures, the track's, one in each, as many; to = from - 1 inserts before from. A measure of the piece written with its id stays that measure, even rewritten; one written without its id is a new measure, and the one it stood for is removed with what it carried (a repeat it opened, say). A measure of the range left out is removed, and measures [] with trackMeasures [] removes the whole range. The other tracks follow column by column, as in the editor: a column is inserted, removed or given a time signature on every track; its repeat signs are carried as the editor carries them unless its measure of the piece writes repeat (null clears them), and a tempo change stays on its column (on the next one when its column is removed), so no other column changes tempo. A note written by its pitch alone (E4, Bb3) on a track with strings is given one by Cesure, which never moves a note written with its string (E4@1). The answer names the measures written. A written measure that does not read or does not fill its time signature refuses the whole call, the refusal naming each fault with its place; a measure sent back unchanged (same id and content) is kept as it was. Measure notation (.cesure): each voice is one string of beats separated by spaces. beat = content.duration[{d | tu 3}]; content = note | (note note …) | r; note = pitch[@string][{note props}] | x@string. Every beat carries its duration: -2 breve, 1 whole, 2 half, 4 quarter, 8, 16, 32, 64, 128, 256. A note is the pitch it sounds, named as meant (C4 = middle C, F#3, Bb2; D#5 is not Eb5); on a track with a tuning, @ and its string (from 1, the highest), never a fret: Cesure deduces it; without @, Cesure chooses the string. A track without tuning has no strings (a piano: two staves, right hand then left), and no @. A track may say "hideWhenEmpty":["never","always"] (one per staff, auto|always|never|instrument): "always" leaves a staff out of a system it plays nothing in, "instrument" only with the whole track, "auto" when the score says "hideEmptyStaves":true; the first system too only with "hideEmptyStavesInFirstSystem":true. x@6 mutes string 6. fret.string (3.1) is still read. A property's values: one bare (tu 3) or several in parentheses (tu (5 4)). Beat props: d dotted, tu 3 triplet on each beat of the group, its first beat also start 1 and its last stop 1 (MusicXML's tuplet start and stop; a triplet quarter and eighth is one group); a beat of a nested group carries every tu it is in, from the widest to the tightest, each with its own edges (tu 3 tu 3 start 2), beam up|down a stem forced to that side, beam split|merge the beam stopped or carried on to the next beat (written only where the source does). A staff's clef: "clef":"treble|soprano|mezzosoprano|alto|tenor|baritone|bass" plus 8vb|8va|15mb|15ma (treble8vb), and {clef alto} on a beat from there on: lines only, never the pitch. An octave line of a staff opens on the beat writing {ot (8va start 1)} and closes where the beat writing {ot (8va stop 1)} ends (8va|8vb|15ma|15mb), nothing between, every voice of the staff under it: its heads stand an octave or two from the pitch, which stays the sounding one. A measure's "chords":[{"chord":"C"},{"at":2,"chord":"G/B"}] writes its chord symbols, each at its instant in quarters, a beat struck there or not. Note props: t tie, h hammer/pull-off and sl slide to the next note on that string, v vibrato, be (0 0 15 4 60 4) a whole-tone bend (its points: each an offset along the note, 0 to 60, and a height in quarter tones; be (0 0 15 4 30 4 45 0 60 0) bends and releases, be (0 4 60 4) is a pre-bend), lr let ring (it sounds on past its length, its written duration unchanged), tw on a tied-from note: its tie waits for the next note of its pitch in its voice, past the beats between (an arpeggio held into its chord, that note marked t). Each voice fills its time signature exactly: 4/4 = 4 quarters = 8 eighths, 3/4 = 3 quarters, 6/8 = 6 eighths; rests complete a short one. The time signature and the marks below are a measure of the piece's, written once for every track, with its id and its "repeat" (the score's "measures", read_score's and edit_measures' measures); a track's measure holds its staves and chords alone, measure i of every track standing in measure i of the piece. A measure of the piece without numerator/denominator is 4/4, whatever came before. "barLineRight":"none" closes a measure on no visible bar line (a cadenza cut where the source draws none). "uncounted":true leaves a measure out of the bar count: it carries the number of the one before and shows none; on the first measure it declares the pickup, measure 0, and a short first measure without the key is read as the pickup ("uncounted":false makes it measure 1). "meter":[4,4] names the meter of an irregular measure no regular one gives (a piece all in a cadenza). "tsVisibility":false prints no time signature where the measure would engrave one. "barNumberDisplay":"hide" counts a measure without showing its number. "incomplete":true makes a measure irregular on purpose, in its own length (a pickup). In edit_measures a measure of the piece kept by its id keeps the marks it leaves out (a new signature drops incomplete and meter), a new one has none, and one written holds for the whole column (null clears barLineRight, barNumberDisplay and meter; false clears uncounted and incomplete; true clears tsVisibility). A time signature on a track's measure is that track's own, kept and never played. A second voice (a bass under a melody) is a second string in voices. Examples (4/4): "[email protected] [email protected] r.2" (C4 then D4 on string 3 (strings from 1, the highest), quarters; a half rest); "(E4@1 C4@2 G3@3).2 [email protected] r.4" (a chord, a half; a muted string); "E4.8 F#4.8 G4.4 Bb3.2" (notes by pitch alone (C4 = middle C): Cesure chooses their strings); "[email protected]{d} [email protected] F#[email protected]{tu 3} [email protected]{tu 3} [email protected]{tu 3} F#4@2{h}.8 [email protected]" (dotted quarter; a triplet of eighths (each beat carries it); a hammer-on to the next note); "[email protected] C4@3{t}.4 F#4@2{sl}.8 G#4@2{v}.8" (a tie to the note before, a slide, a vibrato). A measure of the piece: {"id":"p2","numerator":3,"denominator":4}, the track's measure in it: {"staves":[{"voices":["[email protected] F#[email protected] [email protected] [email protected]","[email protected]{d}"]}]}. The full format: https://cesure.app/format
Eingabe-Schema
{
"type": "object",
"properties": {
"draft": {
"type": "string",
"description": "The draft: the id a previous tool gave (draft)."
},
"track": {
"type": "integer",
"description": "The track, from 1 (default 1).",
"minimum": 1
},
"from": {
"type": "integer",
"description": "First measure replaced, from 1.",
"minimum": 1
},
"to": {
"type": "integer",
"description": "Last measure replaced; from - 1 to insert.",
"minimum": 0
},
"measures": {
"type": "array",
"items": {
"type": "object"
},
"description": "The new measures of the piece, as read_score returns them (id, time signature and marks, repeat); [] removes the range."
},
"trackMeasures": {
"type": "array",
"items": {
"type": "object"
},
"description": "The track's measures, one in each measure of the piece, as read_score returns them (staves, chords); [] removes the range."
}
},
"required": [
"draft",
"from",
"to",
"measures",
"trackMeasures"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"properties": {}
}🔴transpose(draft, semitones, notesOffTheNeck, harmonicsOffTheNeck)
Shift the notes of the draft by some semitones; the placement follows, and no note keeps a wrong pitch. A note no string of its track carries at its shifted pitch goes where notesOffTheNeck says: retune_lowest_string tunes the lowest string of the track down to the lowest of those it carries (4 semitones at most), then moves the others by octaves; change_octave moves each by the octaves that put it on the neck. A harmonic that rings in its own form at no shifted string goes where harmonicsOffTheNeck says: keep_harmonic keeps it a harmonic at the octave that holds it, play_fretted plays it as a fretted note at its pitch, losing the harmonic's timbre. By default the lowest string when it carries the notes with no octave, else octaves, and harmonics kept when an octave holds them; play_fretted when no harmonic leaves the neck changes nothing. A choice that cannot place the notes is refused, saying why and naming the one that can. The answer names each string tuned down (retunedStrings: track, string, from, to) and counts the notes moved by octaves (notesMovedByOctaves) and the harmonics played fretted (harmonicsPlayedFretted).
Eingabe-Schema
{
"type": "object",
"properties": {
"draft": {
"type": "string",
"description": "The draft: the id a previous tool gave (draft)."
},
"semitones": {
"type": "integer",
"description": "Semitones, -24 to 24.",
"minimum": -24,
"maximum": 24
},
"notesOffTheNeck": {
"type": "string",
"description": "retune_lowest_string or change_octave (default the first when it carries the notes with no octave).",
"enum": [
"retune_lowest_string",
"change_octave"
]
},
"harmonicsOffTheNeck": {
"type": "string",
"description": "keep_harmonic or play_fretted (default the first when an octave holds the harmonic).",
"enum": [
"keep_harmonic",
"play_fretted"
]
}
},
"required": [
"draft",
"semitones"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"properties": {}
}🔴refinger(draft, track, mode, searchCapo)
Place the notes of the draft again on the neck (string and fret), keeping their pitches: mode auto, standard (lowest frets) or optimized (fewest hand moves); searchCapo lets it choose a capo.
Eingabe-Schema
{
"type": "object",
"properties": {
"draft": {
"type": "string",
"description": "The draft: the id a previous tool gave (draft)."
},
"track": {
"type": "integer",
"description": "The track, from 1 (default every track).",
"minimum": 1
},
"mode": {
"type": "string",
"description": "auto (default), standard or optimized.",
"enum": [
"auto",
"standard",
"optimized"
]
},
"searchCapo": {
"type": "boolean",
"description": "Let the placement choose a capo (default false)."
}
},
"required": [
"draft"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"properties": {}
}🔴undo_last_change(draft)
Give the draft back the score it held before its last change (edit_measures, transpose, refinger, or an undo): the score it holds now becomes the one before, so calling it again redoes. One step only, and only when Cesure had room to keep that score; it says so when it had not.
Eingabe-Schema
{
"type": "object",
"properties": {
"draft": {
"type": "string",
"description": "The draft: the id a previous tool gave (draft)."
}
},
"required": [
"draft"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"properties": {}
}🟢search_catalog(query, language, offset)
Search Cesure's catalog of free pieces by words of a title, a composer or both: a piece is found when each word is in one of them, a short joining word such as 'by' aside; the best matches come first, 20 a call (offset skips that many; when there are more, the answer's more gives the next offset); returns title, artist, licence and link.
Eingabe-Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Words of a title or a composer; empty lists the catalog."
},
"language": {
"type": "string",
"description": "en (default), fr or es.",
"enum": [
"en",
"fr",
"es"
]
},
"offset": {
"type": "integer",
"description": "How many pieces to skip, best matches first (default 0): the answer's more gives the next.",
"minimum": 0
}
},
"required": [],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"properties": {}
}🟢open_in_cesure(draft)
Show the draft in the Cesure player, to read and hear it. Where the host draws apps, the player plays the draft in the conversation; everywhere, the answer gives the short link that opens it in Cesure, with no account, and the score's summary.
Eingabe-Schema
{
"type": "object",
"properties": {
"draft": {
"type": "string",
"description": "The draft: the id a previous tool gave (draft)."
}
},
"required": [
"draft"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"properties": {}
}🟢list_my_scores(offset)
The scores of the person's linked Cesure account ("My scores"), the most recently changed at the top, 200 a call (offset skips that many; when there are more, the answer's more gives the next offset): id, title, when last changed, and its tags; then every tag of the account, with how many scores carry it. Needs the account linked.
Eingabe-Schema
{
"type": "object",
"properties": {
"offset": {
"type": "integer",
"description": "How many scores to skip, most recent first (default 0): the answer's more gives the next.",
"minimum": 0
}
},
"required": [],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"properties": {}
}🟢read_my_score(id)
Open one score of the linked account as a draft, by the id list_my_scores gives: the answer is the draft and the score's summary; read_score reads its measures. Needs the account linked.
Eingabe-Schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The score's id, as list_my_scores gives it."
}
},
"required": [
"id"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"properties": {}
}🟡save_new_score(draft, title)
Save the draft as a new score in the linked account's library (never overwrites one; a free account keeps 3 scores), under a title (default the score's own). Needs the account linked.
Eingabe-Schema
{
"type": "object",
"properties": {
"draft": {
"type": "string",
"description": "The draft: the id a previous tool gave (draft)."
},
"title": {
"type": "string",
"description": "The title in the library (default the score's own)."
}
},
"required": [
"draft"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"properties": {}
}🔴update_my_score(draft)
Write the draft back over the score of the linked account's library it was opened from (read_my_score), as saving in the app does: refused, nothing overwritten, when the score was saved in Cesure since. The library keeps the score's earlier version. Needs the account linked.
Eingabe-Schema
{
"type": "object",
"properties": {
"draft": {
"type": "string",
"description": "The draft: the id a previous tool gave (draft)."
}
},
"required": [
"draft"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"properties": {}
}🔴organize_my_scores(create_tags, add, remove, delete_unused_tags)
Organize the scores of the linked account with tags, in one batch applied whole or not at all (at most 500 changes, counting the tags add creates): create_tags creates tags, add puts a tag on a score (creating the tag if the account has none of that name; names compare without case), remove takes it off, delete_unused_tags deletes tags no score carries. It never renames, deletes or changes a score, and no score's date moves. The opposite changes reverse an organizing (remove what add put, delete_unused_tags for the tags it created). Needs the account linked.
Eingabe-Schema
{
"type": "object",
"properties": {
"create_tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Tags to create, by name."
},
"add": {
"type": "array",
"items": {
"type": "object",
"properties": {
"score": {
"type": "string",
"description": "The score's id, as list_my_scores gives it."
},
"tag": {
"type": "string",
"description": "The tag's name, 1 to 30 characters."
}
},
"required": [
"score",
"tag"
]
},
"description": "Tags to put on scores."
},
"remove": {
"type": "array",
"items": {
"type": "object",
"properties": {
"score": {
"type": "string",
"description": "The score's id, as list_my_scores gives it."
},
"tag": {
"type": "string",
"description": "The tag's name, 1 to 30 characters."
}
},
"required": [
"score",
"tag"
]
},
"description": "Tags to take off scores."
},
"delete_unused_tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Tags to delete if no score carries them, by name."
}
},
"required": [],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"properties": {}
}Community
Nachweis