Skip to main content

Add your description here

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

overleaf-0.1.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

overleaf-0.1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file overleaf-0.1.0.tar.gz.

File metadata

  • Download URL: overleaf-0.1.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.7

File hashes

Hashes for overleaf-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e3ea8e6e281029de6407da4848d556680be63939038a3760b021652c51d632ba
MD5 85f1fdd119cbdeb472c0ed6033062f54
BLAKE2b-256 c492bf517ed8193a50511ce993c906fc7a8e5a739704cfb0b447779c5b49ef1d

See more details on using hashes here.

File details

Details for the file overleaf-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: overleaf-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.7

File hashes

Hashes for overleaf-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ae37283f77c4c3ca783d8e4b173a8f3c3e59bd4baaa9428f38f9c3b482a54375
MD5 b0c7ffa4b009f1caa52fab71d61086f1
BLAKE2b-256 d1078f4f90d3bc63dadf67b76f6c7a11da63b974f43e6cd2673f126a160635f4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page