# Pressa - LaTeX to PDF [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/pressa-dev/mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 816  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/pressa-latex-to-pdf

## Description
Compile LaTeX to PDF without installing TeX Live. No API key needed to start.

## Tools
Capabilities this server exposes over MCP:

- **compile** — Compile LaTeX source code into a PDF.
- **usage** — Get current API usage statistics.
- **save_template** — Save or update a LaTeX template by name. Paid plans only. Upserts: a second call with the same name overwrites the first.
- **list_templates** — List the user's saved templates. Does not include `latex_content` or `instructions` to keep the response small.
- **get_template** — Fetch a single template by ID or name. Returns the full `latex_content` plus `instructions` (if any) in one round trip - your agent gets the layout and the playbook together.
- **delete_template** — Delete a template by ID or name.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "pressa-latex-to-pdf": {
    "command": "npx",
    "args": ["-y","@pressa/mcp"],
    "env": {
      "PRESSA_API_KEY": "",
      "PRESSA_API_URL": ""
    }
  }
}
```

**Requires environment variables:** `PRESSA_API_KEY`, `PRESSA_API_URL` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What Pressa - LaTeX to PDF does

Pressa - LaTeX to PDF MCP server gives MCP clients an interface for turning LaTeX source into downloadable PDF files. The primary `compile` tool accepts complete LaTeX containing a document class or document environment and returns a job ID, PDF URL, expiry time, page count, compilation time, and usage details.

The server also exposes Pressa's template workflows. Public templates can be browsed, inspected, and rendered with structured data without credentials. With an account and an eligible plan, agents can save, list, retrieve, and delete private templates. Saved templates may include descriptions and longer instructions that explain how an agent should fill them.

## How it works

A client starts the npm package with `npx -y @pressa/mcp`, or connects to the hosted MCP endpoint at `https://api.pressa.dev/mcp`. In anonymous mode, compilation and public template operations are available without credentials. Adding `PRESSA_API_KEY` enables authenticated account features and raises the stated free-plan limit to 50 compilations per month.

Compilation defaults to `pdflatex`. The `compile` tool also accepts `xelatex` or `lualatex` on Pro and Business plans. When compilation fails, the response provides a structured diagnosis, including the error category, problematic command, and a suggested correction where available. Invalid non-LaTeX input is rejected with requirements and an example template so an agent can revise its request.

## Setup and configuration

For local clients, add a server entry that runs `npx` with `-y @pressa/mcp`. The README gives configurations for Claude Desktop and Cursor. No API key is needed to start. To authenticate, add `PRESSA_API_KEY` to the server's environment; keys begin with `pressa_` and can be obtained from Pressa. `PRESSA_API_URL` optionally changes the API base URL and defaults to `https://api.pressa.dev`.

The hosted option requires no Node.js installation. A compatible client can connect using Streamable HTTP at `https://api.pressa.dev/mcp`; authenticated requests use an `Authorization: Bearer <key>` header.

## Tools and capabilities

- `compile` converts LaTeX source to a PDF and reports compilation and usage metadata.
- `usage` returns the account plan, monthly compilation totals, remaining allowance, reset date, and API-key activity.
- `list_public_templates`, `get_public_template`, and `render_public_template` support public document designs such as invoices, reports, resumes, and certificates.
- `save_template` creates or updates a named private template on paid plans. It supports raw LaTeX or Liquid placeholders.
- `list_templates` returns private template metadata without the full source or instructions.
- `get_template` retrieves a private template's LaTeX and optional agent instructions by ID or name.
- `delete_template` removes a private template by ID or name.

## Limitations and notes

Anonymous use is limited to `pdflatex`, three pages, 30 KB of source, and no image assets. Anonymous PDF links expire after one hour. Plan limits also apply to page count, source size, PDF size, and compilation time. A document exceeding its page limit does not count against the monthly quota.

Private template management requires an account and, for saving templates, a paid plan. Liquid placeholders must be declared with the matching placeholder engine; otherwise, source containing them is rejected rather than treated as a raw template. Public template rendering validates supplied data and returns fields that are missing or have the wrong type for correction.

Pressa - LaTeX to PDF is suited to agents that can generate LaTeX themselves. Plain text, Markdown, or raw notes are not accepted by `compile` as document source.

_Full upstream README: https://allmcps.com/mcp/pressa-latex-to-pdf/readme_

