list_templates
List Templates
Retrieve a paginated list of document templates available in the workspace. Use this to discover template IDs before generating PDFs.
Ask your agent in plain language. Each of these maps to a real tool on the server.
list_templates
Retrieve a paginated list of document templates available in the workspace. Use this to discover template IDs before generating PDFs.
generate_pdf
Generate a downloadable PDF document from a pre-designed HTML/CSS template by providing dynamic data as a JSON payload. Optionally encrypt the PDF with passwords and set granular permission controls. The provider download URL **expires after 10 minutes**; the generated file is also prepared for download immediately. Templates support Handlebars-like expressions for variable interpolation, conditionals, loops, and barcode generation.
get_workspace
Retrieve the workspace associated with the connected API key, including its name, active status, and creation time.
Every client uses the same Magic MCP URL, and so does any other MCP client. Add it once and sign in with SSO.
{"mcpServers": {"metorial": {"url": "<your-magic-mcp-url>"}}}
claude mcp add --transport http metorial <your-magic-mcp-url>
codex mcp add metorial --url <your-magic-mcp-url>codex mcp login metorial
One governed layer for every app your agents reach, not a separate connector per tool.
Discover workspace templates, inspect the connected workspace, and generate downloadable PDF documents from HTML/CSS templates with dynamic JSON data. Templates support variables, conditionals, loops, barcodes, metadata, and bookmarks. PDF protection and permission controls depend on your subscription.
Common questions about connecting Pdfless to AI agents with Metorial.