forScore

v1.1.0
io.github.Soham-Chatt/forscore-mcp Checked 1 day ago Published 4 days ago

Read and clean up forScore sheet-music library metadata (composers, opus numbers, keys, tags).

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

list_scores

List scores and their bookmarks, a page at a time (see `total`; raise `offset` for more). Filters combine: `query` searches titles, references, composers, genres and tags; composer/genre/tag/label/library match a value exactly; `kind` is "score" or "bookmark"; `missing` names a field that must be empty (e.g. "composers", "reference", "key"). Items are compact (empty fields omitted) unless `full` is true.

ParameterTypeDescription
composer
fullboolean
genre
kind
label
library
limitinteger
missing
offsetinteger
query
tag

get_score

Get one score or bookmark by UUID, exact title, or "Score › Bookmark".

ParameterTypeDescription
match *string

list_values

List every composer, genre, tag, label or library in use, with usage counts (and sort names for composers). Unused values are hidden, as in forScore.

ParameterTypeDescription
kind *
include_unusedboolean

list_setlists

List setlists with their scores and bookmarks in order.

audit_library

Find likely duplicate titles, identical PDFs, PDF file names that differ from titles (rename those in forScore: changing a title there can rename the file), and composer sort names worth checking.

preview_changeset

Dry-run a changeset on a copy of the library and return the per-item diff. Format: {"renames": {"composers": {"Old": "New"}}, "sort_names": {"Composer": "Sort"}, "items": [{"match": "<uuid, title or 'Score › Bookmark'>", "set": {"title", "reference", "key", "rating" (0-5), "difficulty" (0-3), "duration" ("m:ss"), "composers", "genres", "tags", "labels", "libraries"}, "add": {"tags": [...]}, "remove": {...}}], "prune": true, "libraries": {"create": [...], "rename": {"Old": "New"}, "delete": [...]}, "setlists": {"create": {"Title": ["<score match>", ...]}, "rename": {"Old": "New"}, "set": {"Ti…

ParameterTypeDescription
changeset *object

apply_changeset

Write an approved changeset. Without confirm=true this only previews. method "csv" (default, supported by forScore): creates an import CSV and sends it to forScore; tell the user the `next_step` (import it in Backups › Metadata, check forScore's preview, tap Save), then call `verify_import`. Changes CSV cannot carry are listed under `skipped`. method "direct" writes the database itself (unsupported by forScore); it only works if the user turned on direct writes themselves, needs forScore quit, and should only be used for skipped changes such as library membership or composer sort names, and…

ParameterTypeDescription
changeset *object
confirmboolean
methodstring

verify_import

After the user imported a CSV: check field by field that forScore applied it.

ParameterTypeDescription
import_id *string

undo_import

Create (and send to forScore) a CSV that restores the items of an earlier import. The user imports it the same way. Requires confirm=true.

ParameterTypeDescription
import_id *string
confirmboolean

check_sync

List metadata that differs between the library and the sync files other devices (iPad, iPhone) receive. Empty means everything is in sync.

list_backups

List library backups, newest first.

create_backup

Back up the library now.

restore_backup

Replace the library with a backup (the current state is backed up first). Only with direct writes on; requires forScore to be quit and confirm=true. Prefer undo_import.

ParameterTypeDescription
backup_id *string
confirmboolean

convert_key

Convert between a key name ("E♭ major") and forScore's stored code (300).

ParameterTypeDescription
value *string

doctor

Check that the library is reachable, in sync, and whether changes can be applied now.

get_conventions

The metadata conventions and the safe editing workflow. Read before proposing changes.