Skip to main content
Glama

Browserless MCP Server

generate_pdf

Convert URLs or HTML content into PDFs with customizable settings like headers, footers, margins, and layout using a browser automation interface.

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" }

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