Skip to main content
Glama
forscore-mcp

forscore-mcp

by Soham-Chatt

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FORSCORE_LIBRARYNoPath to the forScore library database.
FORSCORE_STATE_DIRNoWhere import CSVs are kept. The default is ~/Library/Application Support/forscore-mcp.
FORSCORE_BACKUP_DIRNoWhere library database backups go.
FORSCORE_DIRECT_WRITESNoSet to i-understand-this-can-damage-my-library in an MCP client's env configuration to enable direct writes. Direct writes are off by default and can cause crashes, unexpected behaviour or data loss.

Instructions

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

Tools to read and fix metadata (title, composer, reference, key, rating, difficulty, duration, genre, tags, labels) of scores and bookmarks in the user's forScore sheet-music library on macOS. Read get_conventions before proposing changes. Never apply a changeset the user has not approved; always preview first. Changes are written as a CSV the user imports in forScore (Backups › Metadata › Import); afterwards call verify_import.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_scoresA

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.

get_scoreA

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

list_valuesB

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.

list_setlistsB

List setlists with their scores and bookmarks in order.

audit_libraryB

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_changesetA

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}. Safe while forScore is open.

apply_changesetA

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.

verify_importB

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

undo_importB

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.

check_syncA

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

list_backupsA

List library backups, newest first.

create_backupC

Back up the library now.

restore_backupA

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.

convert_keyA

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

doctorA

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

get_conventionsA

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

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
conventions_resourceMetadata conventions and editing workflow.

TDQS

A3.5/5.0

Scored across 16 tools

Disambiguation5/5

Each tool targets a distinct resource+action: conversion, diagnostics, conventions, setlist listing, auditing, changeset preview/apply/verify/undo, sync check, backup list/create/restore, score list/get, and value listing. The only near-overlap (preview_changeset vs. apply_changeset without confirm, and audit_library vs. check_sync) is explicitly clarified in the descriptions. No two tools appear to do the same thing.

Naming Consistency4/5

Nearly all tools follow a clean snake_case verb_noun pattern (list_scores, get_score, preview_changeset, apply_changeset, verify_import, undo_import, check_sync, create_backup, restore_backup). The lone outliers are 'doctor' and 'convert_key' where 'doctor' is a bare noun, a minor but noticeable deviation. Still highly predictable overall.

Tool Count4/5

16 tools is on the heavier side but justified by a genuinely broad domain: discovery, staged metadata edits, verification/undo, backups, sync, auditing, and a key-code utility. Each tool maps to a real workflow step rather than redundant surface area. Slightly over the ideal 3-15 range, but not bloated.

Completeness4/5

The surface covers the core lifecycle well: read (list_scores, get_score, list_values, list_setlists), safely edit (preview/apply/verify/undo changesets), and protect data (backups, sync, audit, doctor, conventions). Minor gaps exist: setlists are list-only (no create/edit/reorder) and score creation/addition is not represented. These are workaround-able given the CSV/forScore workflow but are real functional holes.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues