Skip to content

Built for people who want to own their automations. Join the waitlist for an invite.

Package listing

@kody/notion-mcp

src/index.ts

28 lines · 654 B · TypeScript
import {
	NOTION_MCP_NAME,
	NOTION_MCP_URL,
	notionMcpSetupMessage,
	isNotionMcpConnected,
} from './mcp.ts'

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.',
		],
	}
}