@withpica/mcp-server
Version:
MCP Server for withPICA — enables AI assistants to interact with your withPICA music catalog
55 lines • 2.42 kB
TypeScript
/**
* ADR-363 — connect: two people agree, each for themselves, that their AIs
* may talk through PICA. A connection shows each side only the other's
* name, handle and bio; it opens no catalogue and changes none.
*
* - pica_contacts_list (read) — your requests, connections, and requests to you
* - pica_contacts_request (write) — ask to connect, by PICA handle or email
* - pica_contacts_answer (write) — yes or not now to a request to you; an AI's
* yes becomes an approval the person confirms
* - pica_contacts_end (write) — end a connection, or withdraw your request
*
* ADR-364 ask, over a live connection:
* - pica_contacts_askable (read) — songs you may ask a contact about
* - pica_contacts_ask (write) — ask about one song, one topic
* - pica_contacts_questions (read) — questions to you, and yours with answers
* - pica_contacts_draft_answer (write) — a draft the person sends in PICA
* - pica_contacts_open (write) — an approval to open songs to a contact
* - pica_contacts_close (write) — close an opening
*
* ADR-365 answer or hold:
* - pica_contacts_propose (write) — a proposal about the contact's own line
* - pica_contacts_draft_reply (write) — a draft yes / no / different version
* - pica_contacts_standing_answers (read) — what PICA answers for you
* - pica_contacts_set_standing_answer (write) — an approval to switch one on
* - pica_contacts_end_standing_answer (write) — switch one off
*
* The routes refuse an organisation's API key: a connection is one
* person's, made under their own sign-in or agent grant.
*/
import { PicaClient } from "@withpica/mcp-sdk";
import { ToolDefinition, ToolExecutor } from "./index.js";
export declare class ContactsTools {
private pica;
constructor(pica: PicaClient);
getTools(): Array<{
definition: ToolDefinition;
executor: ToolExecutor;
}>;
private list;
private request;
private answer;
private askable;
private ask;
private questions;
private draftAnswer;
private open;
private closeOpening;
private propose;
private draftReply;
private standingAnswers;
private setStandingAnswer;
private endStandingAnswer;
private end;
}
//# sourceMappingURL=contacts.d.ts.map