@modelcontextprotocol/server-pdf 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,11 @@
1
+ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
2
+ /**
3
+ * Initialize the PDF index with the given URLs.
4
+ * Must be called before createServer().
5
+ */
6
+ export declare function initializePdfIndex(urls: string[]): Promise<void>;
7
+ /**
8
+ * Creates a new MCP server instance with tools and resources registered.
9
+ * Each HTTP session needs its own server instance because McpServer only supports one transport.
10
+ */
11
+ export declare function createServer(): McpServer;