/** * Shared MCP Server Factory * Creates a configured MCP server instance reusable across transports */ import { Server } from '@modelcontextprotocol/sdk/server/index.js'; import type { Client } from '@notionhq/client'; /** * Create a configured MCP server with all tools registered * @param notionClientFactory - Returns a Notion Client per invocation. * Stdio: always returns the same singleton. * HTTP: returns a per-request client with the user's OAuth token. */ export declare function createMCPServer(notionClientFactory: () => Client): Server; //# sourceMappingURL=create-server.d.ts.map