import { NOTION_MCP_NAME, NOTION_MCP_URL, notionMcpSetupMessage, isNotionMcpConnected, } from './mcp.ts' /** * Describe notion-mcp MCP connection status, fallbacks, and export surface. * @returns Structured helper result for agents. * @example * import notion_mcp from 'kody:@kody/notion-mcp' * const result = await notion_mcp() * // => { ... } */ export default async function notionMcpOverview() { return { package: '@kody/notion-mcp', preferred: 'mcp', mcp: { name: NOTION_MCP_NAME, url: NOTION_MCP_URL, connected: isNotionMcpConnected(), setup: notionMcpSetupMessage(), }, oauthApiFallback: { package: '@kody/notion', publicUrl: 'https://kody.codes/@kody/notion', }, exports: ["smoke-test","search"], notes: [ 'This package wraps kody.mcp["notion"]. The MCP server name stays notion.', 'For OAuth or API-key helpers, use @kody/notion.', ], } }