Overleaf

MCP Server for Overleaf
  • python

0

GitHub Stars

python

Language

7 months ago

First Indexed

3 months 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
{
  "mcpServers": {
    "m-h-amini-overleaf-mcp-server": {
      "command": "uvx",
      "args": [
        "overleaf-mcp"
      ],
      "env": {
        "PROJECT_ID": "<YOUR_PROJECT_ID>",
        "OVERLEAF_TOKEN": "<YOUR_OVERLEAF_TOKEN>"
      }
    }
  }
}

The Overleaf MCP Server lets compatible clients access Overleaf projects through a lightweight, read-only interface. It supports listing projects and files and reading file contents, enabling safe exploration without modifying your work.

How to use

You interact with this MCP server through supported clients (for example Claude Desktop, Cursor, or VS Code) by configuring the client to connect to the local MCP runtime. The server exposes two core capabilities: list all projects and files in your Overleaf workspace, and read the contents of a selected file. It operates in a safe, read-only mode by default, ensuring your projects remain unchanged while you explore and retrieve data.

How to install

Prerequisites you need before using the Overleaf MCP Server:

• Python 3.10 or newer installed on your system.

• Access to an Overleaf account or a valid session cookie to authorize requests.

Install and run steps (concrete flow you can follow):

  1. Ensure the MCP runtime is available on your system. The server is launched under the MCP runtime using the stdio connection pattern.

  2. Start the MCP server in stdio mode with the runtime command and the appropriate argument for the Overleaf MCP entry point. The typical startup pattern is to run the launcher with the specific MCP module name, for example: uvx overleaf-mcp

  3. Configure a client to connect to this local MCP server by editing the client configuration to point at the stdio server. See the client-specific configuration blocks below for exact JSON keys and values you should set.

Overleaf MCP client configurations

The following client configurations connect to the Overleaf MCP Server in stdio mode. Each snippet shows the required fields you must include in your client settings.

Other important notes

  • The server operates in read-only mode to safeguard Overleaf projects during exploration.

  • You must provide a valid Overleaf project identifier and token (or session cookie) to authorize access from the MCP server.

Available tools

list_of_files

List all files in the project that you have access to via the MCP server.

read_file

Read the contents of a specified file within the Overleaf project through the MCP interface.

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