Overleaf

io.github.yangzichao/mcp-server-overleaf

Overleaf MCP server for Claude, Codex, ChatGPT, and Cursor with safe LaTeX editing and review.

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": {
    "mcp-server-overleaf": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-overleaf@0.3.9"
      ],
      "env": {
        "OVERLEAF_GIT_TOKEN": "<your OVERLEAF_GIT_TOKEN>",
        "OVERLEAF_PROJECT_ID": "<your OVERLEAF_PROJECT_ID>",
        "OVERLEAF_SESSION_COOKIE": "<your OVERLEAF_SESSION_COOKIE>"
      }
    }
  }
}
Environment variables
  • OVERLEAF_GIT_TOKENrequiredsecretOverleaf Git authentication token, from https://www.overleaf.com/user/settings under Git integration.
  • OVERLEAF_PROJECT_IDrequiredThe project to open: its 24-character id, or the Overleaf address bar URL that contains it.
  • OVERLEAF_SESSION_COOKIEsecretOptional. An Overleaf browser session cookie, which turns on the tracked-changes tools: suggest an edit, read the review panel, leave a comment.

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

Category
Developer Tools
Version
0.3.9
Registry
active
Published
10/15/2026
Browse all Developer Tools →

Add the badge to your site

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

Overleaf — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-yangzichao-mcp-server-overleaf?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Overleaf — 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

[![Overleaf — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-yangzichao-mcp-server-overleaf?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.