@withpica/mcp-server
Version:
MCP Server for withPICA — enables AI assistants to interact with your withPICA music catalog
40 lines • 1.58 kB
TypeScript
/**
* Shows Tools — live shows and tour credits.
*
* Four tools: log (write), query (read), match (write), and inspect (read,
* ADR-366: one show as its page reads it, each setlist line's match).
* Discovery is the `log-a-show` skill, not more tools.
*
* Naming: `pica_register_set` is the Ableton/DAW capture thread, where "set"
* means a DAW set. Nothing here is named `pica_log_set` or similar — these
* tools are named around "show".
*
* Honesty constraints these tools encode (they are the feature, not
* decoration): every performing-rights society takes a setlist through a
* human web form, never an API call, so nothing here may imply pica files
* anything with one. And a song the user did not write earns them nothing
* from a performance of it, so the log tool says that plainly instead of
* implying a claim.
*/
import { PicaClient } from "@withpica/mcp-sdk";
import type { ToolDefinition, ToolExecutor } from "./index.js";
export declare class ShowsTools {
private pica;
constructor(pica: PicaClient);
getTools(): Array<{
definition: ToolDefinition;
executor: ToolExecutor;
}>;
private logShow;
private queryShows;
private inspectShow;
private matchSetlistItem;
}
type ShowView = Awaited<ReturnType<PicaClient["shows"]["inspect"]>>;
/**
* One line for the answer. Possible matches are counted as possible, never
* folded into "matched": a title hit is not a basis for any claim (ADR-313).
*/
export declare function showSummary(view: ShowView): string;
export {};
//# sourceMappingURL=shows.d.ts.map