Skip to main content

Overleaf

io.github.yangzichao/mcp-server-overleaf

v0.6.2Updated Nov 25, 2026stdio · MCPBstdio · npm

Overleaf MCP server for Claude, Codex, ChatGPT & Cursor. Edit LaTeX via Git or as tracked changes.

Install

Needs 1 secret. Replace 2 placeholders with your own values.

Run in your terminal. Replace 2 placeholders.

claude mcp add mcp-server-overleaf -e 'OVERLEAF_GIT_TOKEN=<your-overleaf-git-token>' -e 'OVERLEAF_PROJECT_ID=<your-overleaf-project-id>' -- npx -y [email protected]

The registry lists extra launch arguments or environment variables for this server that could change what runs. They are left out here; check its repository before adding any.

Configuration

4 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • OVERLEAF_GIT_TOKEN
    Env var· required· secret
    Overleaf Git authentication token, from https://www.overleaf.com/user/settings under Git integration.
  • OVERLEAF_PROJECT_ID
    Env var· required
    The project to open: its 24-character id, or the Overleaf address bar URL that contains it.
  • OVERLEAF_SESSION_COOKIE
    Env var· optional· secret
    Optional. An Overleaf browser session cookie, which turns on the tracked-changes tools: suggest an edit, read the review panel, leave a comment.
  • transport
    Argument· optional
    Serve on stdio, which is the transport a local client starts.

Listed in the official MCP Registry since Nov 25, 2026. Mirrored daily; last checked Nov 26, 2026.