UNPKG

@withpica/mcp-server

Version:

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

24 lines • 853 B
/** * Onboarding Tools — pica_acknowledge_onboarding. * * OAuth-from-MCP signups (Claude.ai / ChatGPT / Cursor) bypass the * /onboarding wizard via the auth/callback isOAuthSignup branch. * The /api/mcp gate at handleMcpRequest then refuses every other * tool until the agent walks the user through identity / security * / intent and calls this tool to flip * user_profiles.mcp_onboarding_acknowledged=true. * * Companion to fix/oauth-new-user-signup-redirect (Stage 3). */ import { PicaClient } from "@withpica/mcp-sdk"; import { ToolDefinition, ToolExecutor } from "./index.js"; export declare class OnboardingTools { private pica; constructor(pica: PicaClient); getTools(): Array<{ definition: ToolDefinition; executor: ToolExecutor; }>; private acknowledge; } //# sourceMappingURL=onboarding.d.ts.map