Koskamo

Overleaf Web MCP

An MCP server that allows AI agents to read, edit, compile, and review Overleaf LaTeX projects via a user's signed-in web session. It supports project management, file synchronization, tracked changes, and compilation without requiring Git integration or a premium plan.

Package and access

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

Overleaf Web MCP logo, by mhmdaskariCommunity listingLocal stdioSource reviewed; not executedPublished by mhmdaskari
You need:You need Node.js 20 or newer, a Chrome-family browser (Chrome, Chromium, Brave, or Edge), and an Overleaf account.
Vendor documentation

What you can do with it

  • Create, list, and manage Overleaf projects
  • Compile LaTeX documents and report errors
  • Review and reply to comment threads
  • Sync local folders with remote projects

Source and maintenance

Community listingRegistry 0.8.0
Maintenance checked

Packages and installation

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

overleaf-web-mcp 0.8.0

npmnpx
overleaf-web-mcp package definition
{
  "version": "0.8.0",
  "transport": "stdio",
  "identifier": "overleaf-web-mcp",
  "runtimeHint": "npx",
  "registryType": "npm",
  "registryBaseUrl": "https://registry.npmjs.org",
  "packageArguments": [
    {
      "type": "positional",
      "value": "serve",
      "description": "Run the MCP server over stdio. Sign in once first with `npx overleaf-web-mcp login`."
    }
  ],
  "environmentVariables": [
    {
      "name": "OVERLEAF_BASE_URL",
      "format": "string",
      "default": "https://www.overleaf.com",
      "description": "Overleaf origin to use, for a self-hosted instance. Use the same value for login and serve."
    },
    {
      "name": "OVERLEAF_COOKIE_JAR_FILE",
      "format": "filepath",
      "description": "Where the saved session is read from, if not the platform configuration directory."
    },
    {
      "name": "OVERLEAF_ALLOWED_PROJECTS",
      "format": "string",
      "description": "Comma-separated project ids the server may touch. Unset allows every project."
    },
    {
      "name": "OVERLEAF_LOCAL_READ_ROOTS",
      "format": "string",
      "description": "Absolute folders local reads must stay inside, separated by : (; on Windows). Unset allows any."
    },
    {
      "name": "OVERLEAF_LOCAL_WRITE_ROOTS",
      "format": "string",
      "description": "Absolute folders local writes must stay inside, separated by : (; on Windows). Unset allows any."
    },
    {
      "name": "OVERLEAF_ALLOWED_EFFECTS",
      "format": "string",
      "description": "Comma-separated kinds of change operations may make, such as overleaf-read. Unset allows all."
    }
  ]
}

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": {
    "overleaf-web-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "overleaf-web-mcp@0.8.0",
        "serve"
      ],
      "env": {
        "OVERLEAF_BASE_URL": "<YOUR_OVERLEAF_BASE_URL>",
        "OVERLEAF_COOKIE_JAR_FILE": "<YOUR_OVERLEAF_COOKIE_JAR_FILE>",
        "OVERLEAF_ALLOWED_PROJECTS": "<YOUR_OVERLEAF_ALLOWED_PROJECTS>",
        "OVERLEAF_LOCAL_READ_ROOTS": "<YOUR_OVERLEAF_LOCAL_READ_ROOTS>",
        "OVERLEAF_LOCAL_WRITE_ROOTS": "<YOUR_OVERLEAF_LOCAL_WRITE_ROOTS>",
        "OVERLEAF_ALLOWED_EFFECTS": "<YOUR_OVERLEAF_ALLOWED_EFFECTS>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "overleaf-web-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "overleaf-web-mcp@0.8.0",
        "serve"
      ],
      "env": {
        "OVERLEAF_BASE_URL": "<YOUR_OVERLEAF_BASE_URL>",
        "OVERLEAF_COOKIE_JAR_FILE": "<YOUR_OVERLEAF_COOKIE_JAR_FILE>",
        "OVERLEAF_ALLOWED_PROJECTS": "<YOUR_OVERLEAF_ALLOWED_PROJECTS>",
        "OVERLEAF_LOCAL_READ_ROOTS": "<YOUR_OVERLEAF_LOCAL_READ_ROOTS>",
        "OVERLEAF_LOCAL_WRITE_ROOTS": "<YOUR_OVERLEAF_LOCAL_WRITE_ROOTS>",
        "OVERLEAF_ALLOWED_EFFECTS": "<YOUR_OVERLEAF_ALLOWED_EFFECTS>"
      }
    }
  }
}

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": {
    "overleaf-web-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "overleaf-web-mcp@0.8.0",
        "serve"
      ],
      "env": {
        "OVERLEAF_BASE_URL": "<YOUR_OVERLEAF_BASE_URL>",
        "OVERLEAF_COOKIE_JAR_FILE": "<YOUR_OVERLEAF_COOKIE_JAR_FILE>",
        "OVERLEAF_ALLOWED_PROJECTS": "<YOUR_OVERLEAF_ALLOWED_PROJECTS>",
        "OVERLEAF_LOCAL_READ_ROOTS": "<YOUR_OVERLEAF_LOCAL_READ_ROOTS>",
        "OVERLEAF_LOCAL_WRITE_ROOTS": "<YOUR_OVERLEAF_LOCAL_WRITE_ROOTS>",
        "OVERLEAF_ALLOWED_EFFECTS": "<YOUR_OVERLEAF_ALLOWED_EFFECTS>"
      }
    }
  }
}

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": {
    "overleaf-web-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "overleaf-web-mcp@0.8.0",
        "serve"
      ],
      "env": {
        "OVERLEAF_BASE_URL": "<YOUR_OVERLEAF_BASE_URL>",
        "OVERLEAF_COOKIE_JAR_FILE": "<YOUR_OVERLEAF_COOKIE_JAR_FILE>",
        "OVERLEAF_ALLOWED_PROJECTS": "<YOUR_OVERLEAF_ALLOWED_PROJECTS>",
        "OVERLEAF_LOCAL_READ_ROOTS": "<YOUR_OVERLEAF_LOCAL_READ_ROOTS>",
        "OVERLEAF_LOCAL_WRITE_ROOTS": "<YOUR_OVERLEAF_LOCAL_WRITE_ROOTS>",
        "OVERLEAF_ALLOWED_EFFECTS": "<YOUR_OVERLEAF_ALLOWED_EFFECTS>"
      }
    }
  }
}

Let your agent find its tools

Find servers like Overleaf Web MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.