UNPKG

@withpica/mcp-server

Version:

MCP Server for withPICA — enables AI assistants to interact with your withPICA music catalog

43 lines • 1.64 kB
/** * Releases Tools — manage releases (albums, EPs, singles with release * dates, labels, distributors, UPCs, and artwork). * * ADR-149 (MCP tool-surface consolidation, Tier 1): consolidated to the * query+inspect pattern. * - pica_releases_query replaces pica_releases_list (identical executor) * - pica_releases_inspect replaces pica_releases_get (identical executor, * now also accepts release_id as an alias for id) * pica_releases_list / pica_releases_get were silent aliases of the pair * until mcp-server 2.99.0 removed them (founder, 2026-09-29). * * ADR-174 Decision 3 reconciliation: label and distributor are * FK-modelled via `label_organization_id` / `distributor_organization_id` * to `organisations`. Agents resolve a name to an ID via * `pica_labels_query` (ADR-174) or `pica_search_all` before calling * create/update. Freetext `label` was removed; it never corresponded to a * real column on `releases`. */ import { PicaClient } from "@withpica/mcp-sdk"; import { ToolDefinition, ToolExecutor } from "./index.js"; export declare class ReleasesTools { private pica; constructor(pica: PicaClient); getTools(): Array<{ definition: ToolDefinition; executor: ToolExecutor; }>; private deleteRelease; private attachTrack; private listTracks; private detachTrack; private reorderTracks; private attachRecordingWithWork; private listReleases; private getRelease; private createRelease; private updateRelease; private moveTrack; private createWithTracks; private completenessCheck; } //# sourceMappingURL=releases.d.ts.map