Prototype · Preview: every server in the official registry, synced every 30 minutes. Reviews and accounts come in a later step.
PopNx MCPMCP servers for people who use AI · explained in plain words

olcli

by alothversion 0.15.3i★ –iRuns on your computer
Registry nameio.github.aloth/olcli

Install

Overview

Description from the maker (original English)

Overleaf projects from an MCP client: files, compile and PDF, diff, comments and tracked changes

PopNx MCP’s three pillars

These three are never merged into one score: opinions, measurements and popularity are different things.

What you can do with it

We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.

  • Connection: Runs on your computer
  • Transport: stdio
  • Category: Docs, sheets & office work
  • You need to fill in: OVERLEAF_SESSION

Install

Pick the AI app you use, then copy the settings.

Before you install

  • Basic checks: 1 of 1 passed
  • Runs on your computer with your user’s permissions (files, network, apps).
  • You fill in yourself: OVERLEAF_SESSION, OVERLEAF_BASE_URL, OVERLEAF_COOKIE_NAME

Values marked secret are keys to your account. Never share them or paste them into a chat.

You need

  • npmNode.js installed (for the npx command)

Which app do you use?

Pick your app above. We remember it, so next time the button says “Install in …”.

Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json

{
  "mcpServers": {
    "olcli": {
      "command": "npx",
      "args": [
        "-y",
        "@aloth/olcli",
        "olcli-mcp"
      ],
      "env": {
        "OVERLEAF_SESSION": "your-value",
        "OVERLEAF_BASE_URL": "your-value",
        "OVERLEAF_COOKIE_NAME": "your-value"
      }
    }
  }
}

Run this in your terminal

claude mcp add olcli --env OVERLEAF_SESSION=your-value --env OVERLEAF_BASE_URL=your-value --env OVERLEAF_COOKIE_NAME=your-value -- npx -y @aloth/olcli olcli-mcp

Fill in the empty values before running it.

Open in Cursor

Or copy the settings yourself

Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json

