@withpica/mcp-server
Version:
MCP Server for withPICA — enables AI assistants to interact with your withPICA music catalog
26 lines • 986 B
TypeScript
import { ToolDefinition, ToolExecutor } from "./index.js";
export type SignupTransport = "stdio" | "http";
export interface SignupToolsConfig {
/** Base PICA API URL (e.g. `https://withpica.com/api`). Trailing slash tolerated. */
apiUrl: string;
/** Stamped into the JWT body so the page knows which credential issuance branch to take. */
transport: SignupTransport;
/**
* HTTP only — DCR client identifier from the OAuth discovery context
* so the connector flow can be resumed after onboarding completes.
* MUST be null for stdio (the route enforces this server-side too).
*/
clientId?: string | null;
}
export declare class SignupTools {
private readonly apiUrl;
private readonly transport;
private readonly clientId;
constructor(config: SignupToolsConfig);
getTools(): Array<{
definition: ToolDefinition;
executor: ToolExecutor;
}>;
private signupStart;
}
//# sourceMappingURL=signup.d.ts.map