UNPKG

@withpica/mcp-server

Version:

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

40 lines • 1.49 kB
/** * ADR-237 — Opt-in public handles + user-authored bio + avatar. * * Surfaces 6 tools backing the cross-org discovery model: * * Reads (scope: read:people): * - pica_users_find_by_handle — exact-match lookup (privacy-preserving) * - pica_users_get_my_profile — caller's own full profile * * Writes (scope: write:people): * - pica_users_set_handle — claim handle (rate-limited) * - pica_users_clear_handle — release handle * - pica_users_set_bio — write your bio (your own person's * biography), or settle a waiting choice * - pica_users_set_avatar_url — write avatar URL * * pica_users_import_bio_from_person was retired with one bio per person * (RETIRED_TOOLS in ./deprecations.ts). * * `pica_collaborators_invite` (ADR-236) is separately extended to * accept `recipient: {kind: "handle"}` and resolves to email * server-side; that's wired in `./collaborators.ts`. */ import { PicaClient } from "@withpica/mcp-sdk"; import { ToolDefinition, ToolExecutor } from "./index.js"; export declare class UsersTools { private pica; constructor(pica: PicaClient); getTools(): Array<{ definition: ToolDefinition; executor: ToolExecutor; }>; private findByHandle; private setHandle; private clearHandle; private getMyProfile; private setBio; private setAvatarUrl; } //# sourceMappingURL=users.d.ts.map