#!/usr/bin/env node /** * ┌─────────────────────────────────────────────────────────────────────────┐ * │ PDF MCP SERVER - Main Entry Point │ * ├─────────────────────────────────────────────────────────────────────────┤ * │ Filename: index.ts │ * │ Language: TypeScript │ * │ MCP Server: PDF Operations Server │ * │ │ * │ Purpose: │ * │ Main entry point for the PDF MCP server. Initializes the MCP server, │ * │ registers all PDF tools, and starts the stdio transport for │ * │ communication with MCP clients (Claude Desktop, VS Code Copilot). │ * │ │ * │ Why this file exists: │ * │ - Bootstraps the MCP server application │ * │ - Registers all available PDF tools │ * │ - Configures stdio transport for local MCP clients │ * │ - Provides centralized error handling and logging │ * │ │ * │ Available Tools: │ * │ 1. count-pdf-pages: Count total pages in a PDF │ * │ 2. extract-pdf-text: Extract all text from a PDF │ * │ 3. extract-pdf-metadata: Get PDF metadata (author, title, etc.) │ * │ 4. summarize-pdf: Summarize PDF content using LLM │ * │ 5. answer-pdf-question: Answer questions about PDF content │ * │ 6. add-pdf-watermark: Add custom watermark to PDF pages │ * │ 7. add-pdf-header-footer: Add headers/footers to PDF pages │ * │ │ * │ MCP Clients: │ * │ - Claude Desktop: Add to ~/Library/Application Support/Claude/... │ * │ - VS Code Copilot: Configure in settings.json │ * │ │ * │ Transport: │ * │ - stdio: Standard input/output for local process communication │ * │ │ * │ Dependencies: │ * │ - @modelcontextprotocol/sdk: MCP server SDK │ * │ - All tool implementations from ./tools/ │ * │ │ * │ Author: PDF MCP Team │ * │ Created: 2025-10-29 │ * │ Version: 1.0.0 │ * └─────────────────────────────────────────────────────────────────────────┘ */ export {}; //# sourceMappingURL=index.d.ts.map