olcli

io.github.aloth/olcli

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "olcli": {
      "command": "npx",
      "args": [
        "-y",
        "@aloth/olcli@0.16.1"
      ],
      "env": {
        "OVERLEAF_SESSION": "<your OVERLEAF_SESSION>",
        "OVERLEAF_BASE_URL": "https://www.overleaf.com",
        "OVERLEAF_COOKIE_NAME": "overleaf_session2"
      }
    }
  }
}
Environment variables
  • OVERLEAF_SESSIONrequiredsecretOverleaf session cookie value (overleaf_session2 on overleaf.com)
  • OVERLEAF_BASE_URLBase URL of a self-hosted Overleaf instance
  • OVERLEAF_COOKIE_NAMESession cookie name, for self-hosted instances that use overleaf.sid

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.16.1
Registry
active
Published
11/7/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that olcli is listed here — it’s also the link we check for a free listing.

olcli — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-aloth-olcli?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="olcli — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![olcli — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-aloth-olcli?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.