# PdfBroker.io

> Cloud PDF generation from HTML, CSS and XSL-FO, with PDF/A and PDF/UA support.

- name: io.pdfbroker/pdf
- version: 1.2.0
- connection class: R1 (autonomous)
- trust: 80/100 flags: no-repository
- quality: 77/100 (good)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/io.pdfbroker%2Fpdf
- tools: https://api.protogrid.dev/v1/servers/io.pdfbroker%2Fpdf/tools

**An agent can connect on its own if it already holds `X_PDFBROKER_CLIENTID`, `X_PDFBROKER_CLIENTSECRET`, `X_PDFBROKER_CLIENTID`.** Remote endpoint behind a static API key or header. The registry never sees the value; the agent fills the placeholder.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "pdf": {
      "type": "http",
      "url": "https://mcp.pdfbroker.io/",
      "headers": {
        "X-PdfBroker-ClientId": "${X_PDFBROKER_CLIENTID}",
        "X-PdfBroker-ClientSecret": "${X_PDFBROKER_CLIENTSECRET}",
        "Authorization": "${X_PDFBROKER_CLIENTID}"
      }
    }
  }
}
```

Placeholders to fill: `${X_PDFBROKER_CLIENTID}`, `${X_PDFBROKER_CLIENTSECRET}`, `${X_PDFBROKER_CLIENTID}`.

## Trust

- hygiene: 80
- liveness: 100
- freshness: 85
- provenance: 55
- drivers: +dns-namespace +website +reachable +uptime-100% ~updated-62d-ago -no-repository
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 77/100 (good)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 71 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- fail `tools.annotations`: no tool declares readOnlyHint or destructiveHint, so clients cannot tell safe calls from risky ones
- fail `tools.directory_hints`: no tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: html_to_pdf_wk (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); html_to_pdf (readOnlyHint, destructiveHint, idempotentHint, openWorldHint)
- pass `tools.token_cost`: about 2,130 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump

### stability: 100 (weight 15)

- pass `stability.changes`: no tool changes in 30 days
- pass `stability.rug_pull`: no tool changed its meaning under the same name

### dependencies: 67 (weight 15)

- pass `deps.known_vulns`: no known advisory in 98 resolved packages
- fail `deps.mcp_sdk_version`: @modelcontextprotocol/sdk 1.30.1 has 1 known advisory (GHSA-6qxp-vccf-f47h); update @modelcontextprotocol/sdk to 1.31.0 or later
- pass `deps.resolvable`: @pdfbroker/mcp-server@1.2.0 resolved: 98 packages

- tools: 2, about 2,130 tokens to load them all
- tool set hash: e9e025627852114a6a961e84e13095aa
- badge: [![protogrid quality](https://protogrid.dev/badge/io.pdfbroker/pdf.svg)](https://protogrid.dev/servers/io.pdfbroker/pdf)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Tool changes

_No tool definition changes recorded._

## Dependencies

- npm @pdfbroker/mcp-server@1.2.0: resolved, 97 dependencies, MCP SDK @modelcontextprotocol/sdk 1.30.1
  - GHSA-6qxp-vccf-f47h (high) in `` @modelcontextprotocol/sdk@1.30.1 ``, direct, fixed in `` 1.31.0 ``, advisory summary: "MCP TypeScript SDK: OAuth client could send credentials to an authorization server chosen by the MCP server" https://osv.dev/vulnerability/GHSA-6qxp-vccf-f47h

Dependency graphs from deps.dev; advisories from OSV.dev, including the GitHub Advisory Database and the PyPI Advisory Database; all CC BY 4.0.

## Remotes

- https://mcp.pdfbroker.io/ (streamable-http, auth api_key ${X_PDFBROKER_CLIENTID}, reachable true, uptime30d 1)

## Packages

- npm @pdfbroker/mcp-server@1.2.0 secrets: PDFBROKER_CLIENT_ID, PDFBROKER_CLIENT_SECRET

## Tools (2)

- `html_to_pdf`: Convert HTML and CSS to a PDF document using the WeasyPrint rendering engine. Supports every PDF/A archival level, PDF/UA accessibility and the PDF/X print standards. Best for professional documents: invoices, reports, certificates, contracts, and accessible documents. Also produces **fillable PDF forms** — set pdfForms to true. Send a complete HTML document including <html>, <head> with <style>, and <body> tags. Page geometry comes from the document's own CSS @page rule unless paperSize or orientation is set explicitly. Returns a temporary download URL for the generated PDF (valid for 30 minutes). Requires a paid PdfBroker.io plan (Starter or above). EU-first defaults: A4 paper, Portrait orientation when neither the document nor the caller says otherwise.
- `html_to_pdf_wk`: Convert HTML to PDF using the wkhtmltopdf rendering engine. Supports JavaScript execution and screen-capture style rendering. Good for simple documents, web page snapshots, layouts that rely on JavaScript, and **fillable PDF forms** (set pdfForms to true). Available on all PdfBroker.io plans including the free tier. Does NOT support PDF/A or PDF/UA compliance — use html_to_pdf for compliant documents. Does NOT honour CSS '@page { size: ... }' — page geometry comes from paperSize and orientation; use html_to_pdf when the document's own stylesheet must decide. EU-first defaults: A4 paper, Portrait orientation.
