Labsco
MCP SERVER

Overleaf MCP Server

by M-H-Amini

Let an assistant read the LaTeX files in an Overleaf project — list what is there, open any of them — without the ability to change anything.

Team Wikis & Documentation Platforms
Summary
Your paper, readable from the assistant.

Point it at an Overleaf project and the assistant works from your actual sections, equations and bibliography instead of asking you to paste them in.

What it is

A Python server that exposes one Overleaf project to an MCP client in read-only mode. It lists the project's files and returns the contents of any one of them.

What you get
  • list_of_files returns every file in the project
  • read_file returns the contents of a file you name
  • Read-only by design — nothing here writes back into the project
  • One project per entry: the project ID is part of the client configuration
Requirements

Python 3.10 or later and an Overleaf account or session cookie. The client config carries PROJECT_ID and OVERLEAF_TOKEN, which point the server at a single project.

Setup effort

One command plus a key — uvx overleaf-mcp, then supply credentials