Skip to main content
Glama

doc-ops-mcp

by Tele-AI

convert_markdown_to_pdf

Convert Markdown files to PDF with customizable themes, table of contents, watermarks, and QR codes. Automatically saves output to a specified directory, streamlining document generation for clean, styled results.

Instructions

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.

Input Schema

NameRequiredDescriptionDefault
addQrCodeNoAdd QR code to PDF (requires QR_CODE_IMAGE environment variable)
addWatermarkNoAdd watermark to PDF (uses WATERMARK_IMAGE environment variable or default text "doc-ops-mcp")
includeTableOfContentsNoGenerate table of contents
markdownPathYesMarkdown file path to convert
themeNoTheme to applygithub

Input Schema (JSON Schema)

{ "properties": { "addQrCode": { "default": false, "description": "Add QR code to PDF (requires QR_CODE_IMAGE environment variable)", "type": "boolean" }, "addWatermark": { "default": false, "description": "Add watermark to PDF (uses WATERMARK_IMAGE environment variable or default text \"doc-ops-mcp\")", "type": "boolean" }, "includeTableOfContents": { "default": false, "description": "Generate table of contents", "type": "boolean" }, "markdownPath": { "description": "Markdown file path to convert", "type": "string" }, "theme": { "default": "github", "description": "Theme to apply", "enum": [ "default", "github", "academic", "modern" ], "type": "string" } }, "required": [ "markdownPath" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Tele-AI/doc-ops-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server