Skip to main content
Glama

Browserless MCP Server

generate_pdf

Convert web pages or HTML content into PDFs using the Browserless MCP Server. Customize output with headers, footers, background printing, layout, and margins for precise document formatting.

Instructions

Generate PDF from URL or HTML content

Input Schema

NameRequiredDescriptionDefault
htmlNo
optionsNo
urlYes

Input Schema (JSON Schema)

{ "properties": { "html": { "type": "string" }, "options": { "properties": { "displayHeaderFooter": { "type": "boolean" }, "format": { "type": "string" }, "landscape": { "type": "boolean" }, "margin": { "properties": { "bottom": { "type": "string" }, "left": { "type": "string" }, "right": { "type": "string" }, "top": { "type": "string" } }, "type": "object" }, "printBackground": { "type": "boolean" } }, "type": "object" }, "url": { "type": "string" } }, "required": [ "url" ], "type": "object" }

Other Tools from Browserless MCP Server

Related Tools

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/Lizzard-Solutions/browserless-mcp'

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