Koskamo

mcp-server-overleaf

A conflict-safe Overleaf MCP server for Claude, Codex, ChatGPT, and Cursor. It allows agents to read, search, edit, compile, sync, and review LaTeX papers with tracked changes. Edits stay in a local clone until explicitly published, and the server checks for collaborator changes before pushing to prevent conflicts.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

mcp-server-overleaf logo, by yangzichaoCommunity listingLocal stdioSource reviewed; not executedPublished by yangzichao
Vendor documentation

What you can do with it

  • Read, search, and edit LaTeX papers by section or exact text
  • Compile LaTeX projects locally and inspect diffs
  • Publish changes to Overleaf with conflict detection
  • Send edits as tracked-change suggestions for co-authors

Source and maintenance

Community listingRegistry 0.3.9
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

mcp-server-overleaf 0.3.9

npmnpx
mcp-server-overleaf package definition
{
  "version": "0.3.9",
  "transport": "stdio",
  "identifier": "mcp-server-overleaf",
  "runtimeHint": "npx",
  "registryType": "npm",
  "registryBaseUrl": "https://registry.npmjs.org",
  "packageArguments": [
    {
      "type": "positional",
      "value": "--stdio",
      "valueHint": "transport",
      "description": "Serve on stdio, which is the transport a local client starts."
    }
  ],
  "environmentVariables": [
    {
      "name": "OVERLEAF_GIT_TOKEN",
      "isRequired": true,
      "description": "Overleaf Git authentication token, from https://www.overleaf.com/user/settings under Git integration."
    },
    {
      "name": "OVERLEAF_PROJECT_ID",
      "isRequired": true,
      "description": "The project to open: its 24-character id, or the Overleaf address bar URL that contains it."
    },
    {
      "name": "OVERLEAF_SESSION_COOKIE",
      "description": "Optional. An Overleaf browser session cookie, which turns on the tracked-changes tools: suggest an edit, read the review panel, leave a comment."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "mcp-server-overleaf": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-overleaf@0.3.9",
        "--stdio"
      ],
      "env": {
        "OVERLEAF_GIT_TOKEN": "<YOUR_OVERLEAF_GIT_TOKEN>",
        "OVERLEAF_PROJECT_ID": "<YOUR_OVERLEAF_PROJECT_ID>",
        "OVERLEAF_SESSION_COOKIE": "<YOUR_OVERLEAF_SESSION_COOKIE>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "mcp-server-overleaf": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-overleaf@0.3.9",
        "--stdio"
      ],
      "env": {
        "OVERLEAF_GIT_TOKEN": "<YOUR_OVERLEAF_GIT_TOKEN>",
        "OVERLEAF_PROJECT_ID": "<YOUR_OVERLEAF_PROJECT_ID>",
        "OVERLEAF_SESSION_COOKIE": "<YOUR_OVERLEAF_SESSION_COOKIE>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "mcp-server-overleaf": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-overleaf@0.3.9",
        "--stdio"
      ],
      "env": {
        "OVERLEAF_GIT_TOKEN": "<YOUR_OVERLEAF_GIT_TOKEN>",
        "OVERLEAF_PROJECT_ID": "<YOUR_OVERLEAF_PROJECT_ID>",
        "OVERLEAF_SESSION_COOKIE": "<YOUR_OVERLEAF_SESSION_COOKIE>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "mcp-server-overleaf": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-overleaf@0.3.9",
        "--stdio"
      ],
      "env": {
        "OVERLEAF_GIT_TOKEN": "<YOUR_OVERLEAF_GIT_TOKEN>",
        "OVERLEAF_PROJECT_ID": "<YOUR_OVERLEAF_PROJECT_ID>",
        "OVERLEAF_SESSION_COOKIE": "<YOUR_OVERLEAF_SESSION_COOKIE>"
      }
    }
  }
}

Let your agent find its tools

Find servers like mcp-server-overleaf from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.