@withpica/mcp-server
Version:
MCP Server for withPICA — enables AI assistants to interact with your withPICA music catalog
31 lines • 1.27 kB
TypeScript
/**
* Release Rich Render — ADR-208 Phase 3 Primitive D.
*
* `pica_release_show` is the catalog's first MCP tool that returns
* `image` + `text` content blocks in a single agent turn. Universal floor
* is image + text only — `resource_link` is deferred to Phase 3.5 because
* no release detail page exists in the codebase yet (see
* docs/follow-ups/2026-04-30-adr208-phase3-5-release-detail-page.md).
*
* Cover-art bytes come from a new Next.js endpoint
* (`/api/admin/releases/[id]/cover-art-thumbnail`) that does the sharp
* resize + cache server-side, so this tool stays free of native deps and
* keeps the customer-distributed stdio binary small.
*
* `_meta.ui.resourceUri` points at `ui://pica/release` for MCP Apps
* clients; the resource handler ships a stub HTML in Phase 3 (full
* interactive iframe is queued under the ADR-200 Phase 1.x backlog).
*/
import { PicaClient } from "@withpica/mcp-sdk";
import { ToolDefinition, ToolExecutor } from "./index.js";
export declare class ReleaseRichTools {
private pica;
constructor(pica: PicaClient);
getTools(): Array<{
definition: ToolDefinition;
executor: ToolExecutor;
}>;
private show;
private resolveLabelName;
}
//# sourceMappingURL=release-rich.d.ts.map