UNPKG

@withpica/mcp-server

Version:

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

28 lines • 1.16 kB
/** * Feedback Tools — MCP tool for agent-submitted feedback (ADR-184 slice 8). * * Thin wrapper over the existing /api/feedback → feedbackService pipeline. * Routes via `general_<category>` actionType so the downstream * teamTasksService.createFromGeneralFeedback fan-out handles role routing. * * ADR-187 compliance: response carries content[].text (narratable) — card * rendering deferred to a follow-on per the text-block-is-the-contract rule. * * pica_feedback_list (2026-10-19) closes the loop: the caller's own reports * and what the PICA team did about each — fixed, answered or won't fix, with * the note written for them. GET /api/feedback; scoped to the caller's * account in their organisation by the route, never by an argument. */ import { PicaClient } from "@withpica/mcp-sdk"; import { ToolDefinition, ToolExecutor } from "./index.js"; export declare class FeedbackTools { private pica; constructor(pica: PicaClient); getTools(): Array<{ definition: ToolDefinition; executor: ToolExecutor; }>; private listFeedback; private submitFeedback; } //# sourceMappingURL=feedback.d.ts.map