OpenViSTAI · Agents · Blockchain · Crypto
Menu
MCP & Tooling

Overleafmcp

Overleafmcp is a JavaScript MCP server that connects AI clients to Overleaf projects through Git integration, exposing file operations, LaTeX section parsing and extraction, project summaries, and write-back tools.

Independent OpenViST project profile, based on linked sources.

Overleafmcp — Section-aware access to LaTeX source files
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when an MCP-compatible assistant needs direct file and section-level access to an Overleaf project, including writing revised content back through the project’s Git integration.

Who it is for

  • Researchers and students who manage LaTeX documents in Overleaf and want compatible AI clients to inspect or edit project files.
  • Developers configuring MCP tools for Claude Desktop, Cursor, Windsurf, or another MCP client.

Documented uses

  • List, read and write files in an Overleaf project.
  • Parse LaTeX sections and subsections and extract a section by title.
  • Review an overview of project structure and status.
  • Configure access to one project or select among multiple named projects.
Before you choose

Requirements & limits

The primary setup requires an Overleaf project ID and Git token. The repository is public and MIT-licensed; its quick-start configuration uses npx and does not require cloning the repository or running npm install.

  • The server uses Overleaf Git integration, and its token grants full read/write access to the project.
  • The quick-start environment-variable configuration handles one project; multi-project use relies on a projects.json file and projectName selection.
  • The README documents Claude Desktop configuration across Windows, macOS and Linux, and identifies Claude Desktop, Cursor and Windsurf as compatible clients.
  • The repository recommends using OVERLEAF_GIT_TOKEN_FILE instead of embedding a token in client configuration when that configuration is backed up or synced.
  • A section write supplies the full content for that section, while file and section edits can include a commit message.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Connect one Overleaf project to Claude Desktop

Configure the MCP server to access one Overleaf project from Claude Desktop.

Before you start

  • Claude Desktop
  • Node.js/npm with npx available
  • An Overleaf project ID and Git token

Steps

  1. Open the Overleaf project and obtain its project ID from the project URL; create a Git token under Account Settings → Git Integration.

  2. Add the repository’s MCP server entry to Claude Desktop configuration, using the command below and setting OVERLEAF_PROJECT_ID and OVERLEAF_GIT_TOKEN. On Windows, use cmd with /c before npx.

    Documented command
    npx -y @mjyoo2/overleaf-mcp
  3. Restart Claude Desktop; the README says the Overleaf tools should then appear in its tools menu.

Expected outcome

Claude Desktop is configured with the Overleaf MCP tools for the specified project.

Guide limitations

  • The environment-variable quick start configures one project only.
  • The Git token grants full read/write access to the project and should be handled like a password.
  • The documented configuration is for Claude Desktop; the repository also names Cursor and Windsurf, but this recipe does not configure them.
Source-based practical guide

Configure named Overleaf projects

Set up a projects.json file so MCP tool calls can select among multiple Overleaf projects.

Before you start

  • The MCP server and an MCP client configuration
  • An Overleaf project ID and Git token for each project

Steps

  1. Create projects.json in the documented user configuration directory: %APPDATA%\overleaf-mcp\ on Windows or ~/.config/overleaf-mcp/ on macOS and Linux.

  2. Add a projects object containing named entries with each project’s name, projectId and gitToken; use the default key for the fallback project.

  3. Configure Claude Desktop to run the server without the single-project env block.

  4. In a tool call, supply the chosen entry as projectName; if omitted, the default entry is used.

Expected outcome

The server can address configured projects by name in tool calls.

Guide limitations

  • The README’s multi-project setup uses a local configuration file containing Git tokens; protect the file and credentials.
  • This recipe documents configuration and selection, not a successful connection test.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
20 November 2026
Original website title
mjyoo2/OverleafMCP · Official homepage title · retained in its source language