mcpField
L
latex-mcp

latex-mcp

Local
github.com/SepineTamProductivity3Updated 29w ago

About latex-mcp

latex-mcp lets AI agents compile TeX files with LaTeX in a Docker container. It is for workflows that need containerized TeX compilation.

Key features

  1. 01Compile TeX files with LaTeX
  2. 02Run compilation in Docker

Use cases

  1. 01Compile TeX documents for an AI agent
  2. 02Run TeX compilation in a Docker container

MCP support

The MCP server exposes TeX compilation to AI agents.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"sepinetam-latex": {
"command": "uvx",
"args": [
"latex-mcp"
]
}
}
}
Run commanduvx latex-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypilatex-mcp0.1.3

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project 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
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:

{
  "mcpServers": {
    "latex-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "--mount",
        "type=bind,src=${PWD},dst=${PWD}",
        "-w",
        "${PWD}",
        "ghcr.io/sepinetam/latex-mcp:latest"
      ]
    }
  }
}

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.