Skip to main content

Overleaf MCP Server

MCP server that lets compatible clients (e.g., Claude Desktop, Cursor, VS Code) interact with Overleaf projects via tools and resources.

Features

  • List projects and files.
  • Read files.
  • Safe, read-only mode.

Adjust to match your implementation.

Requirements

  • Python 3.10+
  • An Overleaf account (or session cookie)

Configure a client

Claude Desktop

Edit claude_desktop_config.json:

{
  "mcpServers": {
    "overleaf": {
      "command": "uv",
      "args": [
        "run",
        "mcp",
        "run",
        "/Volumes/Life/Python/Overleaf/overleaf_mcp/__main__.py"
      ],
      "env": {
        "PROJECT_ID": "<YOUR_PROJECT_ID>",
        "OVERLEAF_TOKEN": "<YOUR_OVERLEAF_TOKEN>"
      },
      "timeout": 120000
    }
  }
}

If you have a console script, set "command": "overleaf-mcp" and remove "args".

Cursor (settings.json)

{
  "mcpServers": {
    "overleaf": {
      "command": "uv",
      "args": [
        "run",
        "mcp",
        "run",
        "/Volumes/Life/Python/Overleaf/overleaf_mcp/__main__.py"
      ],
      "env": {
        "PROJECT_ID": "<YOUR_PROJECT_ID>",
        "OVERLEAF_TOKEN": "<YOUR_OVERLEAF_TOKEN>"
      }
    }
  }
}

VS Code MCP (.vscode/mcp.json)

{
  "servers": {
    "my-mcp-server-overleaf": {
      "type": "stdio",
      "command": "uv",
      "args": [
        "run",
        "mcp",
        "run",
        "/Volumes/Life/Python/Overleaf/overleaf_mcp/__main__.py"
      ],
      "env": {
        "PROJECT_ID": "<YOUR_PROJECT_ID>",
        "OVERLEAF_TOKEN": "<YOUR_OVERLEAF_TOKEN>"
      }
    }
  },
  "inputs": []
}

Tools

Metadata

Release files for overleaf 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for overleaf 0.1.0
File Size Uploaded Provenance
overleaf-0.1.0.tar.gz 3.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for overleaf 0.1.0
File Interpreter ABI Platform
overleaf-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.1 kB

Release files / overleaf-0.1.0.tar.gz

Download URL overleaf-0.1.0.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e3ea8e6e281029de6407da4848d556680be63939038a3760b021652c51d632ba
BLAKE2b-256 checksum
How to use checksums
c492bf517ed8193a50511ce993c906fc7a8e5a739704cfb0b447779c5b49ef1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.7

Release files / overleaf-0.1.0-py3-none-any.whl

Download URL overleaf-0.1.0-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ae37283f77c4c3ca783d8e4b173a8f3c3e59bd4baaa9428f38f9c3b482a54375
BLAKE2b-256 checksum
How to use checksums
d1078f4f90d3bc63dadf67b76f6c7a11da63b974f43e6cd2673f126a160635f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.7

Security for overleaf 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page