@withpica/mcp-server
Version:
MCP Server for withPICA — enables AI assistants to interact with your withPICA music catalog
31 lines • 1.22 kB
TypeScript
/**
* ADR-222 Sync Placements — six MCP tools (query, inspect, create, update,
* delete, cite) over the W2 service surface (lib/services/sync-placements.ts).
*
* stdio path: this file calls the SDK (PicaClient.syncPlacements). HTTP
* transport mirrors the same six tools but calls the service directly via
* dynamic import in app/api/mcp/route.ts (per the W3 Stage 1 audit §2.2).
*
* Mutating tools (_create, _update, _delete, _cite) are wrapped with
* `withBillingGate` per the established pattern. _delete additionally
* surfaces a structured OPERATOR_REQUIRED error from the service when a
* customer agent calls it (operators interact via team-mcp-server, not
* this customer-facing surface — see W3 Stage 1 audit §3 + §11.F).
*/
import { PicaClient } from "@withpica/mcp-sdk";
import { ToolDefinition, ToolExecutor } from "./index.js";
export declare class SyncPlacementsTools {
private pica;
constructor(pica: PicaClient);
getTools(): Array<{
definition: ToolDefinition;
executor: ToolExecutor;
}>;
private query;
private inspect;
private create;
private update;
private delete;
private cite;
}
//# sourceMappingURL=sync-placements.d.ts.map