NestDaddy

Overleaf

io.github.yangzichao/mcp-server-overleaf · v0.3.9

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

Connect Runs on your machine

Terminal
claude mcp add mcp-server-overleaf -e OVERLEAF_GIT_TOKEN=<OVERLEAF_GIT_TOKEN> -e OVERLEAF_PROJECT_ID=<OVERLEAF_PROJECT_ID> -e OVERLEAF_SESSION_COOKIE=<OVERLEAF_SESSION_COOKIE> -- npx -y [email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-server-overleaf": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "OVERLEAF_GIT_TOKEN": "<OVERLEAF_GIT_TOKEN>",
        "OVERLEAF_PROJECT_ID": "<OVERLEAF_PROJECT_ID>",
        "OVERLEAF_SESSION_COOKIE": "<OVERLEAF_SESSION_COOKIE>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-server-overleaf": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "OVERLEAF_GIT_TOKEN": "<OVERLEAF_GIT_TOKEN>",
        "OVERLEAF_PROJECT_ID": "<OVERLEAF_PROJECT_ID>",
        "OVERLEAF_SESSION_COOKIE": "<OVERLEAF_SESSION_COOKIE>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "mcp-server-overleaf": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "OVERLEAF_GIT_TOKEN": "<OVERLEAF_GIT_TOKEN>",
        "OVERLEAF_PROJECT_ID": "<OVERLEAF_PROJECT_ID>",
        "OVERLEAF_SESSION_COOKIE": "<OVERLEAF_SESSION_COOKIE>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
OVERLEAF_GIT_TOKEN
Required, secret
Overleaf Git authentication token, from https://www.overleaf.com/user/settings under Git integration.
OVERLEAF_PROJECT_ID
Required
The project to open: its 24-character id, or the Overleaf address bar URL that contains it.
OVERLEAF_SESSION_COOKIE
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.

Details

Package[email protected] (NPM, stdio)
Packagehttps://github.com/yangzichao/mcp-server-overleaf/releases/download/v0.3.9/mcp-server-overleaf-0.3.9.mcpb (MCPB, stdio)
First published15 Oct 2026
Last updated15 Oct 2026
Registry nameio.github.yangzichao/mcp-server-overleaf

More other servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.