You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: 'Add watermarks (image or text) to PDF documents',
2716
+
description: 'Add watermarks to PDF documents. Supports both text and image watermarks. Priority: user text > user image > environment variable image > default text "doc-ops-mcp"',
watermarkText: {type: 'string',description: 'Watermark text (ASCII only)'},
2721
+
watermarkImage: {type: 'string',description: 'Watermark image path (PNG/JPG). Has higher priority than environment variable but lower than watermarkText.'},
2722
+
watermarkText: {type: 'string',description: 'Watermark text content. Has highest priority. If not provided, will use image or default text "doc-ops-mcp".'},
description: 'Add QR code to PDF documents with friendly text below',
2737
+
description: 'Add QR code to PDF documents with friendly text below. QR code must be an image file (PNG/JPG). Priority: user provided path > environment variable QR_CODE_IMAGE',
'Enhanced DOCX to PDF conversion with perfect Word style replication and Playwright integration. Automatically adds watermark if WATERMARK_IMAGE environment variable is set. QR code can be added by setting addQrCode=true (requires QR_CODE_IMAGE environment variable). Output directory is controlled by OUTPUT_DIR environment variable. Files will be automatically saved to OUTPUT_DIR with auto-generated names.',
2771
+
'Enhanced DOCX to PDF conversion with perfect Word style replication and Playwright integration. Watermark can be added by setting addWatermark=true (uses WATERMARK_IMAGE environment variable or default text "doc-ops-mcp"). QR code can be added by setting addQrCode=true (requires QR_CODE_IMAGE environment variable). Output directory is controlled by OUTPUT_DIR environment variable. Files will be automatically saved to OUTPUT_DIR with auto-generated names.',
2740
2772
inputSchema: {
2741
2773
type: 'object',
2742
2774
properties: {
@@ -2751,6 +2783,11 @@ const TOOL_DEFINITIONS = {
2751
2783
description: 'Chinese font family to use',
2752
2784
default: 'Microsoft YaHei',
2753
2785
},
2786
+
addWatermark: {
2787
+
type: 'boolean',
2788
+
description: 'Add watermark to PDF (uses WATERMARK_IMAGE environment variable or default text "doc-ops-mcp")',
2789
+
default: false,
2790
+
},
2754
2791
addQrCode: {
2755
2792
type: 'boolean',
2756
2793
description: 'Add QR code to PDF (requires QR_CODE_IMAGE environment variable)',
@@ -2818,7 +2855,7 @@ const TOOL_DEFINITIONS = {
2818
2855
convert_markdown_to_pdf: {
2819
2856
name: 'convert_markdown_to_pdf',
2820
2857
description:
2821
-
'Enhanced Markdown to PDF conversion with beautiful styling and theme support. Automatically adds watermark if WATERMARK_IMAGE environment variable is set. QR code can be added by setting addQrCode=true (requires QR_CODE_IMAGE environment variable). Requires playwright-mcp for final PDF generation. Output directory is controlled by OUTPUT_DIR environment variable. Files will be automatically saved to OUTPUT_DIR with auto-generated names.',
2858
+
'Enhanced Markdown to PDF conversion with beautiful styling and theme support. Watermark can be added by setting addWatermark=true (uses WATERMARK_IMAGE environment variable or default text "doc-ops-mcp"). QR code can be added by setting addQrCode=true (requires QR_CODE_IMAGE environment variable). Requires playwright-mcp for final PDF generation. Output directory is controlled by OUTPUT_DIR environment variable. Files will be automatically saved to OUTPUT_DIR with auto-generated names.',
2822
2859
inputSchema: {
2823
2860
type: 'object',
2824
2861
properties: {
@@ -2834,6 +2871,11 @@ const TOOL_DEFINITIONS = {
2834
2871
description: 'Generate table of contents',
2835
2872
default: false,
2836
2873
},
2874
+
addWatermark: {
2875
+
type: 'boolean',
2876
+
description: 'Add watermark to PDF (uses WATERMARK_IMAGE environment variable or default text "doc-ops-mcp")',
2877
+
default: false,
2878
+
},
2837
2879
addQrCode: {
2838
2880
type: 'boolean',
2839
2881
description: 'Add QR code to PDF (requires QR_CODE_IMAGE environment variable)',
0 commit comments