Skip to main content

MCP server for Overleaf projects

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_mcp-0.1.4.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_mcp-0.1.4-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file overleaf_mcp-0.1.4.tar.gz.

File metadata

  • Download URL: overleaf_mcp-0.1.4.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_mcp-0.1.4.tar.gz
Algorithm Hash digest
SHA256 a78ebff3736a89cbeab9354a8fa77ab02759ccd7d9b8336632a9d6ecd38b6dab
MD5 80fbbee44fe8c5e406135e19e8115f63
BLAKE2b-256 b45192b8116a16148d94bd96d373b1154855347dbacf30581208c57e4a4fbb0c

See more details on using hashes here.

File details

Details for the file overleaf_mcp-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for overleaf_mcp-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6daf24ab8ccdebc3f3c25a213220579e8f46719a28058404283cdc155bfa7feb
MD5 d3df125ae401adcf2663fc17a5d4359c
BLAKE2b-256 5a2a612898ba63fc308aab50cbbe186ebbaf63bff63b511f575c45d33bb38b57

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