Use Printwren: HTML to PDF and URL to PDF (real Chrome) MCP with OpenAI Codex CLI
Printwren: web page or HTML to PDF with real Chrome; pages, base64 or download link. Free, no key.
Remote MCP server (Streamable HTTP), nothing to install. Free: 20 free calls/day, no key · Paid: Starter $9/month; Growth $24/month; Starter yearly $90/year; Growth yearly $240/year
Set it up
- Open ~/.codex/config.toml (create it if needed).
- Add the [mcp_servers] table shown and save.
- Start Codex; the server's tools are available to the agent.
- Ask a question the tools can answer.
Add to ~/.codex/config.toml:
[mcp_servers.printwren]
url = "https://printwren.cybermaxtools.com/mcp?via=use-with-codex"With a paid key:
[mcp_servers.printwren]
url = "https://printwren.cybermaxtools.com/mcp?via=use-with-codex"
env_http_headers = { "x-api-key" = "CYBERMAX_API_KEY" }env_http_headers maps the header to an environment variable name, so the key stays in your environment.
- ~/.codex/config.toml (or .codex/config.toml in a trusted project)
Tools you get
Endpoint checked 2026-10-09: https://printwren.cybermaxtools.com/mcp answered an MCP initialize (protocol 2025-06-18) and tools/list with 2 tools, all marked read-only. No key was used and no tool was called.
| Tool | What it does | Required inputs |
|---|---|---|
url_to_pdf | Print a public web page to PDF with real Chrome. Returns title, page count, size, a direct download URL and (include_base64=true) the PDF bytes as base64. | url |
html_to_pdf | Print an HTML document (invoice, report, receipt; up to 200 KB, inline CSS) to PDF with real Chrome. Returns the PDF as base64 with page count and size. | html |
Test the endpoint from a terminal
This lists the tools without a key and without calling any of them:
curl -s https://printwren.cybermaxtools.com/mcp \
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'If it does not work
- Each server is its own [mcp_servers.<name>] table; keep the name to letters, digits, dashes and underscores.
- For a fixed header value instead of an environment variable, Codex also documents http_headers.
- The free tier has a daily limit (see the pricing line above); a paid key raises it.
Printwren: HTML to PDF and URL to PDF (real Chrome) in other clients
More MCP servers for OpenAI Codex CLI
All Printwren: HTML to PDF and URL to PDF (real Chrome) setups · All OpenAI Codex CLI setups · All