O

Overleaf

MCP server · by yangzichao

Developer Tools npmmcpb v0.3.9

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

View source ↗ Website ↗ Generate config for multiple servers More servers

Install

registry version 0.3.9

npm
npx -y mcp-server-overleaf
mcpb
https://github.com/yangzichao/mcp-server-overleaf/releases/download/v0.3.9/mcp-server-overleaf-0.3.9.mcpb

Setup by client

Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.

claude_desktop_config.json

{
  "mcpServers": {
    "mcp-server-overleaf": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-overleaf"
      ],
      "env": {
        "OVERLEAF_GIT_TOKEN": "<YOUR_OVERLEAF_GIT_TOKEN>",
        "OVERLEAF_PROJECT_ID": "<YOUR_OVERLEAF_PROJECT_ID>",
        "OVERLEAF_SESSION_COOKIE": "<YOUR_OVERLEAF_SESSION_COOKIE>"
      }
    }
  }
}

Format verified against the official Claude Desktop docs ↗.

Environment variables

Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.

  • 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 secret — Optional. An Overleaf browser session cookie, which turns on the tracked-changes tools: suggest an edit, read the review panel, leave a comment.

GitHub

最近更新于 33 天前 · MIT license

About this server

Overleaf MCP Server — Safe AI Editing for LaTeX Papers Connect Claude Code, Claude Desktop, Codex, ChatGPT, Cursor, VS Code, or any MCP client to Overleaf. Read, search, edit, compile, and review real LaTeX projects without copy pasting your paper into a chat window. Edits stay in a local clone unti…

Summary from the project README — github.com/yangzichao/mcp-server-overleaf

Distributed as npm, mcpb, listed under Developer Tools. Review our MCP security guide before granting access to real data.

Frequently asked questions

What does the Overleaf MCP server do?

Overleaf MCP Server — Safe AI Editing for LaTeX Papers Connect Claude Code, Claude Desktop, Codex, ChatGPT, Cursor, VS Code, or any MCP client to Overleaf. Read, search, edit, compile, and review real LaTeX projects without copy pasting your paper into a chat window. Edits stay in a local clone unti

How do I install Overleaf?

Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.

Is Overleaf free to use?

The MCP server itself is free to install. The source is public on https://github.com/yangzichao/mcp-server-overleaf. Any third-party service it calls may require its own API key and account.

Which clients support Overleaf?

Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.

Add this badge

Publish this server? Link back with a badge on your README or site — copy either snippet.

Listed on MCPNav

Markdown

[![Listed on MCPNav](https://mcpnav.net/badge/mcp-server-overleaf.svg)](https://mcpnav.net/server/mcp-server-overleaf/)

HTML

<a href="https://mcpnav.net/server/mcp-server-overleaf/"><img src="https://mcpnav.net/badge/mcp-server-overleaf.svg" alt="Listed on MCPNav" height="20"></a>