A small FastMCP-based Microservice that renders LaTeX to PDF. The server exposes MCP tools to render raw LaTeX or templates and produces artifacts
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"FastMCP-LaTeX-Server": {
"cwd": "C:\\\\Users\\\\DEVROOP\\\\Desktop\\\\tex-mcp",
"args": [
"C:\\\\Users\\\\DEVROOP\\\\Desktop\\\\tex-mcp\\\\run_server.py"
],
"command": "C:\\\\Users\\\\DEVROOP\\\\Desktop\\\\tex-mcp\\\\venv\\\\Scripts\\\\python.exe",
"transport": "stdio"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A small FastMCP-based Microservice that renders LaTeX to PDF. The server exposes MCP tools to render raw LaTeX or templates and produces artifacts (a .tex file and .pdf)
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in writing / developer-tools
A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.
Asynchronous coordination layer for AI coding agents: identities, inboxes, searchable threads, and advisory file leases over FastMCP + Git + SQLite
MCP server for accessing Figma plugin console logs and screenshots via Cloudflare Workers or local mode
MCP Security Weekly
Get CVE alerts and security updates for TexMCP and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A small FastMCP-based Microservice that renders LaTeX to PDF. The server exposes MCP tools
to render raw LaTeX or templates and produces artifacts (a .tex file and .pdf)
under src/artifacts/.
This repository is prepared to run locally and to be loaded by Claude Desktop (via the
Model Context Protocol). The default entrypoint is run_server.py.

.tex and (optionally) .pdf using pdflatexTools exposed by this MCP server
src/artifacts/Prerequisites
Clone from GitHub
If you want to work from the canonical repository on GitHub, clone it first:
git clone https://github.com/devroopsaha744/TexMCP.git
cd TexMCP
After cloning you can follow the venv creation and install steps below.
python -m venv .venv
. .\\.venv\\Scripts\\Activate.ps1
python -m pip install --upgrade pip
pip install -r requirements.txt
. .\\.venv\\Scripts\\Activate.ps1
python .\\run_server.py
# or run the venv python explicitly if you don't activate
.# .venv\\Scripts\\python.exe run_server.py
If run in stdio mode the server will speak MCP over stdin/stdout (this is what Claude Desktop
expects when it spawns the process). If you prefer HTTP, edit run_server.py and switch the
transport to http (see commented code) and run via uv run or uvicorn.
Rendered outputs are placed in src/artifacts/. For each job you should see a .tex file and
— if pdflatex is available — a matching .pdf.
Templates
src/mcp_server/templates/. There are 15 templates included (for example sample_invoice.tex.j2, sample_letter.tex.j2, sample_resume.tex.j2). Use list_templates to get the full list programmatically. The templates are deliberately simple and ready to customize — add your own .tex.j2 files to that folder to expand the catalog.Included templates (in src/mcp_server/templates/)
default.tex.j2 (base example template)sample_invoice.tex.j2sample_invoice2.tex.j2sample_letter.tex.j2sample_report.tex.j2sample_resume.tex.j2sample_presentation.tex.j2sample_certificate.tex.j2sample_coverletter.tex.j2sample_poster.tex.j2sample_thesis.tex.j2sample_receipt.tex.j2sample_recipe.tex.j2sample_poem.tex.j2sample_cv.tex.j2Recommended: use the fastmcp CLI installer which will set things up to run from the project directory and use the project venv.
From your project root (with the venv already created and deps installed):
fastmcp install claude-desktop run_server.py --project C:\\Users\\DEVROOP\\Desktop\\tex-mcp
This ensures uv runs inside the project directory and uses the project's environment. After the installer runs, fully quit and restart Claude Desktop.
Manual Claude De