MCP SERVER PROFILE · Productivity
Productivity

Overleaf MCP

Read, search, edit, compile and manage shared Overleaf LaTeX projects using up to 15 MCP tools, with tracked changes and collaborator conflict detection before Git publishing.

GitHub stars0
Setup options1
Documented tools15
Maintained byyangzichao

Overview

An open-source MIT-licensed MCP server for working with Overleaf LaTeX projects. Provides up to 15 tools for reading, searching, editing, compilation, citation verification, tracked changes, review comments, project management and guarded Git publishing. Git-based workflows protect against conflicting collaborator edits. Cookie-based editor workflows are available without Git integration. Tool availability depends on the configured credentials.

overleaflatexacademic-writingresearchgittracked-changesbibliographycollaborationstdio

Installation & configuration 1 documented option

Choose the configuration documented for your client. Replace placeholders with your own values, and review the maintainer documentation before connecting.

Local stdio

Generic MCP client

{
  "mcpServers": {
    "mcp-server-overleaf": {
      "command": "npx",
      "args": [
        "--yes",
        "mcp-server-overleaf@0.6.3",
        "--stdio"
      ]
    }
  }
}

Run npx --yes mcp-server-overleaf@0.6.3 setup before connecting to configure project access and credentials. Alternatively, follow the maintainer documentation for manual configuration.

Read maintainer installation documentation ↗

Before you install

  • Node.js 22.14 or newer and npm. Node.js 24 LTS is recommended by the maintainer.
  • Git installed and available on PATH.
  • Access to an Overleaf project.
  • Run npx --yes mcp-server-overleaf@0.6.3 setup to configure project access and local credentials.
  • An Overleaf Git token and project-level Git integration for Git workflows.
  • An Overleaf session cookie for editor workflows without Git integration.
  • Both Git token and session cookie are required to access all 15 tools.
  • latexmk and a TeX distribution for local PDF compilation. Online compilation through Overleaf does not require a local TeX installation.

More documentation

Documented tools 15

Capabilities provided in the listing metadata. Check upstream documentation for current availability and parameters.

list_projects

List configured projects and discover accessible Overleaf account projects when a session cookie is configured.

read_project

Inspect project structure, files, document outline, synchronization status, pending changes, members and word count.

read_file

Read files, line ranges, document sections, historical revisions, figures and included LaTeX content.

search_project

Search project text files using plain text or regular expressions.

read_history

Inspect Git commit history, revision differences and line-level authorship.

check_references

Detect undefined, duplicate or unused references and citations, and missing included files.

look_up_citations

Verify bibliography entries and retrieve BibTeX records using DOI, Crossref and arXiv services.

compile_project

Compile LaTeX locally or through Overleaf and report compilation errors, warnings and output information.

read_review

Read tracked changes and review comment threads using an Overleaf session cookie.

edit_file

Replace text or sections, append content or write files with optional revision checks.

manage_files

Delete, move, upload and restore files, create folders or discard unpublished local changes.

push_changes

Commit and publish explicitly approved Git changes while checking for conflicting collaborator edits.

manage_tracked_changes

Suggest, accept or reject tracked changes through the Overleaf editor session.

manage_comments

Create, reply to, edit, resolve, reopen or delete review comments.

manage_project

Create, copy, rename, archive, trash, configure, download and share Overleaf projects subject to account permissions.

Listed on FreeMCP badge

Maintaining this MCP server? Add this optional badge to your GitHub README so visitors can find its FreeMCP listing. Listing is not a security certification or independent verification.

MCP — Listed on FreeMCP

[![Listed on FreeMCP](https://freemcp.in/badges/listed.svg)](https://freemcp.in/servers/yangzichao-mcp-server-overleaf)

Security & permissions

  • The server can read and modify Overleaf projects accessible through the configured credentials.
  • Tool availability depends on credentials: 11 tools with a Git token, 13 with a session cookie and 15 with both.
  • Project data is transmitted to the configured Overleaf service during synchronization or online compilation.
  • Git-based file edits remain local until explicitly published through push_changes.
  • Git publishing requires explicit confirmation and checks for conflicting co-author edits.
  • Cookie-based editing and certain project management operations modify live Overleaf projects immediately rather than waiting for Git publishing.
  • Git tokens and session cookies are sensitive credentials. Store them privately and never commit them to source control or share them in conversations.
  • File editing, deletion, restoration, project management and sharing capabilities require careful user authorization.
  • Discarding local changes can remove unpublished commits and uncommitted edits. Review pending changes before discarding them.
  • Citation lookup tools communicate with external DOI, Crossref and arXiv services.
  • Git integration requires an eligible project subscription. Cookie-based editor workflows can operate without Git integration.
  • Project invitations and permission increases require explicit user confirmation through supported MCP clients.
  • Windows Git and TeX workflows have not been validated according to the maintainer.
  • This is an independent community project and is not affiliated with or endorsed by Overleaf.
  • FreeMCP has reviewed the published documentation but has not independently executed the package or validated a live Overleaf connection.

See the installation and security guide for a setup checklist.

Buy me a beer