UNPKG

@withpica/mcp-server

Version:

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

30 lines • 1.02 kB
/** * Import Tools - MCP tools for bulk CSV import of works, people, recordings, etc. * * Typical agent flow: * 1. pica_import_analyze — parse CSV and get AI-suggested mappings * 2. pica_import_validate — validate all rows against the mapping * 3. pica_import_execute — run the import (with optional dry_run first) * * Alternative flows: * - pica_import_fields — get available target fields for a domain * - pica_import_template — get an example CSV template */ import { PicaClient } from "@withpica/mcp-sdk"; import { ToolDefinition, ToolExecutor } from "./index.js"; export declare class ImportTools { private pica; constructor(pica: PicaClient); getTools(): Array<{ definition: ToolDefinition; executor: ToolExecutor; }>; private analyzeImport; private validateImport; private executeImport; private getImportFields; private getImportTemplate; private importStreamingLink; private importYouTubeLink; } //# sourceMappingURL=import.d.ts.map