← Back to search

io.github.SepineTam/latex-mcp

SepineTam Scanned 1d ago

Enable AI agents to compile TeX files with LaTeX inside a Docker container.

A
91.9 / 100

Versions

0.1.3latest
first seen May 19, 2026
PermissionsTool SafetyAuthAnnotationsCode QualityStabilitySpecVuln HistoryAuthorTransparencyCommunity

Tools 3

latex_compile
annotations: none low

Compile a TeX file to PDF using LaTeX. Args: tex_file: Path to the main .tex file (relative to working_dir) mode: Compilation mode - 'auto' uses latexmk, 'manual' uses direct compiler compiler: LaTeX compiler to use - 'pdflatex', 'xelatex', or 'lualatex' working_dir: Working directory for compilation bibliography: Path to .bib file (only used in manual mode) compile_times: Number of compilation passes, 1-5 (only used in manual mode) options: Additional compiler options clean_after: Whether to clean auxiliary files after compilation Returns: JSON string with success status, pdf_path, log, errors, and warnings

mode str options string compiler str tex_file str clean_after bool working_dir str bibliography string compile_times int
latex_list_compilers
annotations: none low

List all available LaTeX compilers in the environment. Returns: JSON string with compilers list, aux_commands list, and latexmk_available bool

latex_clean
annotations: none low

Clean auxiliary files generated during LaTeX compilation. Args: working_dir: Working directory to clean tex_file: Specific .tex file to clean auxiliary files for. If None, cleans all auxiliary files in the directory. Returns: JSON string with success status, removed_files list, and message

tex_file string working_dir str

Permissions 1

filesystem low
Server uses filesystem capabilities via: glob, os, pathlib, shutil

Scan Findings 14

low
Tool 'latex_compile' has no annotations annotation_checker · 100%
low
Tool 'latex_list_compilers' has no annotations annotation_checker · 100%
low
Tool 'latex_clean' has no annotations annotation_checker · 100%
high
Remote transport without authentication auth_checker · 70%
info
Sandbox failed to start for behavioral verification behavioral_verifier · 100%
info
pyproject.toml metadata manifest_parser · 100%
info
Tool: latex_compile manifest_parser · 90%
info
Tool: latex_list_compilers manifest_parser · 90%
info
Tool: latex_clean manifest_parser · 90%
info
Transport: streamable-http manifest_parser · 80%
info
Sandbox failed to start for output poisoning scan output_poisoning · 100%
low
Permission: filesystem access detected permission_analyzer · 90%
info
No dependency files found for SBOM generation sbom_generator · 100%
medium
No build provenance detected (SLSA L0) slsa_assessor · 90%