UNPKG

@withpica/mcp-server

Version:

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

56 lines • 2.33 kB
/** * Projects Tools — group works into projects (albums, EPs, compilations, or any collection) * * ADR-149 (MCP tool-surface consolidation, Tier 2): consolidated to the * query+inspect pattern. * - pica_projects_query replaces pica_projects_list (identical executor) * - pica_projects_inspect replaces pica_projects_get (identical executor, * now also accepts project_id as an alias for id) * pica_projects_get was REMOVED in the mcp-server 2.93.0 WS5 removal sweep * (0 calls/30d in prod); pica_projects_list stayed a silent alias until * mcp-server 2.99.0 removed it too (founder, 2026-09-29). */ import { PicaClient } from "@withpica/mcp-sdk"; import { ToolDefinition, ToolExecutor } from "./index.js"; export declare class ProjectsTools { private pica; constructor(pica: PicaClient); getTools(): Array<{ definition: ToolDefinition; executor: ToolExecutor; }>; private listProjects; private getProject; private createProject; private updateProject; private deleteProject; private attachOrDetachWorks; private attachWorks; /** * ADR-289 Wave B2 item 2 — `detach: true` mode, ports the bespoke * assistant's `remove_work_from_project`. Removes the `project_works` * junction row for each listed work; the work itself is untouched. */ private detachWorks; private static errorResult; /** * ADR-289 Wave C1 — action-dispatched participant management, ports the * bespoke assistant's add_participants / update_participant / * remove_participant / list_project_participants / get_participant_details * quintet. * * Unlike pica_artist_projects (Wave B2), an unrecognized action string is * explicitly rejected rather than silently falling through to 'list'. */ private manageParticipants; /** * ADR-289 Wave C1 — action-dispatched multimedia management, ports the * bespoke assistant's list_project_multimedia / add_multimedia_to_project / * update_project_multimedia / remove_multimedia_from_project quartet. * * Unlike pica_artist_projects (Wave B2), an unrecognized action string is * explicitly rejected rather than silently falling through to 'list'. */ private manageMultimedia; } //# sourceMappingURL=projects.d.ts.map