UNPKG

@withpica/mcp-server

Version:

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

49 lines • 2.42 kB
/** * Multimedia Tools - MCP tools for managing multimedia assets */ import { PicaClient, type PageItemResult, type PageSectionResult, type SiteAddressCheck, type SiteLiveResult, type SiteProfileResult, type SiteSongsResult, type SiteState, type SiteImageResult } from "@withpica/mcp-sdk"; import { ToolDefinition, ToolExecutor } from "./index.js"; export declare class MultimediaTools { private pica; constructor(pica: PicaClient); getTools(): Array<{ definition: ToolDefinition; executor: ToolExecutor; }>; private searchMultimedia; private inspectMultimedia; private createMultimedia; private importFromUrl; private linkYoutube; private linkWork; private setSiteImage; private takeOffPage; private siteGet; private siteAddressCheck; private siteProfileSet; private siteSongsFeature; private siteGoLive; private setPageSection; private putBackOnPage; } /** The page's public address: its own host on withpica.com, else /p/<address>. */ export declare function pageUrl(address: string): string; /** The answer for pica_site_get. Exported for the tool's tests. */ export declare function siteStateSentence(s: SiteState): string; /** The answer for pica_site_address_check. Exported for the tool's tests. */ export declare function siteAddressSentence(c: SiteAddressCheck): string; /** The answer for pica_site_profile_set. Exported for the tool's tests. */ export declare function siteProfileSentence(r: SiteProfileResult): string; /** The answer for pica_site_songs_feature. Exported for the tool's tests. */ export declare function siteSongsSentence(r: SiteSongsResult): string; /** The answer for pica_site_go_live. Exported for the tool's tests. */ export declare function siteLiveSentence(r: SiteLiveResult): string; /** The answer for a section switch. Exported for the tool's tests. */ export declare function pageSectionSentence(result: PageSectionResult): string; /** Where a person sees what is on their page and puts things back. */ export declare function pageListUrl(): string; /** The answer for a take-off or put-back. Exported for the tool's tests. */ export declare function pageItemSentence(result: PageItemResult): string; /** The answer, in words to pass on. Exported for the tool's tests. */ export declare function siteImageSentence(result: SiteImageResult): string; //# sourceMappingURL=multimedia.d.ts.map