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

Uploaded Python 3

File details

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

File metadata

  • Download URL: overleaf_mcp-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 cde6158860962be553efe3ea7a73af6cfdce419fef5ec33153f5bb0eabdb8bcc
MD5 e3343421fc3e9d2e398f9610c2e66b12
BLAKE2b-256 9a0645b1eca283e338980cde2df7012237f5887116a6d118f4d0916e3434c9ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for overleaf_mcp-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7abeb9fd7ce6545c373addd9dd48b1841c28b82cc5945d60d1ea53f466cffc64
MD5 0aad255062e5af0096fd8b9f90bc9904
BLAKE2b-256 aaaca4b89b8c2dadbab43a79460f69a27d53a63f863b9ae34fba48e1fa39d1bf

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