UNPKG

@withpica/mcp-server

Version:

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

25 lines • 1.02 kB
/** * My-Recent-Questions Tool — ADR-226 Phase 5. * * The user-facing auditability surface over the Phase 4 substrate. Lets the * caller see what they have been asking the AI to do, what tools ran, and * which client the request came from ("Claude Desktop did X / ChatGPT did * Y"). User-scoped via the `(user_id = auth.uid())` RLS policy added in * PR #255 + service-role + explicit user_id filter in the API route. * * Filters mirror the Atlas's "what did I ask the AI?" question shape — see * `creator-question-atlas.ts` entry resolving to this tool. */ import { PicaClient } from "@withpica/mcp-sdk"; import { Tier, ToolDefinition, ToolExecutor } from "./index.js"; export declare class MyRecentQuestionsTools { private pica; private getTier; constructor(pica: PicaClient, getTier: (name: string) => Tier | undefined); getTools(): Array<{ definition: ToolDefinition; executor: ToolExecutor; }>; private listMine; } //# sourceMappingURL=my-recent-questions.d.ts.map