{
  "mcpServers": {
    "olcli": {
      "command": "npx",
      "args": [
        "-y",
        "@aloth/olcli",
        "olcli-mcp"
      ],
      "env": {
        "OVERLEAF_SESSION": "your-value",
        "OVERLEAF_BASE_URL": "your-value",
        "OVERLEAF_COOKIE_NAME": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

Open in VS Code

Or copy the settings yourself

Paste into .vscode/mcp.json in your project

{
  "servers": {
    "olcli": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@aloth/olcli",
        "olcli-mcp"
      ],
      "env": {
        "OVERLEAF_SESSION": "your-value",
        "OVERLEAF_BASE_URL": "your-value",
        "OVERLEAF_COOKIE_NAME": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.

Your choice stays on this device in a cookie; no account needed.

Values you fill in

  • OVERLEAF_SESSION secret required env
    Overleaf session cookie value (overleaf_session2 on overleaf.com)
  • OVERLEAF_BASE_URL env
    Base URL of a self-hosted Overleaf instance
  • OVERLEAF_COOKIE_NAME env
    Session cookie name, for self-hosted instances that use overleaf.sid

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 6, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account aloth, which owns the repo

  • … Not checked yet

    Still maintained

    We have not read this repo from GitHub yet

  • … Not checked yet

    Has a licence

    We have not read this repo from GitHub yet

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Compared with others in Docs, sheets & office worki

  • More stars than 0% of the other 2167 servers in this category
  • Published to the registry more recently than 87% of the other 2167 servers in this category
  • Basic checks equal to or better than 100% of the other 2167 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is olcli safe?

It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: OVERLEAF_SESSION

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed –, and the latest version (0.15.3) reached the registry 3 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Agent-Native Calendar, Excel MCP Server, MCP Server for Excel

Alternatives

Servers in the same category from other makers, sorted by stars.

Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Agent-Native Google Calendar - manage events, sync, and public booking

Runs in the cloud★ 7,620MITUpdated 2 months ago
Install

Excel MCP Server

by haris-musa

Lets AI create and edit Excel files itself, including formulas, charts and PivotTables, without Excel installed.

Runs on your computer★ 4,276MITUpdated 5 days ago
Install

Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.

Runs on your computer★ 847MITUpdated 3 days ago
Install

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

olcli — Overleaf CLI

Command-line interface for Overleaf — Sync, manage, and compile LaTeX projects from your terminal.

Work with Overleaf projects directly from your command line. Edit locally with your favorite editor, version control with Git, and sync seamlessly with Overleaf's cloud compilation.

Features

  • 📋 List all your Overleaf projects
  • ✨ Create blank or example projects
  • ⬇️ Pull project files to local directory for offline editing
  • ⬆️ Push local changes back to Overleaf
  • 🔄 Sync bidirectionally with smart conflict detection
  • 🔍 Diff local files against the live remote before pushing
  • 📝 Marked-up revisions — diff --latexdiff produces the struck-through/underlined PDF advisors and journals ask for
  • 🔀 Git remote — use Overleaf as a native git remote (docs)
  • ✌️ Two-way deletions — files removed locally are deleted on Overleaf on next sync
  • 🗑️ Delete and ✏️ rename remote files by path
  • 🚫 Smart ignore — LaTeX build artifacts and OS noise filtered automatically; extend with .olignore
  • 📄 Compile PDFs using Overleaf's remote compiler
  • 📦 Download individual files or full project archives
  • 📤 Upload files to projects
  • 💬 Review comments — list, add, resolve, reopen, delete, and reply to threads
  • 🗂️ Preserve folder structure when pushing nested files
  • ⏱️ Configurable timeout for slow connections
  • 🔑 Password login for self-hosted instances (no browser required)
  • ⚙️ Self-hosted Overleaf/ShareLaTeX support
  • 📊 Output compile artifacts (.bbl, .log, .aux for arXiv submissions)
  • 🤖 MCP server for AI assistants (docs)

Perfect for:

  • Editing LaTeX in your preferred text editor (Vim, VS Code, Emacs, etc.)
  • Version control with Git while using Overleaf's compiler
  • Automating workflows and CI/CD pipelines
  • Offline work with periodic sync

Installation

Homebrew (macOS/Linux)
brew tap aloth/tap

brew install olcli

npm (all platforms)
npm install -g @aloth/olcli

Or use with npx without installation:

npx @aloth/olcli list
For AI agents (via AgentSkills)
npx skills add aloth/olcli

Quick Start

1. Authenticate

Session cookie (overleaf.com and self-hosted):

olcli auth --cookie "your_session_cookie_value"

Email/password (self-hosted without reCAPTCHA):

olcli auth --email "you@example.com"

prompts for the password, so it stays out of your shell history

The password is not stored unless you pass --save-password. A session cookie is saved either way and is what later commands use; the password only buys an automatic re-login once that cookie expires. For scripts, set OVERLEAF_EMAIL and OVERLEAF_PASSWORD — every command reads them, so a scripted run never needs olcli auth at all.

2. List Projects
olcli list
3. Pull, Edit, Push
olcli pull "My Thesis"

cd My_Thesis/ vim main.tex olcli push

4. Compile PDF
olcli pdf

Compile a specific .tex file (for multi-doc projects):

olcli pdf -r appendix.tex

5. Or use native git commands
git clone overleaf::https://www.overleaf.com/project/<id>

cd

edit, commit, push — standard git workflow

git push

See Git Remote Helper docs for details.

Commands

All commands auto-detect the project when run from a synced directory (contains .olcli.json).

CommandDescription
olcli authSet session cookie or login with email/password
olcli whoamiCheck authentication status
olcli logoutClear the global config and the local .olauth, reporting each
olcli listList all projects
olcli info [project]Show project details and file list
olcli pull [project] [dir]Download project files to local directory
olcli push [dir]Upload local changes to Overleaf (--delete also removes files deleted locally)
olcli sync [dir]Bidirectional sync (pull + push)
olcli diff [project] [dir]Show content-level changes between local files and the remote
olcli upload [project]Upload a single file (--to sets the remote destination)
olcli download [project]Download a single file
olcli delete [project]Delete a remote file or folder (alias: rm)
olcli rename [project]Rename or move a remote file or folder (alias: mv); with a folder part moves, a trailing / moves and keeps the name
olcli project create Create a blank or example project (`--template blank\example`)
olcli project rename [project]Rename the project itself (--dry-run)
olcli project rename-bulkRename many projects by pattern (dry-run unless --apply)
olcli compile [project]Trigger PDF compilation
olcli pdf [project]Compile and download PDF
olcli output [type]Download compile output files
olcli zip [project]Download project as zip archive
olcli comments list [project]List comments (--status, --context, --concurrency); --changes also lists tracked changes (with --json the output becomes { comments, changes })
olcli changes accept Accept tracked changes by id (--project, --json)
olcli changes reject Reject tracked changes by id; preview only unless --yes (--project, --json)
olcli comments add Add a comment to selected text
olcli comments reply Reply to a comment thread
olcli comments resolve Resolve a comment thread
olcli comments reopen Reopen a resolved thread
olcli comments delete Delete a comment thread
olcli ignored [dir]List ignore patterns in effect
olcli config set-url Set self-hosted base URL
olcli config get-urlShow the configured base URL
olcli config set-cookie-name Set session cookie name
olcli config get-cookie-nameShow the configured session cookie name
olcli config set-timeout Set default HTTP timeout
olcli config get-timeoutShow the configured HTTP timeout
olcli checkShow config paths and credential sources

Tracked changes are an Overleaf premium feature. They are only available in projects whose owner has a premium plan; invited collaborators can then use them regardless of their own plan. In other projects there are no tracked changes, so --changes returns an empty list and changes accept/changes reject report the ids as not found. See the Overleaf documentation for details.

Compile Options

The compile-related commands (compile, pdf, output) accept:

FlagDescription
-r, --resource Compile a specific .tex file as the root document (e.g. appendix.tex, folder/test.tex)

Useful in multi-doc projects: each -r run compiles the file as if it were the main document.

Global Options
FlagDescription
--verbosePrint HTTP requests and responses to stderr
--base-url Override Overleaf instance URL
--cookie-name Override session cookie name
--timeout Override HTTP timeout (default: 10000)

Sync Behavior

Pull
  • Downloads all files from Overleaf
  • Skips local files modified after last pull (won't overwrite your changes)
  • Use --force to overwrite local changes
Push
  • Uploads files modified after last pull
  • Preserves nested folder structure
  • Filters out LaTeX build artifacts and OS noise
  • Use --all to upload all files, --dry-run to preview
Sync
  • Pulls remote changes, then pushes local changes
  • Local modifications win if newer
  • Propagates local deletions — use --no-delete to opt out
  • Use --dry-run to preview without applying
Diff

olcli diff compares the bytes of your local files against the project's current contents and prints a unified diff.

olcli diff                 # every changed file, as patches

olcli diff --name-only # just the changed paths olcli diff --file main.tex # one file olcli diff -U 8 # wider context olcli diff --exit-code # exit 1 if anything differs, for CI

The remote side is fetched fresh on every run. The diff describes the project as it is at that moment — which is what a subsequent push would overwrite — not a comparison against your last pull. .olcli.json records remote *paths*, never remote *contents*, so there is no stored snapshot to compare against; and the whole project arrives in a single request, the same one pull makes, so fetching fresh costs one round trip rather than one per file. A collaborator editing between diff and push can still change the outcome, which is why the fetch time is printed.

In the output, a/ is the remote and b/ is local: a + line is content push would upload, a - line is content it would overwrite. Files that differ only in bytes that are not text (PDFs, images) are reported as Binary files ... differ. Both sides pass through the same ignore layers, so build artifacts sitting on Overleaf are not reported as locally deleted.

diff --name-only and push --dry-run answer different questions and will disagree. push --dry-run lists files whose modification time is newer than the last pull, because that is what push uploads; diff lists files whose contents actually differ. A file you touched without editing appears in the first and not the second.

Marked-up revisions with latexdiff

A unified diff is the right artifact for a developer and the wrong one for a thesis advisor. --latexdiff marks the same revision up inside the document instead — deletions struck through, additions underlined — which is what advisors and journals ask for.

olcli diff --latexdiff          # write .olcli-diff/main-diff.tex

olcli diff --latexdiff --pdf # ...and compile it, download .olcli-diff/main-diff.pdf

Requires latexdiff on your PATH. It ships with TeX Live and MacTeX; nothing else in olcli diff needs an external tool.

`--pdf` compiles on Overleaf, so you do not need a local TeX installation. The compile endpoint can only build a file that is in the project, so the marked-up document is uploaded as olcli-latexdiff.tex next to your root document, compiled, downloaded, and then removed. The command says so before it does it, refuses to overwrite a file of that name if one already exists, and prints the exact olcli rm command if the cleanup itself fails.

\input and \include are inlined before comparing (--no-flatten to opt out). Without that, a remote compile would resolve those against the files sitting in the project — the old content — and quietly produce a PDF showing every input file as unchanged.

Output goes to .olcli-diff/, which is dotted so that push and sync never pick it up; -o puts it elsewhere. The root document is the .tex file d

Only the beginning is shown; read the rest in the repo

Ask PopNx