MCP server creating a PDF from LaTeX source code
If you already use LateXPDF MCP, the latexpdf mcp mcp server is the piece that lets your assistant work with it directly. MCP server creating a PDF from LaTeX source code.
A Model Context Protocol (MCP) server that provides tools for converting LaTeX source code into PDF documents. This server enables AI assistants to generate high-quality PDF documents from LaTeX markup with professional formatting capabilities.
The toolset is worth reading before you wire it up, because it tells you what the integration is really for:
create_pdf — \section{Introduction} This is a sample LaTeX document generated via MCPBuilding — The Building tool exposed by this serverlatexpdf-mcp on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.
Configuration is passed through the environment: LATEXPDF_OUTPUT_DIR. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
Before using this MCP server, ensure you have: 1. Node.js (version 18 or higher) 2. LaTeX Distribution: A complete LaTeX installation such as: - Windows: MiKTeX or TeX Live - macOS: MacTeX - Linux: TeX Live (install via package manager) 3. latexmk: Usually included with LaTeX distributions
Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. LateXPDF MCP's toolset — create_pdf, Building — is a fair guide to whether it matches your workflow. It is maintained by tobioffice; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| create_pdf | \section{Introduction} This is a sample LaTeX document generated via MCP. |
| Building | The Building tool exposed by this server. |
**macOS/Linux:**
```json
{
"mcpServers": {
"latexpdf-mcp": {
"command": "latexpdf-mcp",
"env": {
"LATEXPDF_OUTPUT_DIR": "/home/yourname/Documents/PDFs"
}
}
}
}Configuration as documented by the project. Restart the client after saving.
Before using this MCP server, ensure you have: 1. Node.js (version 18 or higher) 2. LaTeX Distribution: A complete LaTeX installation such as: - Windows: MiKTeX or TeX Live - macOS: MacTeX - Linux: TeX Live (install via package manager) 3. latexmk: Usually included with LaTeX distributions
| Variable | Description | Required |
|---|---|---|
| LATEXPDF_OUTPUT_DIR | Filesystem location the server is allowed to use. | Optional |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.