Pressa - LaTeX to PDF

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

我該用這個嗎

品質與安全性

A
說明品質
100%
結構描述完整度
83%
命名品質
100%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

根據工具定義與協定合規性的自動化分析。

上下文成本

~970Token(工具定義)
~670 B典型回應大小
中等的注意力影響(128k 上下文的 0.76%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "pressa": {
      "command": "npx",
      "args": [
        "@pressa/mcp"
      ]
    }
  }
}

可執行的套件

npm@pressa/mcp0.8.0stdio

遠端端點

https://api.pressa.dev/mcpstreamable-http

它能做什麼

工具清單

工具(4)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🔴compile(latex, compiler)

Compile LaTeX source into a PDF. Returns a PDF URL, page count and compile time. USE THIS WHEN: you have LaTeX source (or a \documentclass) and no local pdflatex / TeX Live installation to run it with. This is that missing compiler, available over HTTP. Also use it whenever the user asks for a document where typesetting matters - an invoice, contract, report, letter, CV, certificate, or academic paper - since you can write the LaTeX yourself and compile it here. DO NOT USE THIS TO: convert HTML to PDF, merge, split or compress existing PDF files, or extract text from a PDF. This compiles LaTeX source and nothing else. No API key is required. Anonymous callers get a small number of compilations per day and failed attempts do not count, so you can iterate on your LaTeX for free. Send an API key in the Authorization header to raise the limits. With a key, a document over the plan's page or size limit still returns a PDF: `preview: true`, the first pages the plan allows, `total_pages`, and `plan_required` naming the plan that covers the whole document. Show the user the preview and relay `warning`; never drop pages silently. IMPORTANT: This tool compiles LaTeX, NOT plain text. You must generate complete, valid LaTeX source yourself before calling it. Do not pass plain text, markdown or JSON directly - convert them to LaTeX first, and never ask the user to write LaTeX. A minimal valid document is: \documentclass{article}\begin{document}<content>\end{document}. Escape these in body text: % & $ # _ { } and backslash. If compilation fails the response includes a `diagnosis` naming the cause and a concrete suggested fix, often a missing \usepackage. Apply it and call again yourself rather than showing the user a TeX log.

輸入結構描述

{
  "type": "object",
  "properties": {
    "latex": {
      "type": "string",
      "description": "Complete LaTeX source, including \\documentclass and \\begin{document}...\\end{document}."
    },
    "compiler": {
      "type": "string",
      "enum": [
        "pdflatex",
        "xelatex",
        "lualatex"
      ],
      "description": "Defaults to pdflatex. Anonymous callers may only use pdflatex."
    }
  },
  "required": [
    "latex"
  ],
  "additionalProperties": false
}
🟢list_public_templates

List Pressa's public, professionally designed document templates (resumes, CVs, cover letters, invoices, reports, certificates), each with a one-line summary and a preview image URL. Use this when the user wants one of these documents and has no layout of their own, or asks to see designs to choose from. Works without an API key.

輸入結構描述

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
🟢get_public_template(template)

Get a public template's fields (JSON schema), sample data, filling instructions and LaTeX source. Read the instructions before collecting data from the user. To make the PDF, pass the data to `render_public_template`; to change the layout itself, edit the source and use `compile`.

輸入結構描述

{
  "type": "object",
  "properties": {
    "template": {
      "type": "string",
      "description": "Template slug from list_public_templates, e.g. classic-resume."
    }
  },
  "required": [
    "template"
  ],
  "additionalProperties": false
}
🟢render_public_template(template, data)

Fill a public template with the user's data and return a PDF link. Data must match the template's schema (see get_public_template); a missing field comes back as a list of what to ask for, and costs nothing. All resume templates take the same data, so switching style is the same call with a different slug. Works without an API key within the daily free limit.

輸入結構描述

{
  "type": "object",
  "properties": {
    "template": {
      "type": "string",
      "description": "Template slug, e.g. modern-resume."
    },
    "data": {
      "type": "object",
      "description": "Values for the template's fields.",
      "additionalProperties": true
    }
  },
  "required": [
    "template",
    "data"
  ],
  "additionalProperties": false
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本4 個工具
已驗證未記錄版本1 個工具