Back to MarkPDF

Integration · MCP

Beautiful PDFs from any AI assistant

Plug MarkPDF into Claude Code, Cursor, or Claude Desktop. Your assistant turns Markdown into premium-themed PDFs and decks — on demand, no copy-paste.

How to use

  1. 1
    Get a token. Free trial includes 2 exports/day, or grab a Pro token from your account.
  2. 2
    Run in your terminal:
    bash
    claude mcp add --transport http markpdf https://markpdf.app/mcp \
      --header "Authorization: Bearer YOUR_TOKEN_HERE"

    Replace YOUR_TOKEN_HERE with the token from step 1.

    Tip: avoid committing the token. Most MCP clients accept ${MARKPDF_TOKEN} in place of the literal string and read from your shell environment.

What it ships: whoami list_themes convert_markdown_to_pdf convert_markdown_to_slides create_share_link. PDFs and decks come back as a 24h-signed URL (never inline base64) — your assistant just hands you the link.

Scripting the install? POST /api/mcp/trial-token mints a token directly — same as the button above. Useful for curl, CI, or chaining commands.

Lost your trial token? GET /api/mcp/trial-token shows the prefix, cooldown end, and remaining quota for your IP — the plain token is only shown at issuance. If you lost it, grab a Pro token or wait for the 24 h IP cooldown to lift.

Free trial: 2 exports/day, free themes only (slate, paper, ivory). Pro from $5/mo unlocks everything — see pricing.