@withpica/mcp-server
Version:
MCP Server for withPICA — enables AI assistants to interact with your withPICA music catalog
26 lines • 1.15 kB
TypeScript
/**
* Purchases Tools — intentionally empty.
*
* `pica_credits_purchase` was removed from the MCP surface 2026-04-22 (see
* docs/MCP_REFINEMENT_LOG.md entry B-001). The underlying SDK method,
* `POST /api/admin/credits/purchase` route, and `createCreditPurchaseSession`
* were retired 2026-05-06 with the move to capacity-tier subscriptions
* (ADR-205). The Stripe webhook handler still recognises the legacy
* `credit_purchase` metadata to award credits if any stale checkout session
* completes; `creditsService.getPackageById` and `getPackages` are retained
* for that webhook path. Do not delete those helpers even though the active
* surface looks dead.
*
* Kept as a class with an empty `getTools()` so tools/index.ts doesn't need
* to change imports or wiring — the class is a deliberate tombstone.
*/
import { PicaClient } from "@withpica/mcp-sdk";
import { ToolDefinition, ToolExecutor } from "./index.js";
export declare class PurchasesTools {
constructor(_pica: PicaClient);
getTools(): Array<{
definition: ToolDefinition;
executor: ToolExecutor;
}>;
}
//# sourceMappingURL=purchases.d.ts.map