Skip to content
Cursor

Overleaf for Cursor

io.github.yangzichao/mcp-server-overleaf

Read and edit Overleaf papers from any AI client. Edits can arrive as tracked-change suggestions.

client:Cursor transport:stdio runtime:npm

Install Overleaf in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

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

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

Overleaf in other clients