Overleaf

Provides read access to Overleaf projects via MCP, enabling LaTeX file reading, structure parsing, and content extraction.
  • javascript

25

GitHub Stars

javascript

Language

4 months ago

First Indexed

3 weeks ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs

This MCP server gives clients like Claude access to Overleaf projects through Git-backed reads, enabling you to list and read LaTeX files, analyze document structure, and extract sections without opening Overleaf directly. It supports managing multiple projects and streamlines reading content from your LaTeX source trees.

How to use

You run the Overleaf MCP Server locally and connect clients to it to read files, inspect LaTeX structure, and fetch specific sections. Start the server, then use your MCP client to invoke the available tools. The server exposes functions to list projects, list files in a project, read specific files, extract LaTeX sections, and generate a status summary for your Overleaf projects.

How to install

Prerequisites: Node.js and npm must be installed on your system.

  1. Install dependencies for the MCP server.
npm install

Additional setup and usage notes

Configure your Overleaf projects and credentials in a projects.json file. The structure should map a default project and any additional projects you want to manage.

The server supports multiple projects by listing them in a configuration file. Each project entry must provide a name, a projectId, and a gitToken.

{
  "projects": {
    "default": {
      "name": "My Paper",
      "projectId": "YOUR_OVERLEAF_PROJECT_ID",
      "gitToken": "YOUR_OVERLEAF_GIT_TOKEN"
    }
  }
}

Available tools

list_projects

List all configured Overleaf projects managed by this MCP server.

list_files

List files in a selected Overleaf project, with an optional extension filter and project selector.

read_file

Read the contents of a specific file within a chosen Overleaf project.

get_sections

Retrieve all LaTeX sections from a specified LaTeX file.

get_section_content

Fetch the content of a specific LaTeX section by its title.

status_summary

Provide a comprehensive overview of project status and structure across configured Overleaf projects.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational