overleaf-mcp MCP Server

A Model Context Protocol (MCP) server that provides full CRUD operations for Overleaf LaTeX projects. Enables AI assistants to read, edit, create, and delete files in your Overleaf projects.

Local serverstdio

What is the overleaf-mcp Server?

overleaf-mcp is an MCP project maintained in the tamirsida/overleaf_mcp repository. The maintainer describes its purpose as “A Model Context Protocol (MCP) server that provides full CRUD operations for Overleaf LaTeX projects. Enables AI assistants to read, edit, create, and delete files…”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using /path/to/overleaf-mcp/.venv/bin/python. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares OVERLEAF_CONFIG_FILE, OVERLEAF_TEMP_DIR. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the overleaf-mcp Server

{
  "mcpServers": {
    "overleaf": {
      "command": "/path/to/overleaf-mcp/.venv/bin/python",
      "args": [
        "-m",
        "overleaf_mcp.server"
      ],
      "cwd": "/path/to/overleaf-mcp",
      "env": {
        "OVERLEAF_CONFIG_FILE": "/path/to/overleaf-mcp/overleaf_config.json",
        "OVERLEAF_TEMP_DIR": "/path/to/overleaf-mcp/overleaf_cache"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
OVERLEAF_CONFIG_FILEDeclared in the maintainer’s client configuration.Check documentation
OVERLEAF_TEMP_DIRDeclared in the maintainer’s client configuration.Check documentation