
Latex Mcp
io.github.SepineTamPublished by GitHub account SepineTamv0.1.3Updated Oct 25, 2026
Enable AI agents to compile TeX files with LaTeX inside a Docker container.
Overview
An MCP server that lets an AI assistant compile TeX files with LaTeX inside a Docker container.
- What you can do
- Compile TeX source files to output documents using a LaTeX toolchain running in Docker, invoked from the assistant's session. The project directory is bind-mounted into the container so the assistant works on files in place. Configuration is a single MCP server entry that launches the container image.
- When to use it
- Useful when you want an assistant to build or check LaTeX documents in a project without installing a TeX distribution on the host, and you already have Docker available.
- Requirements
- Docker installed and running, network access to GitHub Container Registry to pull the image, and roughly 4GB of memory recommended. The sample configuration bind-mounts the current project directory into the container.
Installation
In SourceWeft
- Open Latex Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
latex-mcp
[Publish to PyPI] [Build and Push Docker Images] [PyPI version] [License: AGPL 3.0] [Issue]
Enable AI agents to compile TeX files with LaTeX inside a Docker container.
Quickly Start
Prerequisites
- Docker
- Recommended hardware: 4GB or higher
- Network access to GitHub Container Registry
Configuration in Claude Code
Create a .mcp.json file in your project root. This configuration is ideal for team collaboration as it uses ${PWD} environment variable that works across different machines:
Source: README.md at commit 9195c98
Tools
0Version history
1- v0.1.3LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts