Labsco
MCP SERVER

Overleaf MCP server

by tamirSida

Read, edit and create files in Overleaf projects through Overleaf's Git integration, with LaTeX sections as first-class targets.

Document Conversion, PDF & Translation
Summary
Edit the paper where it lives.

Because it parses the document into chapters and sections, a request to rewrite the methods section lands in the right place instead of becoming a whole-file rewrite — and the change is committed and pushed to Overleaf immediately.

What it is

An MCP server for Overleaf LaTeX projects. It syncs through Overleaf's Git integration into a local cache, parses the document's structure, and commits and pushes every write straight back to the project.

What you get
  • Files listed with an optional extension filter, and read, across several configured projects
  • LaTeX structure parsed into chapters, sections and subsections
  • A named section read or updated on its own
  • Surgical edits that replace one string, or a whole-file rewrite
  • New files, and whole new projects from LaTeX content or a ZIP
  • Git commit history and diffs between versions
  • Files deleted, and the latest changes pulled from Overleaf
Requirements

Python 3.10 or newer, Git, and an Overleaf account on a paid plan, since everything runs over Overleaf's Git integration. Each project needs its project ID from the URL and a Git token.