AI 어시스턴트가 LaTeX 소스 코드를 출판 품질의 PDF 문서로 컴파일하고 문서 템플릿을 관리할 수 있도록 지원합니다.
다른 이름 pressa-dev/mcp, mcp, @pressa/mcp
- 스타
- 0
- Tools
- 11
- 다운로드, 30일
- —
- 최신 버전
- 0.11.4
- 마지막 커밋
- 2026년 10월 28일
- 라이선스
- MIT
Pressa MCP란?
Pressa은(는) MCP server입니다. AI 어시스턴트가 LaTeX 소스 코드를 출판 품질의 PDF 문서로 컴파일하고 문서 템플릿을 관리할 수 있도록 지원합니다. 11개 도구를 제공합니다. 예: latex, compiler, list_public_templates.
프로젝트 README에서 생성된 요약
Pressa MCP server 정보
Pressa는 AI 어시스턴트가 LaTeX 소스 코드를 전문적인 PDF 문서로 변환할 수 있도록 특화된 인터페이스를 제공합니다. 개발자는 npx를 사용하여 Claude Desktop 또는 Cursor와 같은 클라이언트에 이 MCP server를 통합하거나, 로컬 Node.js 설치 없이 원격 HTTP transport를 통해 연결할 수 있습니다. 서버는 API 키가 필요 없는 익명 모드로 작동하며, 페이지 수와 소스 크기에 특정 제한이 있는 pdflatex를 사용하여 하루에 3번까지 PDF 컴파일이 가능합니다.
PRESSA_API_KEY를 제공하여 업그레이드하면 xelatex 및 lualatex와 같은 고급 컴파일러를 사용할 수 있고, 월간 컴파일 한도가 50회로 늘어나며, 개인 문서 템플릿을 관리할 수 있습니다. 시스템에는 송장, 이력서, 보고서를 위한 공개 템플릿 갤러리 브라우징 도구가 포함되어 있습니다. 고급 사용자의 경우, 일관된 문서 생성을 보장하기 위해 Liquid 플레이스홀더 엔진과 상세한 agent instructions를 사용하여 사용자 정의 템플릿을 저장할 수 있습니다.
활용 사례
- 1LaTeX 소스 코드 컴파일AI 어시스턴트가 가공되지 않은 LaTeX 문자열을 받아 다운로드 가능한 PDF 파일로 변환할 수 있습니다.
- 2전문 비즈니스 문서 생성개발자는 공개 템플릿 갤러리를 사용하여 이력서, 송장 또는 증명서를 빠르게 생성할 수 있습니다.
- 3템플릿 채우기 자동화에이전트가 구조화된 JSON 데이터를 미리 정의된 템플릿에 채워 완성된 문서를 생성할 수 있습니다.
- 4컴파일 오류 자동 수정서버가 구조화된 에러 진단을 제공하므로 AI가 누락된 패키지나 구문 문제를 자동으로 수정할 수 있습니다.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
Pressa MCP 설치 방법
형식 확인: 2026년 11월 10일Cursor에 추가Goose에 추가Claude Code에 Pressa MCP 설치
$ claude mcp add --env 'PRESSA_API_KEY=<YOUR_PRESSA_API_KEY>' mcp -- npx -y @pressa/mcpCursor에 Pressa MCP 설치
~/.cursor/mcp.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@pressa/mcp"
],
"env": {
"PRESSA_API_KEY": "<YOUR_PRESSA_API_KEY>"
}
}
}
}VS Code에 Pressa MCP 설치
.vscode/mcp.json
{
"servers": {
"mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@pressa/mcp"
],
"env": {
"PRESSA_API_KEY": "<YOUR_PRESSA_API_KEY>"
}
}
}
}VS Code CLI에 Pressa MCP 설치
$ code --add-mcp '{"name":"mcp","type":"stdio","command":"npx","args":["-y","@pressa/mcp"],"env":{"PRESSA_API_KEY":"<YOUR_PRESSA_API_KEY>"}}'Claude Desktop에 Pressa MCP 설치
claude_desktop_config.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@pressa/mcp"
],
"env": {
"PRESSA_API_KEY": "<YOUR_PRESSA_API_KEY>"
}
}
}
}Codex에 Pressa MCP 설치
$ codex mcp add mcp --env 'PRESSA_API_KEY=<YOUR_PRESSA_API_KEY>' -- npx -y @pressa/mcpCodex config.toml에 Pressa MCP 설치
~/.codex/config.toml
[mcp_servers.mcp] command = "npx" args = ["-y", "@pressa/mcp"] [mcp_servers.mcp.env] PRESSA_API_KEY = "<YOUR_PRESSA_API_KEY>"
Gemini CLI에 Pressa MCP 설치
$ gemini mcp add -s user -e 'PRESSA_API_KEY=<YOUR_PRESSA_API_KEY>' mcp npx -- -y @pressa/mcpGemini settings.json에 Pressa MCP 설치
~/.gemini/settings.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@pressa/mcp"
],
"env": {
"PRESSA_API_KEY": "<YOUR_PRESSA_API_KEY>"
}
}
}
}Pressa MCP 도구 11
README에서 감지됨latexcompilerlist_public_templatesget_public_templaterender_public_templatenamelatex_contentdescriptioninstructionsplaceholder_engineid_or_name
| latex | — | |
| compiler | — | |
| list_public_templates | — | |
| get_public_template | — | |
| render_public_template | — | |
| name | — | |
| latex_content | — | |
| description | — | |
| instructions | — | |
| placeholder_engine | — | |
| id_or_name | — |
구성
PRESSA_API_KEY비밀Optional. Without it the server exposes compile and the public template gallery, which work keyless within a daily allowance. A free key from pressa.dev raises the limits and registers the saved-template, asset and render tools.
| 이름 | 설명 | 유형 |
|---|---|---|
| PRESSA_API_KEY | Optional. Without it the server exposes compile and the public template gallery, which work keyless within a daily allowance. A free key from pressa.dev raises the limits and registers the saved-template, asset and render tools. | 비밀 |
자동 검사
2026년 11월 13일에 실행됨전체 보고서 →자동 검사를 통과했습니다. 이는 보안 감사가 아닙니다. 코드를 직접 읽고 서버에 필요한 최소한의 권한만 부여하십시오. 검사 방식
- 소스 저장소 연결 및 접근 가능통과
- 오픈 소스 라이선스 (OSI)통과
- 최근 1년 내 커밋 또는 릴리스통과
- 패키지 이름이 인기 패키지와 유사하지 않음통과
- 원격 엔드포인트가 HTTPS 사용통과
- 파괴적인 도구에 라벨 표시됨통과
- 모델에 대한 숨겨진 지침 없음통과
- 패키지 및 해당 종속성에 중요한 보안 권고 없음통과
README
GitHub에서 보기@pressa/mcp
MCP (Model Context Protocol) server for Pressa - LaTeX in, publication-quality PDF out. This server lets AI assistants compile documents through a standardized interface.
No API key required to start. Add the server, ask for a PDF, get one. A key raises the limits later.
Setup
Add this to your MCP client configuration (e.g. Claude Desktop, Cursor):
{
"mcpServers": {
"pressa": {
"command": "npx",
"args": ["-y", "@pressa/mcp"]
}
}
}
That is the whole configuration. The server starts in anonymous mode and
exposes the compile tool and the public template gallery, which work with no
credentials: 3 successful PDFs per day, and failed attempts do not count
against that, so an assistant can iterate on its LaTeX for free.
To unlock the rest, add a key:
{
"mcpServers": {
"pressa": {
"command": "npx",
"args": ["-y", "@pressa/mcp"],
"env": {
"PRESSA_API_KEY": "pressa_your_key_here"
}
}
}
}
Get a free key at pressa.dev. Takes about 30 seconds, no credit card. It raises the limit to 50 compilations per month and registers the template, asset and render tools.
Hosted server (no install)
The same tools are also served over Streamable HTTP at
https://api.pressa.dev/mcp, so a client that supports remote MCP servers
needs no Node.js and no local process:
claude mcp add --transport http pressa https://api.pressa.dev/mcp
Keyless, it exposes compile and the public template gallery
(list_public_templates, get_public_template, render_public_template). Send
an Authorization: Bearer <key> header to register the template, asset and
render tools as well.
Environment Variables
| Variable | Required | Default | Description |
|---|---|---|---|
PRESSA_API_KEY |
No | - | Pressa API key (starts with pressa_). Without it the server runs in anonymous mode and exposes only compile and the public template tools. |
PRESSA_API_URL |
No | https://api.pressa.dev |
API base URL |
Anonymous mode
With no PRESSA_API_KEY set, the server starts anyway rather than refusing to
run, and registers only the tools that work without an account: compile,
list_public_templates, get_public_template and render_public_template.
Tools that need an account are not registered at all, because a tool that
cannot succeed is worse than an absent one.
Anonymous limits: pdflatex only, up to 3 pages, 30 KB of source, no image assets, and PDF links that expire after 1 hour.
Error handling
Compilation failures return a structured diagnosis rather than a raw TeX log:
the error class, the offending command, and a concrete suggested fix (often a
missing \usepackage). An assistant is expected to apply the fix and retry on
its own instead of showing the user a compiler log.
Tools
compile
Compile LaTeX source code into a PDF.
Input:
| Parameter | Type | Required | Description |
|---|---|---|---|
latex |
string | Yes | Complete LaTeX source code. Must contain \documentclass, \begin{document}, \input{}, or \include{}. Plain text, markdown, or raw notes are rejected with not_latex_source (422). The AI agent should generate LaTeX itself, not bounce back to the user. |
compiler |
string | No | "pdflatex" (default), "xelatex", or "lualatex" (Pro and Business plans only) |
Each plan has limits on pages per document, LaTeX source size, PDF output size, and compile timeout. If a compile exceeds your plan's page limit, the document does not count against your monthly quota and the MCP response includes the limit and an upgrade URL. Non-LaTeX input is rejected with a structured requirements list and an example_template so the LLM can self-correct without user intervention.
Output (success):
{
"job_id": "ffc2bd62-3b67-45d6-be14-b529c4b9489f",
"pdf_url": "https://api.pressa.dev/api/v1/pdfs/ffc2bd62...?sig=xxx&exp=xxx",
"expires_at": "2026-04-09T20:44:55Z",
"pages": 1,
"compilation_time_ms": 359,
"usage": {
"plan": "free",
"compilations_this_month": 9,
"monthly_limit": 50
}
}
Output (error): Compilation log and error line number.
list_public_templates, get_public_template, render_public_template
Pressa's public document templates (pressa.dev/templates): invoices, purchase orders, packing slips, delivery notes, receipts, reports, certificates, resumes and cover letters. No key needed.
list_public_templates: every template with a summary, a preview image URL and its colours. Designs of one document (document, e.g. five resume designs) take the same data.get_public_template(template: slug): the fields (JSON schema), sample data and filling instructions.render_public_template(template: slug,data: object shaped like the sample, optionalcolor): fills the template and returnspdf_url. A field that is missing or of the wrong type comes back as a list to fix, at no cost.
Each template also has plain instructions for assistants at https://pressa.dev/templates/<slug>/agent.md.
usage
Get current API usage statistics.
Input: None.
Output:
{
"user": {
"email": "user@example.com",
"username": "user",
"plan": "free"
},
"usage": {
"compilations_this_month": 9,
"monthly_limit": 50,
"remaining": 41,
"resets_at": "2026-04-30T23:59:59Z"
},
"api_key": {
"prefix": "pressa_a",
"name": "my-key",
"total_requests": 15,
"last_used_at": "2026-04-08T20:44:55Z"
}
}
save_template
Save or update a LaTeX template by name. Paid plans only. Upserts: a second call with the same name overwrites the first.
| Parameter | Type | Required | Description |
|---|---|---|---|
name |
string | Yes | Template name (max 100 chars). Unique per user. |
latex_content |
string | For a new template | Full LaTeX source for the template body. May be omitted when converting the saved source with placeholder_engine: "liquid". |
description |
string | No | Short human-readable summary (max 500 chars). Shown in list_templates. |
instructions |
string | No | Agent playbook (prose markdown, max 50000 chars). Describes how to fill the template - defaults, workflow rules, edge cases, conditional logic. Optional but recommended for templates with dynamic parts. See note below. |
placeholder_engine |
string | No | "liquid": the source contains Liquid placeholders ({{ amount }}) filled by render; on an existing raw LaTeX template this converts it in place (same id, name and instructions). "none": raw LaTeX whose braces only look like placeholders. Omit to keep the template's current kind. |
description vs instructions: description is the one-line UI summary ("Standard Toptal monthly invoice"). instructions is the longer playbook your AI agent reads alongside the LaTeX when filling the template ("Ask the user only for total amount; date is today; invoice number format YYYYMMDD-N where N is sequential count for the calendar year; for EU clients add VAT line"). They are different fields.
Raw LaTeX vs placeholder templates: a raw LaTeX template is compiled exactly as saved. A placeholder template is filled with JSON data by render, so the layout never changes. A source containing Liquid placeholders sent without placeholder_engine is refused with liquid_placeholders_in_v1_template, because raw LaTeX would print the braces literally in the PDF. If a placeholder save returns liquid_syntax_error, wrap the literal LaTeX that Liquid misreads (usually a comment right after a brace, \foo{%) in {% raw %}...{% endraw %}.
list_templates
List the user's saved templates. Does not include latex_content or instructions to keep the response small.
Input: None.
Each item in the returned array carries id, name, description, updated_at, latex_size_bytes, and has_instructions (boolean). Use the has_instructions flag to decide whether a follow-up get_template call will return a useful playbook.
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
id_or_name |
string | Yes | Numeric ID or URL-safe template name. |
delete_template
Delete a template by ID or name.
| Parameter | Type | Required | Description |
|---|---|---|---|
id_or_name |
string | Yes | Numeric ID or URL-safe template name. |
Development
npm install
npm run build
npm start
License
MIT
Pressa MCP 질문
Pressa MCP를 Claude Code에 추가하려면 어떻게 하나요?
터미널에서 claude mcp add --env 'PRESSA_API_KEY=<YOUR_PRESSA_API_KEY>' mcp -- npx -y @pressa/mcp를 실행합니다. 모든 프로젝트에서 사용할 수 있게 하려면 --scope user를 추가합니다.
Pressa MCP를 Cursor에 추가하려면 어떻게 하나요?
~/.cursor/mcp.json를 열고 mcpServers 아래에 서버를 추가합니다. 위 설치 섹션에 표시된 Cursor 구성을 사용합니다.
Pressa MCP는 어떤 도구를 제공하나요?
11개 도구를 제공합니다. 예: latex, compiler, list_public_templates, get_public_template, render_public_template.
Pressa를 사용하려면 API 키가 필요한가요?
아니요, API 키 없이 익명 모드로 시작할 수 있으며, 이 경우 하루에 3번까지 PDF 컴파일이 가능합니다.
LaTeX 컴파일에 실패하면 어떻게 되나요?
서버는 단순한 TeX 로그 대신 에러 클래스, 문제가 된 명령어, 권장 수정 사항을 포함한 구조화된 진단 정보를 제공합니다.
계정 없이도 템플릿을 사용할 수 있나요?
네, 서버에서 제공하는 공개 템플릿 갤러리를 통해 인증 없이도 송장, 이력서, 보고서 등을 사용할 수 있습니다.
익명 모드의 제한 사항은 무엇인가요?
익명 모드는 pdflatex로 제한되며, 최대 3페이지, 소스 크기 30 KB, 이미지 자산 사용 불가, 1시간 후 만료되는 PDF 링크 등의 제한이 있습니다.